Contents

MTLMotionKeyframeData

Geometry data for a specific keyframe to use in a moving instance.

Declaration

class MTLMotionKeyframeData

Overview

An MTLMotionKeyframeData instance describes the location of geometry data for a keyframe. The exact type of data can vary, depending on which kind of motion descriptor you create. For an MTLAccelerationStructureMotionBoundingBoxGeometryDescriptor instance, the buffer data is a list of bounding boxes. For an MTLAccelerationStructureMotionTriangleGeometryDescriptor, the buffer data is a list of vertices.

Topics

Specifying the keyframe data

See Also

Motion geometry descriptors