Package apple.metal
Class MTLRenderPassDescriptor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.metal.MTLRenderPassDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMTLRenderPassDescriptor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static MTLRenderPassDescriptoralloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(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.ClassclassForKeyedUnarchiver()MTLRenderPassColorAttachmentDescriptorArraycolorAttachments()java.lang.ObjectcopyWithZone(org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()longdefaultRasterSampleCount()[@property] defaultRasterSampleCount: The raster sample count for the render pass when no attachments are given.MTLRenderPassDepthAttachmentDescriptordepthAttachment()static java.lang.Stringdescription_static()longgetSamplePositionsCount(MTLSamplePosition positions, long count)getSamplePositions:count: Retrieve the previously configured custom sample positions.static longhash_static()longimageblockSampleLength()[@property] imageblockSampleLength: The per sample size in bytes of the largest explicit imageblock layout in the renderPass.MTLRenderPassDescriptorinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static java.lang.Objectnew_objc()MTLRasterizationRateMaprasterizationRateMap()[@property] rasterizationRateMap The variable rasterization rate map to use when rendering this pass, or nil to not use variable rasterization rate.static MTLRenderPassDescriptorrenderPassDescriptor()renderPassDescriptor Create an autoreleased default frame buffer descriptorlongrenderTargetArrayLength()[@property] renderTargetArrayLength: The number of active layerslongrenderTargetHeight()[@property] renderTargetHeight: The height in pixels to constrain the render target to.longrenderTargetWidth()[@property] renderTargetWidth: The width in pixels to constrain the render target to.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)MTLRenderPassSampleBufferAttachmentDescriptorArraysampleBufferAttachments()[@property] sampleBufferAttachments An array of sample buffers and associated sample indices.voidsetDefaultRasterSampleCount(long value)[@property] defaultRasterSampleCount: The raster sample count for the render pass when no attachments are given.voidsetDepthAttachment(MTLRenderPassDepthAttachmentDescriptor value)voidsetImageblockSampleLength(long value)[@property] imageblockSampleLength: The per sample size in bytes of the largest explicit imageblock layout in the renderPass.voidsetRasterizationRateMap(MTLRasterizationRateMap value)[@property] rasterizationRateMap The variable rasterization rate map to use when rendering this pass, or nil to not use variable rasterization rate.voidsetRenderTargetArrayLength(long value)[@property] renderTargetArrayLength: The number of active layersvoidsetRenderTargetHeight(long value)[@property] renderTargetHeight: The height in pixels to constrain the render target to.voidsetRenderTargetWidth(long value)[@property] renderTargetWidth: The width in pixels to constrain the render target to.voidsetSamplePositionsCount(MTLSamplePosition positions, long count)setSamplePositions:count: Configure the custom sample positions, to be used in MSAA rendering (i.e. when sample count > 1).voidsetStencilAttachment(MTLRenderPassStencilAttachmentDescriptor value)voidsetThreadgroupMemoryLength(long value)[@property] threadgroupMemoryLength: The per tile size in bytes of the persistent threadgroup memory allocation.voidsetTileHeight(long value)[@property] tileHeight: The height in pixels of the tile.voidsetTileWidth(long value)[@property] tileWidth: The width in pixels of the tile.static voidsetVersion_static(long aVersion)voidsetVisibilityResultBuffer(MTLBuffer value)[@property] visibilityResultBuffer: Buffer into which samples passing the depth and stencil tests are counted.MTLRenderPassStencilAttachmentDescriptorstencilAttachment()static org.moe.natj.objc.Classsuperclass_static()longthreadgroupMemoryLength()[@property] threadgroupMemoryLength: The per tile size in bytes of the persistent threadgroup memory allocation.longtileHeight()[@property] tileHeight: The height in pixels of the tile.longtileWidth()[@property] tileWidth: The width in pixels of the tile.static longversion_static()MTLBuffervisibilityResultBuffer()[@property] visibilityResultBuffer: Buffer into which samples passing the depth and stencil tests are counted.-
Methods inherited from class apple.NSObject
accessibilityActivate, 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, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MTLRenderPassDescriptor alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
new_objc
public static java.lang.Object new_objc()
-
renderPassDescriptor
public static MTLRenderPassDescriptor renderPassDescriptor()
renderPassDescriptor Create an autoreleased default frame buffer descriptor
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
colorAttachments
public MTLRenderPassColorAttachmentDescriptorArray colorAttachments()
-
copyWithZone
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
- Specified by:
copyWithZonein interfaceNSCopying
-
depthAttachment
public MTLRenderPassDepthAttachmentDescriptor depthAttachment()
-
init
public MTLRenderPassDescriptor init()
-
setDepthAttachment
public void setDepthAttachment(MTLRenderPassDepthAttachmentDescriptor value)
-
setStencilAttachment
public void setStencilAttachment(MTLRenderPassStencilAttachmentDescriptor value)
-
setVisibilityResultBuffer
public void setVisibilityResultBuffer(MTLBuffer value)
[@property] visibilityResultBuffer: Buffer into which samples passing the depth and stencil tests are counted.
-
stencilAttachment
public MTLRenderPassStencilAttachmentDescriptor stencilAttachment()
-
visibilityResultBuffer
public MTLBuffer visibilityResultBuffer()
[@property] visibilityResultBuffer: Buffer into which samples passing the depth and stencil tests are counted.
-
defaultRasterSampleCount
public long defaultRasterSampleCount()
[@property] defaultRasterSampleCount: The raster sample count for the render pass when no attachments are given.
-
getSamplePositionsCount
public long getSamplePositionsCount(MTLSamplePosition positions, long count)
getSamplePositions:count: Retrieve the previously configured custom sample positions. The positions input array will only be modified when count specifies a length sufficient for the number of previously configured positions.- Parameters:
positions- The destination array for custom sample position data.count- Specifies the length of the positions array, which must be large enough to hold all configured sample positions.- Returns:
- The number of previously configured custom sample positions.
-
imageblockSampleLength
public long imageblockSampleLength()
[@property] imageblockSampleLength: The per sample size in bytes of the largest explicit imageblock layout in the renderPass.
-
renderTargetHeight
public long renderTargetHeight()
[@property] renderTargetHeight: The height in pixels to constrain the render target to. Defaults to 0. If non-zero the value must be smaller than or equal to the minimum height of all attachments.
-
renderTargetWidth
public long renderTargetWidth()
[@property] renderTargetWidth: The width in pixels to constrain the render target to. Defaults to 0. If non-zero the value must be smaller than or equal to the minimum width of all attachments.
-
setDefaultRasterSampleCount
public void setDefaultRasterSampleCount(long value)
[@property] defaultRasterSampleCount: The raster sample count for the render pass when no attachments are given.
-
setImageblockSampleLength
public void setImageblockSampleLength(long value)
[@property] imageblockSampleLength: The per sample size in bytes of the largest explicit imageblock layout in the renderPass.
-
setRenderTargetHeight
public void setRenderTargetHeight(long value)
[@property] renderTargetHeight: The height in pixels to constrain the render target to. Defaults to 0. If non-zero the value must be smaller than or equal to the minimum height of all attachments.
-
setRenderTargetWidth
public void setRenderTargetWidth(long value)
[@property] renderTargetWidth: The width in pixels to constrain the render target to. Defaults to 0. If non-zero the value must be smaller than or equal to the minimum width of all attachments.
-
setSamplePositionsCount
public void setSamplePositionsCount(MTLSamplePosition positions, long count)
setSamplePositions:count: Configure the custom sample positions, to be used in MSAA rendering (i.e. when sample count > 1).- Parameters:
positions- The source array for custom sample position data.count- Specifies the length of the positions array, and must be a valid sample count or 0 (to disable custom sample positions).
-
setThreadgroupMemoryLength
public void setThreadgroupMemoryLength(long value)
[@property] threadgroupMemoryLength: The per tile size in bytes of the persistent threadgroup memory allocation.
-
setTileHeight
public void setTileHeight(long value)
[@property] tileHeight: The height in pixels of the tile. [@discssion] Defaults to 0. Zero means Metal chooses a height that fits within the local memory.
-
setTileWidth
public void setTileWidth(long value)
[@property] tileWidth: The width in pixels of the tile. [@discssion] Defaults to 0. Zero means Metal chooses a width that fits within the local memory.
-
threadgroupMemoryLength
public long threadgroupMemoryLength()
[@property] threadgroupMemoryLength: The per tile size in bytes of the persistent threadgroup memory allocation.
-
tileHeight
public long tileHeight()
[@property] tileHeight: The height in pixels of the tile. [@discssion] Defaults to 0. Zero means Metal chooses a height that fits within the local memory.
-
tileWidth
public long tileWidth()
[@property] tileWidth: The width in pixels of the tile. [@discssion] Defaults to 0. Zero means Metal chooses a width that fits within the local memory.
-
rasterizationRateMap
public MTLRasterizationRateMap rasterizationRateMap()
[@property] rasterizationRateMap The variable rasterization rate map to use when rendering this pass, or nil to not use variable rasterization rate. The default value is nil. Enabling variable rasterization rate allows for decreasing the rasterization rate in unimportant regions of screen space.
-
renderTargetArrayLength
public long renderTargetArrayLength()
[@property] renderTargetArrayLength: The number of active layers
-
setRasterizationRateMap
public void setRasterizationRateMap(MTLRasterizationRateMap value)
[@property] rasterizationRateMap The variable rasterization rate map to use when rendering this pass, or nil to not use variable rasterization rate. The default value is nil. Enabling variable rasterization rate allows for decreasing the rasterization rate in unimportant regions of screen space.
-
setRenderTargetArrayLength
public void setRenderTargetArrayLength(long value)
[@property] renderTargetArrayLength: The number of active layers
-
sampleBufferAttachments
public MTLRenderPassSampleBufferAttachmentDescriptorArray sampleBufferAttachments()
[@property] sampleBufferAttachments An array of sample buffers and associated sample indices.
-
-