2
0
Эх сурвалжийг харах

Move scissor/viewport to camera section maybe;

bjorn 1 жил өмнө
parent
commit
5106107ef1

+ 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