Package apple.metal

Class MTLPrimitiveAccelerationStructureDescriptor

    • Constructor Detail

      • MTLPrimitiveAccelerationStructureDescriptor

        protected MTLPrimitiveAccelerationStructureDescriptor​(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()
      • geometryDescriptors

        @Nullable
        public @Nullable NSArray<? extends MTLAccelerationStructureGeometryDescriptor> geometryDescriptors()
        Array of geometry descriptors. If motionKeyframeCount is greater than one all geometryDescriptors must be motion versions and have motionKeyframeCount of primitive buffers.
      • hash_static

        public static long hash_static()
      • 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)
      • resolveClassMethod

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

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

        public void setGeometryDescriptors​(@Nullable
                                           @Nullable NSArray<? extends MTLAccelerationStructureGeometryDescriptor> value)
        Array of geometry descriptors. If motionKeyframeCount is greater than one all geometryDescriptors must be motion versions and have motionKeyframeCount of primitive buffers.
      • 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()
      • motionEndBorderMode

        public int motionEndBorderMode()
        Motion border mode describing what happens if acceleration structure is sampled after motionEndTime. If not set defaults to MTLMotionBorderModeClamp. API-Since: 15.0
      • motionEndTime

        public float motionEndTime()
        Motion end time of this geometry. If not set defaults to 1.0f. API-Since: 15.0
      • motionKeyframeCount

        public long motionKeyframeCount()
        Motion keyframe count. Is 1 by default which means no motion. API-Since: 15.0
      • motionStartBorderMode

        public int motionStartBorderMode()
        Motion border mode describing what happens if acceleration structure is sampled before motionStartTime. If not set defaults to MTLMotionBorderModeClamp. API-Since: 15.0
      • motionStartTime

        public float motionStartTime()
        Motion start time of this geometry. If not set defaults to 0.0f. API-Since: 15.0
      • setMotionEndBorderMode

        public void setMotionEndBorderMode​(int value)
        Motion border mode describing what happens if acceleration structure is sampled after motionEndTime. If not set defaults to MTLMotionBorderModeClamp. API-Since: 15.0
      • setMotionEndTime

        public void setMotionEndTime​(float value)
        Motion end time of this geometry. If not set defaults to 1.0f. API-Since: 15.0
      • setMotionKeyframeCount

        public void setMotionKeyframeCount​(long value)
        Motion keyframe count. Is 1 by default which means no motion. API-Since: 15.0
      • setMotionStartBorderMode

        public void setMotionStartBorderMode​(int value)
        Motion border mode describing what happens if acceleration structure is sampled before motionStartTime. If not set defaults to MTLMotionBorderModeClamp. API-Since: 15.0
      • setMotionStartTime

        public void setMotionStartTime​(float value)
        Motion start time of this geometry. If not set defaults to 0.0f. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.