浏览代码

Update guiOffscreenCanvas.h

Variables to add depth in the .cpp file.
irei1as 8 年之前
父节点
当前提交
8b43ff3465
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;