transformationMatrixBuffer
Assigns an optional reference to a buffer containing a float4x3 transformation matrix.
Declaration
var transformationMatrixBuffer: MTL4BufferRange { get set }Discussion
When the buffer address is non-zero, Metal applies this transform to the vertex data positions when building the acceleration structure.
Building an acceleration structure with a descriptor that specifies this property doesn’t modify the contents of the input vertexBuffer.