Package apple.metal

Class MTLInstanceAccelerationStructureDescriptor

    • Constructor Detail

      • MTLInstanceAccelerationStructureDescriptor

        protected MTLInstanceAccelerationStructureDescriptor​(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()
      • instanceCount

        public long instanceCount()
        Number of instance descriptors
      • 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.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancedAccelerationStructures

        @Nullable
        public @Nullable NSArray<?> instancedAccelerationStructures()
        Acceleration structures to be instanced
      • 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)
      • resolveClassMethod

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

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

        public void setInstanceCount​(long value)
        Number of instance descriptors
      • 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.
      • setInstancedAccelerationStructures

        public void setInstancedAccelerationStructures​(@Nullable
                                                       @Nullable NSArray<?> value)
        Acceleration structures to be instanced
      • 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()
      • instanceDescriptorType

        public long instanceDescriptorType()
        Type of instance descriptor in the instance descriptor buffer. Defaults to MTLAccelerationStructureInstanceDescriptorTypeDefault. API-Since: 15.0
      • motionTransformBuffer

        @Nullable
        public @Nullable MTLBuffer motionTransformBuffer()
        Buffer containing transformation information for motion API-Since: 15.0
      • 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. API-Since: 15.0
      • motionTransformCount

        public long motionTransformCount()
        Number of motion transforms API-Since: 15.0
      • setInstanceDescriptorType

        public void setInstanceDescriptorType​(long value)
        Type of instance descriptor in the instance descriptor buffer. Defaults to MTLAccelerationStructureInstanceDescriptorTypeDefault. API-Since: 15.0
      • setMotionTransformBuffer

        public void setMotionTransformBuffer​(@Nullable
                                             @Nullable MTLBuffer value)
        Buffer containing transformation information for motion API-Since: 15.0
      • 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. API-Since: 15.0
      • setMotionTransformCount

        public void setMotionTransformCount​(long value)
        Number of motion transforms API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.