فهرست منبع

Move scissor/viewport to camera section maybe;

bjorn 2 سال پیش
والد
کامیت
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 {
-  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