Contents

instanceDescriptorType

The type of instance descriptor that the instance descriptor buffer references.

Declaration

var instanceDescriptorType: MTLAccelerationStructureInstanceDescriptorType { get set }

Discussion

This value determines the layout Metal expects for the structs the instance descriptor buffer contains:

The default value is MTLAccelerationStructureInstanceDescriptorType.indirect.