Browse Source

Fix ticktock;

bjorn 2 years ago
parent
commit
50794a2357
3 changed files with 4 additions and 4 deletions
  1. 2 2
      api/init.lua
  2. 1 1
      api/lovr/graphics/Pass/tick.lua
  3. 1 1
      api/lovr/graphics/Pass/tock.lua

+ 2 - 2
api/init.lua

@@ -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 = {

+ 1 - 1
api/lovr/graphics/Pass/tick.lua

@@ -5,7 +5,7 @@ return {
     Starts a GPU measurement.  One of the slots in a `Tally` object will be used to hold the result.
     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
     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,
     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.
+    or the tally can be copied to a `Buffer`.
   ]],
   ]],
   arguments = {
   arguments = {
     tally = {
     tally = {

+ 1 - 1
api/lovr/graphics/Pass/tock.lua

@@ -4,7 +4,7 @@ return {
   description = [[
   description = [[
     Stops a GPU measurement.  `Pass:tick` must be called to start the measurement before this can be
     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
     called.  Afterwards, `Pass:read` can be used to read back the tally result, or the tally can be
-    copied to a `Buffer.
+    copied to a `Buffer`.
   ]],
   ]],
   arguments = {
   arguments = {
     tally = {
     tally = {