Package apple.metal

Class MTLAccelerationStructureGeometryDescriptor

    • Constructor Detail

      • MTLAccelerationStructureGeometryDescriptor

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allowDuplicateIntersectionFunctionInvocation

        public boolean allowDuplicateIntersectionFunctionInvocation()
        Whether intersection functions may be invoked more than once per ray/primitive intersection. Defaults to YES.
      • 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • instanceMethodSignatureForSelector

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

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • intersectionFunctionTableOffset

        public long intersectionFunctionTableOffset()
      • 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)
      • opaque

        public boolean opaque()
        Whether the geometry is opaque
      • resolveClassMethod

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

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

        public void setAllowDuplicateIntersectionFunctionInvocation​(boolean value)
        Whether intersection functions may be invoked more than once per ray/primitive intersection. Defaults to YES.
      • setIntersectionFunctionTableOffset

        public void setIntersectionFunctionTableOffset​(long value)
      • setOpaque

        public void setOpaque​(boolean value)
        Whether the geometry is opaque
      • 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()
      • label

        @Nullable
        public @Nullable java.lang.String label()
        Label API-Since: 15.0
      • setLabel

        public void setLabel​(@Nullable
                             @Nullable java.lang.String value)
        Label API-Since: 15.0
      • primitiveDataBuffer

        @Nullable
        public @Nullable MTLBuffer primitiveDataBuffer()
        Data buffer containing per-primitive data. May be nil. API-Since: 16.0
      • primitiveDataBufferOffset

        public long primitiveDataBufferOffset()
        Primitive data buffer offset in bytes. Must be aligned to the platform's buffer offset alignment. Defaults to 0 bytes. API-Since: 16.0
      • primitiveDataElementSize

        public long primitiveDataElementSize()
        Size, in bytes, of the data for each primitive in the primitive data buffer. Must be at most primitiveDataStride and must be a multiple of 4 bytes. Defaults to 0 bytes. API-Since: 16.0
      • primitiveDataStride

        public long primitiveDataStride()
        Stride, in bytes, between per-primitive data in the primitive data buffer. Must be at least primitiveDataElementSize and must be a multiple of 4 bytes. Defaults to 0 bytes. Assumed to be equal to primitiveDataElementSize if zero. API-Since: 16.0
      • setPrimitiveDataBuffer

        public void setPrimitiveDataBuffer​(@Nullable
                                           @Nullable MTLBuffer value)
        Data buffer containing per-primitive data. May be nil. API-Since: 16.0
      • setPrimitiveDataBufferOffset

        public void setPrimitiveDataBufferOffset​(long value)
        Primitive data buffer offset in bytes. Must be aligned to the platform's buffer offset alignment. Defaults to 0 bytes. API-Since: 16.0
      • setPrimitiveDataElementSize

        public void setPrimitiveDataElementSize​(long value)
        Size, in bytes, of the data for each primitive in the primitive data buffer. Must be at most primitiveDataStride and must be a multiple of 4 bytes. Defaults to 0 bytes. API-Since: 16.0
      • setPrimitiveDataStride

        public void setPrimitiveDataStride​(long value)
        Stride, in bytes, between per-primitive data in the primitive data buffer. Must be at least primitiveDataElementSize and must be a multiple of 4 bytes. Defaults to 0 bytes. Assumed to be equal to primitiveDataElementSize if zero. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.