Package apple.metal

Class MTLIndirectCommandBufferDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MTLIndirectCommandBufferDescriptor
    extends NSObject
    implements NSCopying
    Describes the limits and features that can be used in an indirect command API-Since: 12.0
    • Constructor Detail

      • MTLIndirectCommandBufferDescriptor

        protected MTLIndirectCommandBufferDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • commandTypes

        public long commandTypes()
        A bitfield of the command types that be encoded. MTLCommandTypeDispatch cannot be mixed with any other command type.
      • 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()
      • inheritBuffers

        public boolean inheritBuffers()
        Whether the render or compute pipeline can set arguments.
      • inheritPipelineState

        public boolean inheritPipelineState()
        Whether the render or compute pipeline are inherited from the encoder API-Since: 13.0
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • maxFragmentBufferBindCount

        public long maxFragmentBufferBindCount()
        The maximum bind index of fragment argument buffers that can be set per command.
      • maxKernelBufferBindCount

        public long maxKernelBufferBindCount()
        The maximum bind index of kernel (or tile) argument buffers that can be set per command. API-Since: 13.0
      • maxVertexBufferBindCount

        public long maxVertexBufferBindCount()
        The maximum bind index of vertex argument buffers that can be set per command.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setCommandTypes

        public void setCommandTypes​(long value)
        A bitfield of the command types that be encoded. MTLCommandTypeDispatch cannot be mixed with any other command type.
      • setInheritBuffers

        public void setInheritBuffers​(boolean value)
        Whether the render or compute pipeline can set arguments.
      • setInheritPipelineState

        public void setInheritPipelineState​(boolean value)
        Whether the render or compute pipeline are inherited from the encoder API-Since: 13.0
      • setMaxFragmentBufferBindCount

        public void setMaxFragmentBufferBindCount​(long value)
        The maximum bind index of fragment argument buffers that can be set per command.
      • setMaxKernelBufferBindCount

        public void setMaxKernelBufferBindCount​(long value)
        The maximum bind index of kernel (or tile) argument buffers that can be set per command. API-Since: 13.0
      • setMaxVertexBufferBindCount

        public void setMaxVertexBufferBindCount​(long value)
        The maximum bind index of vertex argument buffers that can be set per command.
      • 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • setSupportRayTracing

        public void setSupportRayTracing​(boolean value)
        Whether the render or compute commands can use ray tracing. Default value is NO. API-Since: 16.0
      • supportRayTracing

        public boolean supportRayTracing()
        Whether the render or compute commands can use ray tracing. Default value is NO. API-Since: 16.0
      • maxKernelThreadgroupMemoryBindCount

        public long maxKernelThreadgroupMemoryBindCount()
        The maximum bind index of kernel (or tile) threadgroup memory that can be set per command. The default value is 31. API-Since: 17.0
      • maxMeshBufferBindCount

        public long maxMeshBufferBindCount()
        The maximum bind index of mesh stage buffers that can be set per render command. API-Since: 17.0
      • maxObjectBufferBindCount

        public long maxObjectBufferBindCount()
        The maximum bind index of object stage buffers that can be set per render command. API-Since: 17.0
      • maxObjectThreadgroupMemoryBindCount

        public long maxObjectThreadgroupMemoryBindCount()
        The maximum bind index of object threadgroup memory that can be set per render command. The default value is 0. API-Since: 17.0
      • setMaxKernelThreadgroupMemoryBindCount

        public void setMaxKernelThreadgroupMemoryBindCount​(long value)
        The maximum bind index of kernel (or tile) threadgroup memory that can be set per command. The default value is 31. API-Since: 17.0
      • setMaxMeshBufferBindCount

        public void setMaxMeshBufferBindCount​(long value)
        The maximum bind index of mesh stage buffers that can be set per render command. API-Since: 17.0
      • setMaxObjectBufferBindCount

        public void setMaxObjectBufferBindCount​(long value)
        The maximum bind index of object stage buffers that can be set per render command. API-Since: 17.0
      • setMaxObjectThreadgroupMemoryBindCount

        public void setMaxObjectThreadgroupMemoryBindCount​(long value)
        The maximum bind index of object threadgroup memory that can be set per render command. The default value is 0. API-Since: 17.0
      • setSupportDynamicAttributeStride

        public void setSupportDynamicAttributeStride​(boolean value)
        allows binding pipelines that have at least one MTLBufferLayout with a stride of `MTLBufferLayoutStrideDynamic` will allow setting attributeStride in `setVertexBuffer` / `setKernelBuffer` calls API-Since: 17.0
      • supportDynamicAttributeStride

        public boolean supportDynamicAttributeStride()
        allows binding pipelines that have at least one MTLBufferLayout with a stride of `MTLBufferLayoutStrideDynamic` will allow setting attributeStride in `setVertexBuffer` / `setKernelBuffer` calls API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.