Readback:wait
EditBlocks the CPU until the Readback is finished on the GPU.
waited = Readback:wait()
Arguments
None
Returns
Name | Type | Description |
waited | boolean | Whether the CPU had to be blocked for waiting. |
Notes
If the transfer pass that created the readback has not been submitted yet, no wait will occur and this function will return false
.
See also
Readback