|
@@ -13563,7 +13563,7 @@ return {
|
|
name = "tick",
|
|
name = "tick",
|
|
tag = "tallies",
|
|
tag = "tallies",
|
|
summary = "Start a GPU measurement.",
|
|
summary = "Start a GPU measurement.",
|
|
- description = "Starts a GPU measurement. One of the slots in a `Tally` object will be used to hold the result. Commands on the Pass will continue being measured until `Pass:tock` is called with the same tally and slot combination. Afterwards, `Pass:read` can be used to read back the tally result, or the tally can be copied to a `Buffer.",
|
|
|
|
|
|
+ description = "Starts a GPU measurement. One of the slots in a `Tally` object will be used to hold the result. Commands on the Pass will continue being measured until `Pass:tock` is called with the same tally and slot combination. Afterwards, `Pass:read` can be used to read back the tally result, or the tally can be copied to a `Buffer`.",
|
|
key = "Pass:tick",
|
|
key = "Pass:tick",
|
|
module = "lovr.graphics",
|
|
module = "lovr.graphics",
|
|
notes = "`pixel` and `shader` measurements can not be nested, but `time` measurements can be nested.\n\nFor `time` measurements, the view count of the pass (`Pass:getViewCount`) must match the view count of the tally, which defaults to `2`.",
|
|
notes = "`pixel` and `shader` measurements can not be nested, but `time` measurements can be nested.\n\nFor `time` measurements, the view count of the pass (`Pass:getViewCount`) must match the view count of the tally, which defaults to `2`.",
|
|
@@ -13594,7 +13594,7 @@ return {
|
|
name = "tock",
|
|
name = "tock",
|
|
tag = "tallies",
|
|
tag = "tallies",
|
|
summary = "Stop a GPU measurement.",
|
|
summary = "Stop a GPU measurement.",
|
|
- description = "Stops a GPU measurement. `Pass:tick` must be called to start the measurement before this can be called. Afterwards, `Pass:read` can be used to read back the tally result, or the tally can be copied to a `Buffer.",
|
|
|
|
|
|
+ description = "Stops a GPU measurement. `Pass:tick` must be called to start the measurement before this can be called. Afterwards, `Pass:read` can be used to read back the tally result, or the tally can be copied to a `Buffer`.",
|
|
key = "Pass:tock",
|
|
key = "Pass:tock",
|
|
module = "lovr.graphics",
|
|
module = "lovr.graphics",
|
|
related = {
|
|
related = {
|