Package apple.metal

Class MTLAccelerationStructureCurveGeometryDescriptor

    • Constructor Detail

      • MTLAccelerationStructureCurveGeometryDescriptor

        protected MTLAccelerationStructureCurveGeometryDescriptor​(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()
      • controlPointBuffer

        @Nullable
        public @Nullable MTLBuffer controlPointBuffer()
        Buffer containing curve control points. Each control point must be of the format specified by the control point format. Must not be nil when the acceleration structure is built.
      • controlPointBufferOffset

        public long controlPointBufferOffset()
        Control point buffer offset. Must be a multiple of the control point format's element size and must be aligned to the platform's buffer offset alignment.
      • controlPointCount

        public long controlPointCount()
        Number of control points in the control point buffer
      • controlPointFormat

        public long controlPointFormat()
        Format of the control points in the control point buffer. Defaults to MTLAttributeFormatFloat3 (packed).
      • controlPointStride

        public long controlPointStride()
        Stride, in bytes, between control points in the control point buffer. Must be a multiple of the control point format's element size and must be at least the control point format's size. Defaults to 0 bytes, indicating that the control points are tightly packed.
      • curveBasis

        public long curveBasis()
        Curve basis. Defaults to MTLCurveBasisBSpline.
      • curveEndCaps

        public long curveEndCaps()
        Type of curve end caps. Defaults to MTLCurveEndCapsNone.
      • curveType

        public long curveType()
        Curve type. Defaults to MTLCurveTypeRound.
      • 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()
        Index buffer containing references to control points in the control point buffer. Must not be nil when the acceleration structure is built.
      • 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)
      • radiusBuffer

        @Nullable
        public @Nullable MTLBuffer radiusBuffer()
        Buffer containing the curve radius for each control point. Each radius must be of the type specified by the radius format. Each radius must be at least zero. Must not be nil when the acceleration structure is built.
      • radiusBufferOffset

        public long radiusBufferOffset()
        Radius buffer offset. Must be a multiple of the radius format size and must be aligned to the platform's buffer offset alignment.
      • radiusFormat

        public long radiusFormat()
        Format of the radii in the radius buffer. Defaults to MTLAttributeFormatFloat.
      • radiusStride

        public long radiusStride()
        Stride, in bytes, between radii in the radius buffer. Must be a multiple of the radius format size. Defaults to 0 bytes, indicating that the radii are tightly packed.
      • resolveClassMethod

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

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

        public long segmentControlPointCount()
        Number of control points per curve segment. Must be 2, 3, or 4.
      • segmentCount

        public long segmentCount()
        Number of curve segments
      • setControlPointBuffer

        public void setControlPointBuffer​(@Nullable
                                          @Nullable MTLBuffer value)
        Buffer containing curve control points. Each control point must be of the format specified by the control point format. Must not be nil when the acceleration structure is built.
      • setControlPointBufferOffset

        public void setControlPointBufferOffset​(long value)
        Control point buffer offset. Must be a multiple of the control point format's element size and must be aligned to the platform's buffer offset alignment.
      • setControlPointCount

        public void setControlPointCount​(long value)
        Number of control points in the control point buffer
      • setControlPointFormat

        public void setControlPointFormat​(long value)
        Format of the control points in the control point buffer. Defaults to MTLAttributeFormatFloat3 (packed).
      • setControlPointStride

        public void setControlPointStride​(long value)
        Stride, in bytes, between control points in the control point buffer. Must be a multiple of the control point format's element size and must be at least the control point format's size. Defaults to 0 bytes, indicating that the control points are tightly packed.
      • setCurveBasis

        public void setCurveBasis​(long value)
        Curve basis. Defaults to MTLCurveBasisBSpline.
      • setCurveEndCaps

        public void setCurveEndCaps​(long value)
        Type of curve end caps. Defaults to MTLCurveEndCapsNone.
      • setCurveType

        public void setCurveType​(long value)
        Curve type. Defaults to MTLCurveTypeRound.
      • setIndexBuffer

        public void setIndexBuffer​(@Nullable
                                   @Nullable MTLBuffer value)
        Index buffer containing references to control points in the control point buffer. Must not be nil when the acceleration structure is built.
      • 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
      • setRadiusBuffer

        public void setRadiusBuffer​(@Nullable
                                    @Nullable MTLBuffer value)
        Buffer containing the curve radius for each control point. Each radius must be of the type specified by the radius format. Each radius must be at least zero. Must not be nil when the acceleration structure is built.
      • setRadiusBufferOffset

        public void setRadiusBufferOffset​(long value)
        Radius buffer offset. Must be a multiple of the radius format size and must be aligned to the platform's buffer offset alignment.
      • setRadiusFormat

        public void setRadiusFormat​(long value)
        Format of the radii in the radius buffer. Defaults to MTLAttributeFormatFloat.
      • setRadiusStride

        public void setRadiusStride​(long value)
        Stride, in bytes, between radii in the radius buffer. Must be a multiple of the radius format size. Defaults to 0 bytes, indicating that the radii are tightly packed.
      • setSegmentControlPointCount

        public void setSegmentControlPointCount​(long value)
        Number of control points per curve segment. Must be 2, 3, or 4.
      • setSegmentCount

        public void setSegmentCount​(long value)
        Number of curve segments
      • 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()