文档

Unity Engine

Unity Engine

AsyncGPUReadback

Allows the asynchronous read back of GPU resources.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static class AsyncGPUReadback

Remarks

This class is used to copy resource data from the GPU to the CPU without any stall (GPU or CPU), but adds a few frames of latency. Additional Resources: AsyncGPUReadbackRequest.

Static Methods

Method

Description

RequestRetrieves data asynchronously from a GPU resource.
RequestAsyncRetrieves data asynchronously from a GPU resource.
RequestIntoNativeArrayRetrieves data asynchronously from a GPU Graphics Buffer resource.
RequestIntoNativeArrayAsyncRetrieves data asynchronously from a GPU Graphics Buffer resource.
RequestIntoNativeSliceRetrieves data asynchronously from a GPU Graphics Buffer resource.
RequestIntoNativeSliceAsyncRetrieves data asynchronously from a GPU Graphics Buffer resource.
WaitAllRequestsWaits until the completion of every request.