Pass:finishTally
EditFinishes a tally that was previously started with Pass:beginTally
. This will stop counting the number of pixels affected by draws.
The results for all the tallies in the pass can be copied to a Buffer
when the Pass finishes by setting a buffer with Pass:setTallyBuffer
.
index = Pass:finishTally()
Arguments
None
Returns
Name | Type | Description |
index | number | The index of the tally that was finished. |
Notes
There is currently a maximum of 256 tallies per pass.
If no tally is active, this function will error.