Package apple.metal

Class MTLAccelerationStructureTriangleGeometryDescriptor

    • Constructor Detail

      • MTLAccelerationStructureTriangleGeometryDescriptor

        protected MTLAccelerationStructureTriangleGeometryDescriptor​(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()
      • indexBuffer

        @Nullable
        public @Nullable MTLBuffer indexBuffer()
        Optional index buffer containing references to vertices in the vertex buffer. May be nil.
      • indexBufferOffset

        public long indexBufferOffset()
        Index buffer offset. Must be a multiple of the index data type size and must be aligned to both the index data type's alignment and the platform's buffer offset alignment.
      • indexType

        public long indexType()
        Index type
      • 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)
      • setIndexBuffer

        public void setIndexBuffer​(@Nullable
                                   @Nullable MTLBuffer value)
        Optional index buffer containing references to vertices in the vertex buffer. May be nil.
      • setIndexBufferOffset

        public void setIndexBufferOffset​(long value)
        Index buffer offset. Must be a multiple of the index data type size and must be aligned to both the index data type's alignment and the platform's buffer offset alignment.
      • setIndexType

        public void setIndexType​(long value)
        Index type
      • setTriangleCount

        public void setTriangleCount​(long value)
        Number of triangles
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setVertexBuffer

        public void setVertexBuffer​(@Nullable
                                    @Nullable MTLBuffer value)
        Vertex buffer containing triangle vertices. Each vertex position must be formatted according to the vertex format. Must not be nil.
      • setVertexBufferOffset

        public void setVertexBufferOffset​(long value)
        Vertex buffer offset. Must be a multiple of the vertex stride and must be aligned to the platform's buffer offset alignment.
      • setVertexStride

        public void setVertexStride​(long value)
        Stride, in bytes, between vertices in the vertex buffer. Must be a multiple of the vertex format data type size and must be aligned to the vertex format data type's alignment. Defaults to 0, which will result in a stride of the vertex format data size.
      • superclass_static

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

        public long triangleCount()
        Number of triangles
      • version_static

        public static long version_static()
      • vertexBuffer

        @Nullable
        public @Nullable MTLBuffer vertexBuffer()
        Vertex buffer containing triangle vertices. Each vertex position must be formatted according to the vertex format. Must not be nil.
      • vertexBufferOffset

        public long vertexBufferOffset()
        Vertex buffer offset. Must be a multiple of the vertex stride and must be aligned to the platform's buffer offset alignment.
      • vertexStride

        public long vertexStride()
        Stride, in bytes, between vertices in the vertex buffer. Must be a multiple of the vertex format data type size and must be aligned to the vertex format data type's alignment. Defaults to 0, which will result in a stride of the vertex format data size.
      • setTransformationMatrixBuffer

        public void setTransformationMatrixBuffer​(@Nullable
                                                  @Nullable MTLBuffer value)
        Buffer containing packed float4x3 transformation matrix. Transform is applied to the vertex data when building the acceleration structure. Input vertex buffers are not modified. When set to nil, transformation matrix is not applied to vertex data. API-Since: 16.0
      • setTransformationMatrixBufferOffset

        public void setTransformationMatrixBufferOffset​(long value)
        Transformation matrix buffer offset. Must be a multiple of 4 bytes. Defaults to 0. API-Since: 16.0
      • setVertexFormat

        public void setVertexFormat​(long value)
        Format type of the vertex buffer. Defaults to MTLAttributeFormatFloat3 (packed). API-Since: 16.0
      • transformationMatrixBuffer

        @Nullable
        public @Nullable MTLBuffer transformationMatrixBuffer()
        Buffer containing packed float4x3 transformation matrix. Transform is applied to the vertex data when building the acceleration structure. Input vertex buffers are not modified. When set to nil, transformation matrix is not applied to vertex data. API-Since: 16.0
      • transformationMatrixBufferOffset

        public long transformationMatrixBufferOffset()
        Transformation matrix buffer offset. Must be a multiple of 4 bytes. Defaults to 0. API-Since: 16.0
      • vertexFormat

        public long vertexFormat()
        Format type of the vertex buffer. Defaults to MTLAttributeFormatFloat3 (packed). API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.