lovr.graphics.newTally

Creates a new Tally.

tally = lovr.graphics.newTally(type, count, views)

Arguments

NameTypeDefaultDescription
typeTallyType The type of the Tally, which controls what "thing" it measures.
countnumber The number of slots in the Tally. Each slot holds one measurement.
viewsnumber2 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

NameTypeDescription
tallyTally The new Tally.

See also