浏览代码

Move scissor/viewport to camera section maybe;

bjorn 1 年之前
父节点
当前提交
5106107ef1
共有 2 个文件被更改,包括 2 次插入2 次删除
  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 {
 return {
-  tag = 'pipeline',
+  tag = 'camera',
   summary = 'Set the scissor rectangle.',
   summary = 'Set the scissor rectangle.',
   description = [[
   description = [[
     Sets the scissor rectangle.  Any pixels outside the scissor rectangle will not be drawn.
     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 {
 return {
-  tag = 'pipeline',
+  tag = 'camera',
   summary = 'Set the viewport.',
   summary = 'Set the viewport.',
   description = [[
   description = [[
     Sets the viewport.  Everything rendered will get mapped to the rectangle defined by the
     Sets the viewport.  Everything rendered will get mapped to the rectangle defined by the