lovr.graphics.newTally
Edit
Creates a new Tally.
tally = lovr.graphics.newTally(type, count, views)
Arguments
Name | Type | Default | Description |
type | TallyType | |
The type of the Tally, which controls what "thing" it measures.
|
count | number | |
The number of slots in the Tally. Each slot holds one measurement.
|
views | number | 2 |
Tally objects with the time type can only be used in render passes with a certain number of views. This is ignored for other types of tallies.
|
Returns
Name | Type | Description |
tally | Tally |
The new Tally.
|
See also
Pass:tick
Pass:tock
lovr.graphics