Browse Source

Move scissor/viewport to camera section maybe;

bjorn 1 year ago
parent
commit
5106107ef1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      api/lovr/graphics/Pass/setScissor.lua
  2. 1 1
      api/lovr/graphics/Pass/setViewport.lua

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

@@ -1,5 +1,5 @@
 return {
-  tag = 'pipeline',
+  tag = 'camera',
   summary = 'Set the scissor rectangle.',
   description = [[
     Sets the scissor rectangle.  Any pixels outside the scissor rectangle will not be drawn.

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

@@ -1,5 +1,5 @@
 return {
-  tag = 'pipeline',
+  tag = 'camera',
   summary = 'Set the viewport.',
   description = [[
     Sets the viewport.  Everything rendered will get mapped to the rectangle defined by the