Experimental: this API is experimental and might be changed or removed in the future.

AsyncGPUReadbackRequest.WaitForCompletion

매뉴얼로 전환
public void WaitForCompletion ();

설명

Waits for completion of the request.

Calling AsyncGPUReadbackRequest.done on the request after this call, will always result in true whether the request has completed successfully or not. AsyncGPUReadbackRequest.hasError can be used to find out whether this request has been successful. Since WaitForCompletion stalls both GPU and CPU, calling this function will result in a large performance hit and should be used sparingly.