instanceDescriptorType
Controls 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.
Defaults to MTLAccelerationStructureInstanceDescriptorTypeIndirect. Valid values for this property are MTLAccelerationStructureInstanceDescriptorTypeIndirect or MTLAccelerationStructureInstanceDescriptorTypeIndirectMotion.