Contents

read(commandBuffer:)

Returns a MTLBuffer for GPU-side read access to the transform data.

Declaration

final func read(commandBuffer: (any MTLCommandBuffer)?) -> any MTLBuffer

Parameters

  • commandBuffer:

    The command buffer using this buffer, or nil to skip synchronization.

Return Value

An MTLBuffer containing the current transform data.

See Also

Reading transform data