Package apple.metal

Class MTLIndirectInstanceAccelerationStructureDescriptor

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class MTLIndirectInstanceAccelerationStructureDescriptor
    extends MTLAccelerationStructureDescriptor
    Descriptor for an instance acceleration structure built with an indirected buffer of instances. API-Since: 17.0
    • Constructor Detail

      • MTLIndirectInstanceAccelerationStructureDescriptor

        protected MTLIndirectInstanceAccelerationStructureDescriptor​(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()
      • 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()
      • instanceCountBuffer

        @Nullable
        public @Nullable MTLBuffer instanceCountBuffer()
        Buffer containing the instance count as a uint32_t value. Value at build time must be less than or equal to maxInstanceCount.
      • instanceCountBufferOffset

        public long instanceCountBufferOffset()
        Offset into the instance count buffer. Must be a multiple of 4 bytes and must be aligned to the platform's buffer offset alignment.
      • instanceDescriptorBuffer

        @Nullable
        public @Nullable MTLBuffer instanceDescriptorBuffer()
        Buffer containing instance descriptors of the type specified by the instanceDescriptorType property
      • instanceDescriptorBufferOffset

        public long instanceDescriptorBufferOffset()
        Offset into the instance descriptor buffer. Must be a multiple of 64 bytes and must be aligned to the platform's buffer offset alignment.
      • instanceDescriptorStride

        public long instanceDescriptorStride()
        Stride, in bytes, between instance descriptors in the instance descriptor buffer. Must be at least the size of the instance descriptor type and must be a multiple of 4 bytes. Defaults to the size of the instance descriptor type.
      • instanceDescriptorType

        public long instanceDescriptorType()
        Type of instance descriptor in the instance descriptor buffer. Defaults to MTLAccelerationStructureInstanceDescriptorTypeIndirect. Must be MTLAccelerationStructureInstanceDescriptorTypeIndirect or MTLAccelerationStructureInstanceDescriptorTypeIndirectMotion.
      • 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)
      • maxInstanceCount

        public long maxInstanceCount()
        Maximum number of instance descriptors
      • maxMotionTransformCount

        public long maxMotionTransformCount()
        Maximum number of motion transforms
      • motionTransformBuffer

        @Nullable
        public @Nullable MTLBuffer motionTransformBuffer()
        Buffer containing transformation information for motion
      • motionTransformBufferOffset

        public long motionTransformBufferOffset()
        Offset into the instance motion descriptor buffer. Must be a multiple of 64 bytes and must be aligned to the platform's buffer offset alignment.
      • motionTransformCountBuffer

        @Nullable
        public @Nullable MTLBuffer motionTransformCountBuffer()
        Buffer containing the motion transform count as a uint32_t value. Value at build time must be less than or equal to maxMotionTransformCount.
      • motionTransformCountBufferOffset

        public long motionTransformCountBufferOffset()
        Offset into the motion transform count buffer. Must be a multiple of 4 bytes and must be aligned to the platform's buffer offset alignment.
      • resolveClassMethod

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

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

        public void setInstanceCountBuffer​(@Nullable
                                           @Nullable MTLBuffer value)
        Buffer containing the instance count as a uint32_t value. Value at build time must be less than or equal to maxInstanceCount.
      • setInstanceCountBufferOffset

        public void setInstanceCountBufferOffset​(long value)
        Offset into the instance count buffer. Must be a multiple of 4 bytes and must be aligned to the platform's buffer offset alignment.
      • setInstanceDescriptorBuffer

        public void setInstanceDescriptorBuffer​(@Nullable
                                                @Nullable MTLBuffer value)
        Buffer containing instance descriptors of the type specified by the instanceDescriptorType property
      • setInstanceDescriptorBufferOffset

        public void setInstanceDescriptorBufferOffset​(long value)
        Offset into the instance descriptor buffer. Must be a multiple of 64 bytes and must be aligned to the platform's buffer offset alignment.
      • setInstanceDescriptorStride

        public void setInstanceDescriptorStride​(long value)
        Stride, in bytes, between instance descriptors in the instance descriptor buffer. Must be at least the size of the instance descriptor type and must be a multiple of 4 bytes. Defaults to the size of the instance descriptor type.
      • setInstanceDescriptorType

        public void setInstanceDescriptorType​(long value)
        Type of instance descriptor in the instance descriptor buffer. Defaults to MTLAccelerationStructureInstanceDescriptorTypeIndirect. Must be MTLAccelerationStructureInstanceDescriptorTypeIndirect or MTLAccelerationStructureInstanceDescriptorTypeIndirectMotion.
      • setMaxInstanceCount

        public void setMaxInstanceCount​(long value)
        Maximum number of instance descriptors
      • setMaxMotionTransformCount

        public void setMaxMotionTransformCount​(long value)
        Maximum number of motion transforms
      • setMotionTransformBuffer

        public void setMotionTransformBuffer​(@Nullable
                                             @Nullable MTLBuffer value)
        Buffer containing transformation information for motion
      • setMotionTransformBufferOffset

        public void setMotionTransformBufferOffset​(long value)
        Offset into the instance motion descriptor buffer. Must be a multiple of 64 bytes and must be aligned to the platform's buffer offset alignment.
      • setMotionTransformCountBuffer

        public void setMotionTransformCountBuffer​(@Nullable
                                                  @Nullable MTLBuffer value)
        Buffer containing the motion transform count as a uint32_t value. Value at build time must be less than or equal to maxMotionTransformCount.
      • setMotionTransformCountBufferOffset

        public void setMotionTransformCountBufferOffset​(long value)
        Offset into the motion transform count buffer. Must be a multiple of 4 bytes and must be aligned to the platform's buffer offset alignment.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()