Readback:getData
EditReturns the data from the Readback, as a table.
data = Readback:getData()
Arguments
None
Returns
Name | Type | Description |
data | table | A flat table of numbers containing the values that were read back. |
Notes
This currently returns nil
for readbacks of Buffer
and Texture
objects. Only readbacks of Tally
objects return valid data.
For time
and pixel
tallies, the table will have 1 number per slot that was read. For shader
tallies, there will be 4 numbers for each slot.
See also
Readback:getBlob
Readback:getImage
Readback