AsyncCaptureTest icon indicating copy to clipboard operation
AsyncCaptureTest copied to clipboard

Non-blocking screen capture example with asynchronous GPU readback

AsyncCaptureTest

screenshot

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.