read(using:)
Retrieve the current contents of the buffer, for GPU reading.
Declaration
final func read(using commandBuffer: any MTLCommandBuffer) -> any MTLBufferRetrieve the current contents of the buffer, for GPU reading.
final func read(using commandBuffer: any MTLCommandBuffer) -> any MTLBuffer