Browse Source

rm fluff;

bjorn 3 years ago
parent
commit
5c7a036f57
3 changed files with 4 additions and 5 deletions
  1. 1 1
      api/init.lua
  2. 1 2
      api/lovr/graphics/Pass/init.lua
  3. 2 2
      guides/Distribution.md

+ 1 - 1
api/init.lua

@@ -9955,7 +9955,7 @@ return {
         {
           name = "Pass",
           summary = "A stream of graphics commands.",
-          description = "Pass objects are used to record commands for the GPU.  Commands can be recorded by calling functions on the Pass.  After recording a set of passes, they can be submitted for the GPU to process using `lovr.graphics.submit`.\n\nPass objects are **temporary** and only exist for a single frame.  Once `lovr.graphics.submit` is called to end the frame, any passes that were created during that frame become **invalid**. Each frame, a new set of passes must be created and recorded.  LÖVR tries to detect if you use a pass after it's invalid, but this error checking is not 100% accurate at the moment.\n\nThere are 3 types of passes.  Each type can record a specific type of command:\n\n- `render` passes render graphics to textures.  The `lovr.draw` callback receives a render pass\n  as an argument.\n- `compute` passes run compute shaders.\n- `transfer` passes can transfer data to/from GPU objects, like `Buffer` and `Texture`.",
+          description = "Pass objects are used to record commands for the GPU.  Commands can be recorded by calling functions on the Pass.  After recording a set of passes, they can be submitted for the GPU to process using `lovr.graphics.submit`.\n\nPass objects are **temporary** and only exist for a single frame.  Once `lovr.graphics.submit` is called to end the frame, any passes that were created during that frame become **invalid**. Each frame, a new set of passes must be created and recorded.  LÖVR tries to detect if you use a pass after it's invalid, but this error checking is not 100% accurate at the moment.\n\nThere are 3 types of passes.  Each type can record a specific type of command:\n\n- `render` passes render graphics to textures.\n- `compute` passes run compute shaders.\n- `transfer` passes can transfer data to/from GPU objects, like `Buffer` and `Texture`.",
           key = "Pass",
           module = "lovr.graphics",
           sections = {

+ 1 - 2
api/lovr/graphics/Pass/init.lua

@@ -12,8 +12,7 @@ return {
 
     There are 3 types of passes.  Each type can record a specific type of command:
 
-    - `render` passes render graphics to textures.  The `lovr.draw` callback receives a render pass
-      as an argument.
+    - `render` passes render graphics to textures.
     - `compute` passes run compute shaders.
     - `transfer` passes can transfer data to/from GPU objects, like `Buffer` and `Texture`.
   ]],

+ 2 - 2
guides/Distribution.md

@@ -1,8 +1,8 @@
 Distribution
 ===
 
-LÖVR projects can be exported to standalone executables or WebXR projects.  This guide will teach you
-how to export and distribute a project.
+LÖVR projects can be exported to standalone executables.  This guide will teach you how to export
+and distribute a project.
 
 Creating an Archive
 ---