Contents

MTL4InstanceAccelerationStructureDescriptor

Descriptor for an instance acceleration structure.

Declaration

class MTL4InstanceAccelerationStructureDescriptor

Overview

An instance acceleration structure references other acceleration structures, and provides the ability to “instantiate” them multiple times, each one with potentially a different transformation matrix.

You specify the properties of the instances in the acceleration structure this descriptor builds by providing a buffer of structs via its instanceDescriptorBuffer property.

Use a MTLResidencySet to mark residency of all buffers and acceleration structures this descriptor references when you build this acceleration structure.

Topics

Instance Properties

See Also

Acceleration structures