MetalAsyncReadback icon indicating copy to clipboard operation
MetalAsyncReadback copied to clipboard

Asynchronous GPU readback implementation for Unity on Metal (macOS/iOS)

MetalAsyncReadback

This is an example that shows how to asynchronously read back GPU data into the system memory in Unity running with the Metal graphics API mode (macOS/iOS).

This implementation is slightly different from the official implementation of AsyncGPUReadback. You have to manually manage compute buffers to avoid overwriting while readback.

The readback speed varies across systems; In general, MacBook and iOS devices with an integrated GPU are faster than Mac systems with a discrete GPU.