Readback:wait

Blocks the CPU until the Readback is finished on the GPU.

waited = Readback:wait()

Arguments

None

Returns

NameTypeDescription
waitedboolean 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