Package apple.metal

Class MTLAccelerationStructureMotionCurveGeometryDescriptor

    • Constructor Detail

      • MTLAccelerationStructureMotionCurveGeometryDescriptor

        protected MTLAccelerationStructureMotionCurveGeometryDescriptor​(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()
      • controlPointBuffers

        @NotNull
        public @NotNull NSArray<? extends MTLMotionKeyframeData> controlPointBuffers()
        Buffers containing curve control points for each keyframe. Each control point must be of the format specified by the control point format. Buffer offsets musts be multiples of the control point format's element size and must be aligned to the platform's buffer offset alignment. Must not be nil when the acceleration structure is built.
      • controlPointCount

        public long controlPointCount()
        Number of control points in the control point buffers
      • 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.
      • 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)
      • radiusBuffers

        @NotNull
        public @NotNull NSArray<? extends MTLMotionKeyframeData> radiusBuffers()
        Buffers containing the curve radius for each control point for each keyframe. Each radius must be of the type specified by the radius format. Buffer offsets must be multiples of the radius format size and must be aligned to the platform's buffer offset alignment. Each radius must be at least zero. Must not be nil when the acceleration structure is built.
      • 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 4 bytes. Defaults to 4 bytes.
      • 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
      • setControlPointBuffers

        public void setControlPointBuffers​(@NotNull
                                           @NotNull NSArray<? extends MTLMotionKeyframeData> value)
        Buffers containing curve control points for each keyframe. Each control point must be of the format specified by the control point format. Buffer offsets musts be multiples of the control point format's element size and must be aligned to the platform's buffer offset alignment. Must not be nil when the acceleration structure is built.
      • setControlPointCount

        public void setControlPointCount​(long value)
        Number of control points in the control point buffers
      • 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.
      • 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
      • setRadiusBuffers

        public void setRadiusBuffers​(@NotNull
                                     @NotNull NSArray<? extends MTLMotionKeyframeData> value)
        Buffers containing the curve radius for each control point for each keyframe. Each radius must be of the type specified by the radius format. Buffer offsets must be multiples of the radius format size and must be aligned to the platform's buffer offset alignment. Each radius must be at least zero. Must not be nil when the acceleration structure is built.
      • 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 4 bytes. Defaults to 4 bytes.
      • 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()