Package apple.metal
Class MTLMeshRenderPipelineDescriptor
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.metal.MTLMeshRenderPipelineDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMTLMeshRenderPipelineDescriptor(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static MTLMeshRenderPipelineDescriptoralloc()static MTLMeshRenderPipelineDescriptorallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@NotNull MTLRenderPipelineColorAttachmentDescriptorArraycolorAttachments()[@property] colorAttachments Describes the color attachments of the render pass in which this pipeline will be used.@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()longdepthAttachmentPixelFormat()[@property] depthAttachmentPixelFormat The pixel format of the depth attachment of the render pass in which this pipeline will be used.static java.lang.Stringdescription_static()@NotNull MTLPipelineBufferDescriptorArrayfragmentBuffers()[@property] fragmentBuffers Provide mutability information on the buffers used by fragmentFunction.@Nullable MTLFunctionfragmentFunction()[@property] fragmentFunction Like a classical render pipeline, this fragments covered by the rasterized geometry are shaded with this function.MTLLinkedFunctionsfragmentLinkedFunctions()[@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.static longhash_static()MTLMeshRenderPipelineDescriptorinit()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)booleanisAlphaToCoverageEnabled()[@property] alphaToCoverageEnabled Whether the alpha value exported by the fragment shader for the first color attachment is converted to a sample mask, which is subsequently AND-ed with the fragments' sample mask The default value is NO.booleanisAlphaToOneEnabled()[@property] alphaToOneEnabled Whether the alpha value exported by the fragment shader for all color attachments is modified to 1 (after evaluating alphaToCoverage).booleanisRasterizationEnabled()[@property] rasterizationEnabled Whether rasterization is disabled, all primitives are dropped prior to rasterization.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)@Nullable java.lang.Stringlabel()[@property] label A name or description provided by the application that will be displayed in debugging tools.longmaxTotalThreadgroupsPerMeshGrid()[@property] maxTotalThreadgroupsPerMeshGrid The maximum value of the product of vector elements that the object shader may pass to the mesh_grid_properties::set_threadgroups_per_grid built-in function.longmaxTotalThreadsPerMeshThreadgroup()[@property] maxTotalThreadsPerMeshThreadgroup The maximum size of the product of threadsPerMeshThreadgroup that can be used for draws with this pipeline.longmaxTotalThreadsPerObjectThreadgroup()[@property] maxTotalThreadsPerObjectThreadgroup The maximum size of the product of threadsPerObjectThreadgroup that can be used for draws with this pipeline.longmaxVertexAmplificationCount()[@property] maxVertexAmplificationCount The maximum value that can be passed to setVertexAmplificationCount when using this pipeline.@NotNull MTLPipelineBufferDescriptorArraymeshBuffers()[@property] meshBuffers Provide mutability information on the buffers used by meshFunction.@Nullable MTLFunctionmeshFunction()[@property] meshFunction Shader function responsible for exporting a chunk of geometry per threadgroup for the rasterizer.MTLLinkedFunctionsmeshLinkedFunctions()[@property] meshLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the mesh function.booleanmeshThreadgroupSizeIsMultipleOfThreadExecutionWidth()[@property] meshThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerMeshThreadgroup set to a multiple of the meshThreadExecutionWidth of the returned pipeline state.static MTLMeshRenderPipelineDescriptornew_objc()@NotNull MTLPipelineBufferDescriptorArrayobjectBuffers()[@property] objectBuffers Provide mutability information on the buffers used by objectFunction.@Nullable MTLFunctionobjectFunction()[@property] objectFunction Optional shader function responsible for determining how many threadgroups of the mesh shader to run, can optionally provide payload data for the mesh stage.MTLLinkedFunctionsobjectLinkedFunctions()[@property] objectLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the object function.booleanobjectThreadgroupSizeIsMultipleOfThreadExecutionWidth()[@property] objectThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerObjectThreadgroup set to a multiple of the objectThreadExecutionWidth of the returned pipeline state.longpayloadMemoryLength()[@property] payloadMemoryLength The size, in bytes, of the buffer indicated by [[payload]] in the object and mesh shader.longrasterSampleCount()[@property] rasterSampleCount The number of samples per fragment of the render pass in which this pipeline will be used.voidreset()reset Restore all mesh pipeline descriptor properties to their default values.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetAlphaToCoverageEnabled(boolean value)[@property] alphaToCoverageEnabled Whether the alpha value exported by the fragment shader for the first color attachment is converted to a sample mask, which is subsequently AND-ed with the fragments' sample mask The default value is NO.voidsetAlphaToOneEnabled(boolean value)[@property] alphaToOneEnabled Whether the alpha value exported by the fragment shader for all color attachments is modified to 1 (after evaluating alphaToCoverage).voidsetDepthAttachmentPixelFormat(long value)[@property] depthAttachmentPixelFormat The pixel format of the depth attachment of the render pass in which this pipeline will be used.voidsetFragmentFunction(@Nullable MTLFunction value)[@property] fragmentFunction Like a classical render pipeline, this fragments covered by the rasterized geometry are shaded with this function.voidsetFragmentLinkedFunctions(MTLLinkedFunctions value)[@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.voidsetLabel(@Nullable java.lang.String value)[@property] label A name or description provided by the application that will be displayed in debugging tools.voidsetMaxTotalThreadgroupsPerMeshGrid(long value)[@property] maxTotalThreadgroupsPerMeshGrid The maximum value of the product of vector elements that the object shader may pass to the mesh_grid_properties::set_threadgroups_per_grid built-in function.voidsetMaxTotalThreadsPerMeshThreadgroup(long value)[@property] maxTotalThreadsPerMeshThreadgroup The maximum size of the product of threadsPerMeshThreadgroup that can be used for draws with this pipeline.voidsetMaxTotalThreadsPerObjectThreadgroup(long value)[@property] maxTotalThreadsPerObjectThreadgroup The maximum size of the product of threadsPerObjectThreadgroup that can be used for draws with this pipeline.voidsetMaxVertexAmplificationCount(long value)[@property] maxVertexAmplificationCount The maximum value that can be passed to setVertexAmplificationCount when using this pipeline.voidsetMeshFunction(@Nullable MTLFunction value)[@property] meshFunction Shader function responsible for exporting a chunk of geometry per threadgroup for the rasterizer.voidsetMeshLinkedFunctions(MTLLinkedFunctions value)[@property] meshLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the mesh function.voidsetMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth(boolean value)[@property] meshThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerMeshThreadgroup set to a multiple of the meshThreadExecutionWidth of the returned pipeline state.voidsetObjectFunction(@Nullable MTLFunction value)[@property] objectFunction Optional shader function responsible for determining how many threadgroups of the mesh shader to run, can optionally provide payload data for the mesh stage.voidsetObjectLinkedFunctions(MTLLinkedFunctions value)[@property] objectLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the object function.voidsetObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(boolean value)[@property] objectThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerObjectThreadgroup set to a multiple of the objectThreadExecutionWidth of the returned pipeline state.voidsetPayloadMemoryLength(long value)[@property] payloadMemoryLength The size, in bytes, of the buffer indicated by [[payload]] in the object and mesh shader.voidsetRasterizationEnabled(boolean value)[@property] rasterizationEnabled Whether rasterization is disabled, all primitives are dropped prior to rasterization.voidsetRasterSampleCount(long value)[@property] rasterSampleCount The number of samples per fragment of the render pass in which this pipeline will be used.voidsetStencilAttachmentPixelFormat(long value)[@property] stencilAttachmentPixelFormat The pixel format of the stencil attachment of the render pass in which this pipeline will be used.voidsetSupportIndirectCommandBuffers(boolean value)[@property] supportIndirectCommandBuffers Whether this pipeline will support being used by commands in an indirect command buffer.static voidsetVersion_static(long aVersion)longstencilAttachmentPixelFormat()[@property] stencilAttachmentPixelFormat The pixel format of the stencil attachment of the render pass in which this pipeline will be used.static org.moe.natj.objc.Classsuperclass_static()booleansupportIndirectCommandBuffers()[@property] supportIndirectCommandBuffers Whether this pipeline will support being used by commands in an indirect command buffer.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static MTLMeshRenderPipelineDescriptor alloc()
-
allocWithZone
public static MTLMeshRenderPipelineDescriptor allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
colorAttachments
@NotNull public @NotNull MTLRenderPipelineColorAttachmentDescriptorArray colorAttachments()
[@property] colorAttachments Describes the color attachments of the render pass in which this pipeline will be used.
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
depthAttachmentPixelFormat
public long depthAttachmentPixelFormat()
[@property] depthAttachmentPixelFormat The pixel format of the depth attachment of the render pass in which this pipeline will be used. The default value is MTLPixelFormatInvalid; indicating no depth attachment will be used.
-
description_static
public static java.lang.String description_static()
-
fragmentBuffers
@NotNull public @NotNull MTLPipelineBufferDescriptorArray fragmentBuffers()
[@property] fragmentBuffers Provide mutability information on the buffers used by fragmentFunction. Specifying these values is optional; it may be used to optimize the shader code.
-
fragmentFunction
@Nullable public @Nullable MTLFunction fragmentFunction()
[@property] fragmentFunction Like a classical render pipeline, this fragments covered by the rasterized geometry are shaded with this function. The default value is nil. To create a pipeline, you must either set fragmentFunction to non-nil, or set rasterizationEnabled to NO.
-
hash_static
public static long hash_static()
-
init
public MTLMeshRenderPipelineDescriptor init()
-
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)
-
isAlphaToCoverageEnabled
public boolean isAlphaToCoverageEnabled()
[@property] alphaToCoverageEnabled Whether the alpha value exported by the fragment shader for the first color attachment is converted to a sample mask, which is subsequently AND-ed with the fragments' sample mask The default value is NO.
-
isAlphaToOneEnabled
public boolean isAlphaToOneEnabled()
[@property] alphaToOneEnabled Whether the alpha value exported by the fragment shader for all color attachments is modified to 1 (after evaluating alphaToCoverage). The default value is NO.
-
isRasterizationEnabled
public boolean isRasterizationEnabled()
[@property] rasterizationEnabled Whether rasterization is disabled, all primitives are dropped prior to rasterization. The default value is YES.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
label
@Nullable public @Nullable java.lang.String label()
[@property] label A name or description provided by the application that will be displayed in debugging tools. The default value is nil.
-
maxTotalThreadgroupsPerMeshGrid
public long maxTotalThreadgroupsPerMeshGrid()
[@property] maxTotalThreadgroupsPerMeshGrid The maximum value of the product of vector elements that the object shader may pass to the mesh_grid_properties::set_threadgroups_per_grid built-in function. The default value is 0, which means that the value specified with the [[max_total_threadgroups_per_mesh_grid(N)]] specified on objectFunction will be used. When both the [[max_total_threadgroups_per_mesh_grid(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threadgroups per mesh grid". Specifying this value is optional; it may be used to improve scheduling of the workload. If neither this value nor the shader attribute are used, the device's maximum supported value is used instead.
-
maxTotalThreadsPerMeshThreadgroup
public long maxTotalThreadsPerMeshThreadgroup()
[@property] maxTotalThreadsPerMeshThreadgroup The maximum size of the product of threadsPerMeshThreadgroup that can be used for draws with this pipeline. This information can be used by the optimizer to generate more efficient code, specifically when the specified value does not exceed the thread execution width of the underlying GPU. The default value is 0, which means that the value specified with the [[max_total_threads_per_threadgroup(N)]] specified on meshFunction will be used. When both the [[max_total_threads_per_threadgroup(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threads per threadgroup".
-
maxTotalThreadsPerObjectThreadgroup
public long maxTotalThreadsPerObjectThreadgroup()
[@property] maxTotalThreadsPerObjectThreadgroup The maximum size of the product of threadsPerObjectThreadgroup that can be used for draws with this pipeline. This information can be used by the optimizer to generate more efficient code, specifically when the specified value does not exceed the thread execution width of the underlying GPU. The default value is 0, which means that the value specified with the [[max_total_threads_per_threadgroup(N)]] specified on objectFunction will be used. When both the [[max_total_threads_per_threadgroup(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threads per threadgroup".
-
maxVertexAmplificationCount
public long maxVertexAmplificationCount()
[@property] maxVertexAmplificationCount The maximum value that can be passed to setVertexAmplificationCount when using this pipeline. The default value is 1. The value must be supported by the device, which can be checked with supportsVertexAmplificationCount.
-
meshBuffers
@NotNull public @NotNull MTLPipelineBufferDescriptorArray meshBuffers()
[@property] meshBuffers Provide mutability information on the buffers used by meshFunction. Specifying these values is optional; it may be used to optimize the shader code.
-
meshFunction
@Nullable public @Nullable MTLFunction meshFunction()
[@property] meshFunction Shader function responsible for exporting a chunk of geometry per threadgroup for the rasterizer. The default value is nil.
-
meshThreadgroupSizeIsMultipleOfThreadExecutionWidth
public boolean meshThreadgroupSizeIsMultipleOfThreadExecutionWidth()
[@property] meshThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerMeshThreadgroup set to a multiple of the meshThreadExecutionWidth of the returned pipeline state. This information can be used by the optimizer to generate more efficient code. The default value is NO.
-
new_objc
public static MTLMeshRenderPipelineDescriptor new_objc()
-
objectBuffers
@NotNull public @NotNull MTLPipelineBufferDescriptorArray objectBuffers()
[@property] objectBuffers Provide mutability information on the buffers used by objectFunction. Specifying these values is optional; it may be used to optimize the shader code.
-
objectFunction
@Nullable public @Nullable MTLFunction objectFunction()
[@property] objectFunction Optional shader function responsible for determining how many threadgroups of the mesh shader to run, can optionally provide payload data for the mesh stage. If this is nil, no payload data is available to the mesh function, and the draw command determines how many threadgroups of the mesh stage to run. The default value is nil.
-
objectThreadgroupSizeIsMultipleOfThreadExecutionWidth
public boolean objectThreadgroupSizeIsMultipleOfThreadExecutionWidth()
[@property] objectThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerObjectThreadgroup set to a multiple of the objectThreadExecutionWidth of the returned pipeline state. This information can be used by the optimizer to generate more efficient code. The default value is NO.
-
payloadMemoryLength
public long payloadMemoryLength()
[@property] payloadMemoryLength The size, in bytes, of the buffer indicated by [[payload]] in the object and mesh shader. If this value is 0, the size of the dereferenced type declared in the object shader for the buffer is used (space for a single element is assumed for pointers). The default value is 0.
-
rasterSampleCount
public long rasterSampleCount()
[@property] rasterSampleCount The number of samples per fragment of the render pass in which this pipeline will be used.
-
reset
public void reset()
reset Restore all mesh pipeline descriptor properties to their default values.
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAlphaToCoverageEnabled
public void setAlphaToCoverageEnabled(boolean value)
[@property] alphaToCoverageEnabled Whether the alpha value exported by the fragment shader for the first color attachment is converted to a sample mask, which is subsequently AND-ed with the fragments' sample mask The default value is NO.
-
setAlphaToOneEnabled
public void setAlphaToOneEnabled(boolean value)
[@property] alphaToOneEnabled Whether the alpha value exported by the fragment shader for all color attachments is modified to 1 (after evaluating alphaToCoverage). The default value is NO.
-
setDepthAttachmentPixelFormat
public void setDepthAttachmentPixelFormat(long value)
[@property] depthAttachmentPixelFormat The pixel format of the depth attachment of the render pass in which this pipeline will be used. The default value is MTLPixelFormatInvalid; indicating no depth attachment will be used.
-
setFragmentFunction
public void setFragmentFunction(@Nullable @Nullable MTLFunction value)[@property] fragmentFunction Like a classical render pipeline, this fragments covered by the rasterized geometry are shaded with this function. The default value is nil. To create a pipeline, you must either set fragmentFunction to non-nil, or set rasterizationEnabled to NO.
-
setLabel
public void setLabel(@Nullable @Nullable java.lang.String value)[@property] label A name or description provided by the application that will be displayed in debugging tools. The default value is nil.
-
setMaxTotalThreadgroupsPerMeshGrid
public void setMaxTotalThreadgroupsPerMeshGrid(long value)
[@property] maxTotalThreadgroupsPerMeshGrid The maximum value of the product of vector elements that the object shader may pass to the mesh_grid_properties::set_threadgroups_per_grid built-in function. The default value is 0, which means that the value specified with the [[max_total_threadgroups_per_mesh_grid(N)]] specified on objectFunction will be used. When both the [[max_total_threadgroups_per_mesh_grid(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threadgroups per mesh grid". Specifying this value is optional; it may be used to improve scheduling of the workload. If neither this value nor the shader attribute are used, the device's maximum supported value is used instead.
-
setMaxTotalThreadsPerMeshThreadgroup
public void setMaxTotalThreadsPerMeshThreadgroup(long value)
[@property] maxTotalThreadsPerMeshThreadgroup The maximum size of the product of threadsPerMeshThreadgroup that can be used for draws with this pipeline. This information can be used by the optimizer to generate more efficient code, specifically when the specified value does not exceed the thread execution width of the underlying GPU. The default value is 0, which means that the value specified with the [[max_total_threads_per_threadgroup(N)]] specified on meshFunction will be used. When both the [[max_total_threads_per_threadgroup(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threads per threadgroup".
-
setMaxTotalThreadsPerObjectThreadgroup
public void setMaxTotalThreadsPerObjectThreadgroup(long value)
[@property] maxTotalThreadsPerObjectThreadgroup The maximum size of the product of threadsPerObjectThreadgroup that can be used for draws with this pipeline. This information can be used by the optimizer to generate more efficient code, specifically when the specified value does not exceed the thread execution width of the underlying GPU. The default value is 0, which means that the value specified with the [[max_total_threads_per_threadgroup(N)]] specified on objectFunction will be used. When both the [[max_total_threads_per_threadgroup(N)]] attribute and a non-zero value are specified, both values must match. Any value specified cannot exceed the device limit as documented in the "Metal Feature Set Tables" for "Maximum threads per threadgroup".
-
setMaxVertexAmplificationCount
public void setMaxVertexAmplificationCount(long value)
[@property] maxVertexAmplificationCount The maximum value that can be passed to setVertexAmplificationCount when using this pipeline. The default value is 1. The value must be supported by the device, which can be checked with supportsVertexAmplificationCount.
-
setMeshFunction
public void setMeshFunction(@Nullable @Nullable MTLFunction value)[@property] meshFunction Shader function responsible for exporting a chunk of geometry per threadgroup for the rasterizer. The default value is nil.
-
setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth
public void setMeshThreadgroupSizeIsMultipleOfThreadExecutionWidth(boolean value)
[@property] meshThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerMeshThreadgroup set to a multiple of the meshThreadExecutionWidth of the returned pipeline state. This information can be used by the optimizer to generate more efficient code. The default value is NO.
-
setObjectFunction
public void setObjectFunction(@Nullable @Nullable MTLFunction value)[@property] objectFunction Optional shader function responsible for determining how many threadgroups of the mesh shader to run, can optionally provide payload data for the mesh stage. If this is nil, no payload data is available to the mesh function, and the draw command determines how many threadgroups of the mesh stage to run. The default value is nil.
-
setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth
public void setObjectThreadgroupSizeIsMultipleOfThreadExecutionWidth(boolean value)
[@property] objectThreadgroupSizeIsMultipleOfThreadExecutionWidth Set this value to YES when you will only use draws with the product of threadsPerObjectThreadgroup set to a multiple of the objectThreadExecutionWidth of the returned pipeline state. This information can be used by the optimizer to generate more efficient code. The default value is NO.
-
setPayloadMemoryLength
public void setPayloadMemoryLength(long value)
[@property] payloadMemoryLength The size, in bytes, of the buffer indicated by [[payload]] in the object and mesh shader. If this value is 0, the size of the dereferenced type declared in the object shader for the buffer is used (space for a single element is assumed for pointers). The default value is 0.
-
setRasterSampleCount
public void setRasterSampleCount(long value)
[@property] rasterSampleCount The number of samples per fragment of the render pass in which this pipeline will be used.
-
setRasterizationEnabled
public void setRasterizationEnabled(boolean value)
[@property] rasterizationEnabled Whether rasterization is disabled, all primitives are dropped prior to rasterization. The default value is YES.
-
setStencilAttachmentPixelFormat
public void setStencilAttachmentPixelFormat(long value)
[@property] stencilAttachmentPixelFormat The pixel format of the stencil attachment of the render pass in which this pipeline will be used. The default value is MTLPixelFormatInvalid; indicating no stencil attachment will be used.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
stencilAttachmentPixelFormat
public long stencilAttachmentPixelFormat()
[@property] stencilAttachmentPixelFormat The pixel format of the stencil attachment of the render pass in which this pipeline will be used. The default value is MTLPixelFormatInvalid; indicating no stencil attachment will be used.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
fragmentLinkedFunctions
public MTLLinkedFunctions fragmentLinkedFunctions()
[@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.- See Also:
API-Since: 17.0
-
meshLinkedFunctions
public MTLLinkedFunctions meshLinkedFunctions()
[@property] meshLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the mesh function.- See Also:
API-Since: 17.0
-
objectLinkedFunctions
public MTLLinkedFunctions objectLinkedFunctions()
[@property] objectLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the object function.- See Also:
API-Since: 17.0
-
setFragmentLinkedFunctions
public void setFragmentLinkedFunctions(MTLLinkedFunctions value)
[@property] fragmentLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the fragment function.- See Also:
API-Since: 17.0
-
setMeshLinkedFunctions
public void setMeshLinkedFunctions(MTLLinkedFunctions value)
[@property] meshLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the mesh function.- See Also:
API-Since: 17.0
-
setObjectLinkedFunctions
public void setObjectLinkedFunctions(MTLLinkedFunctions value)
[@property] objectLinkedFunctions The set of functions to be linked with the pipeline state and accessed from the object function.- See Also:
API-Since: 17.0
-
setSupportIndirectCommandBuffers
public void setSupportIndirectCommandBuffers(boolean value)
[@property] supportIndirectCommandBuffers Whether this pipeline will support being used by commands in an indirect command buffer. The default value is NO. API-Since: 17.0
-
supportIndirectCommandBuffers
public boolean supportIndirectCommandBuffers()
[@property] supportIndirectCommandBuffers Whether this pipeline will support being used by commands in an indirect command buffer. The default value is NO. API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-