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 lovr.graphics.submit or lovr.graphics.wait has not been called since the readback was created, the readback has not been submitted yet, so no wait will occur and this function will return false.