public class CAMetalLayer extends CALayer
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CAMetalLayer(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static CAMetalLayer |
alloc() |
static CAMetalLayer |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
boolean |
allowsNextDrawableTimeout()
Controls if `-nextDrawable' is allowed to timeout after 1 second and return
nil if * the system does not have a free drawable available.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CGColorSpaceRef |
colorspace()
The colorspace of the rendered frames.
|
static double |
cornerCurveExpansionFactor(java.lang.String curve) |
static java.lang.String |
debugDescription_static() |
static CAAction |
defaultActionForKey(java.lang.String event) |
static java.lang.Object |
defaultValueForKey(java.lang.String key) |
static java.lang.String |
description_static() |
MTLDevice |
device()
This property determines which MTLDevice the MTLTexture objects for
the drawables will be created from.
|
CGSize |
drawableSize()
This property controls the pixel dimensions of the returned drawable
objects.
|
boolean |
framebufferOnly()
This property controls whether or not the returned drawables'
MTLTextures may only be used for framebuffer attachments (YES) or
whether they may also be used for texture sampling and pixel
read/write operations (NO).
|
static long |
hash_static() |
CAMetalLayer |
init()
The designated initializer.
|
CAMetalLayer |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
CAMetalLayer |
initWithLayer(java.lang.Object layer)
This initializer is used by CoreAnimation to create shadow copies of
layers, e.g.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CAMetalLayer |
layer() |
long |
maximumDrawableCount()
Controls the number maximum number of drawables in the swap queue.
|
static boolean |
needsDisplayForKey(java.lang.String key) |
static CAMetalLayer |
new_objc() |
CAMetalDrawable |
nextDrawable()
Get the swap queue's next available drawable.
|
long |
pixelFormat()
This property controls the pixel format of the MTLTexture objects.
|
MTLDevice |
preferredDevice()
This property returns the preferred MTLDevice for this CAMetalLayer.
|
boolean |
presentsWithTransaction()
When false (the default value) changes to the layer's render buffer
appear on-screen asynchronously to normal layer updates.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setAllowsNextDrawableTimeout(boolean value)
Controls if `-nextDrawable' is allowed to timeout after 1 second and return
nil if * the system does not have a free drawable available.
|
void |
setColorspace(CGColorSpaceRef value)
The colorspace of the rendered frames.
|
void |
setDevice(MTLDevice value)
This property determines which MTLDevice the MTLTexture objects for
the drawables will be created from.
|
void |
setDrawableSize(CGSize value)
This property controls the pixel dimensions of the returned drawable
objects.
|
void |
setFramebufferOnly(boolean value)
This property controls whether or not the returned drawables'
MTLTextures may only be used for framebuffer attachments (YES) or
whether they may also be used for texture sampling and pixel
read/write operations (NO).
|
void |
setMaximumDrawableCount(long value)
Controls the number maximum number of drawables in the swap queue.
|
void |
setPixelFormat(long value)
This property controls the pixel format of the MTLTexture objects.
|
void |
setPresentsWithTransaction(boolean value)
When false (the default value) changes to the layer's render buffer
appear on-screen asynchronously to normal layer updates.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
static long |
version_static() |
actionForKey, actions, addAnimationForKey, addSublayer, affineTransform, allowsEdgeAntialiasing, allowsGroupOpacity, anchorPoint, anchorPointZ, animationForKey, animationKeys, autoreverses, backgroundColor, backgroundFilters, beginTime, borderColor, borderWidth, bounds, compositingFilter, containsPoint, contents, contentsAreFlipped, contentsCenter, contentsFormat, contentsGravity, contentsRect, contentsScale, convertPointFromLayer, convertPointToLayer, convertRectFromLayer, convertRectToLayer, convertTimeFromLayer, convertTimeToLayer, cornerCurve, cornerRadius, delegate, display, displayIfNeeded, drawInContext, drawsAsynchronously, duration, edgeAntialiasingMask, encodeWithCoder, fillMode, filters, frame, hitTest, insertSublayerAbove, insertSublayerAtIndex, insertSublayerBelow, isDoubleSided, isGeometryFlipped, isHidden, isOpaque, layoutIfNeeded, layoutSublayers, magnificationFilter, mask, maskedCorners, masksToBounds, minificationFilter, minificationFilterBias, modelLayer, name, needsDisplay, needsDisplayOnBoundsChange, needsLayout, opacity, position, preferredFrameSize, presentationLayer, rasterizationScale, removeAllAnimations, removeAnimationForKey, removeFromSuperlayer, renderInContext, repeatCount, repeatDuration, replaceSublayerWith, scrollPoint, scrollRectToVisible, setActions, setAffineTransform, setAllowsEdgeAntialiasing, setAllowsGroupOpacity, setAnchorPoint, setAnchorPointZ, setAutoreverses, setBackgroundColor, setBackgroundFilters, setBeginTime, setBorderColor, setBorderWidth, setBounds, setCompositingFilter, setContents, setContentsCenter, setContentsFormat, setContentsGravity, setContentsRect, setContentsScale, setCornerCurve, setCornerRadius, setDelegate_unsafe, setDelegate, setDoubleSided, setDrawsAsynchronously, setDuration, setEdgeAntialiasingMask, setFillMode, setFilters, setFrame, setGeometryFlipped, setHidden, setMagnificationFilter, setMask, setMaskedCorners, setMasksToBounds, setMinificationFilter, setMinificationFilterBias, setName, setNeedsDisplay, setNeedsDisplayInRect, setNeedsDisplayOnBoundsChange, setNeedsLayout, setOpacity, setOpaque, setPosition, setRasterizationScale, setRepeatCount, setRepeatDuration, setShadowColor, setShadowOffset, setShadowOpacity, setShadowPath, setShadowRadius, setShouldRasterize, setSpeed, setStyle, setSublayers, setSublayerTransform, setTimeOffset, setTransform, setZPosition, shadowColor, shadowOffset, shadowOpacity, shadowPath, shadowRadius, shouldArchiveValueForKey, shouldRasterize, speed, style, sublayers, sublayerTransform, superlayer, timeOffset, transform, visibleRect, zPositionaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CAMetalLayer alloc()
public static CAMetalLayer allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static CAAction defaultActionForKey(java.lang.String event)
public static java.lang.Object defaultValueForKey(java.lang.String key)
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CAMetalLayer layer()
public static boolean needsDisplayForKey(java.lang.String key)
public static CAMetalLayer new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public MTLDevice device()
public CGSize drawableSize()
public boolean framebufferOnly()
public CAMetalLayer init()
CALayerpublic CAMetalLayer initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class CALayerpublic CAMetalLayer initWithLayer(java.lang.Object layer)
CALayerinitWithLayer in class CALayerpublic CAMetalDrawable nextDrawable()
public long pixelFormat()
public boolean presentsWithTransaction()
public void setDevice(MTLDevice value)
public void setDrawableSize(CGSize value)
public void setFramebufferOnly(boolean value)
public void setPixelFormat(long value)
public void setPresentsWithTransaction(boolean value)
public boolean allowsNextDrawableTimeout()
public void setAllowsNextDrawableTimeout(boolean value)
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class CALayerpublic CGColorSpaceRef colorspace()
public static double cornerCurveExpansionFactor(java.lang.String curve)
public long maximumDrawableCount()
public MTLDevice preferredDevice()
public void setColorspace(CGColorSpaceRef value)
public void setMaximumDrawableCount(long value)