read(commandBuffer:)
Returns a MTLBuffer for GPU-side read access to the transform data.
Declaration
final func read(commandBuffer: (any MTLCommandBuffer)?) -> any MTLBufferParameters
- commandBuffer:
The command buffer using this buffer, or
nilto skip synchronization.
Return Value
An MTLBuffer containing the current transform data.