AsyncCaptureTest
This is an example that shows how to use the asynchronous GPU readback API to capture renders without blocking the main thread.
Note that there is a trade-off between performance and latency -- it's only useful when a small amount of latency is acceptable. Screen capture is one of the best-fit case for the feature.