Browse Source

Update guiOffscreenCanvas.h

Variables to add depth in the .cpp file.
irei1as 8 năm trước cách đây
mục cha
commit
8b43ff3465
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      Engine/source/gui/core/guiOffscreenCanvas.h

+ 3 - 0
Engine/source/gui/core/guiOffscreenCanvas.h

@@ -56,6 +56,9 @@ protected:
 
    bool mTargetDirty;
    bool mDynamicTarget;
+   
+   bool mUseDepth;
+   GFXTexHandle mTargetDepth;
 
 public:
    static Vector<GuiOffscreenCanvas*> sList;