summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpool.h
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-05-09 15:56:06 -0400
committerprep <prep@lindenlab.com>2012-05-09 15:56:06 -0400
commit92ce47a1b21b3cc06d3d962394f44617a780ffbd (patch)
treeda41492c597ba5432af17b278cdd698b894085c1 /indra/newview/lldrawpool.h
parent88674e02ddaf8d300a0a65c216eaf304cbeb7c3a (diff)
Added support to disable a draw pool. When the movable option checkbox is selected we will now also cull the terrain draw pool.
Diffstat (limited to 'indra/newview/lldrawpool.h')
-rw-r--r--indra/newview/lldrawpool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/lldrawpool.h b/indra/newview/lldrawpool.h
index 64774d06df..977acf7aec 100644
--- a/indra/newview/lldrawpool.h
+++ b/indra/newview/lldrawpool.h
@@ -77,6 +77,9 @@ public:
S32 getId() const { return mId; }
U32 getType() const { return mType; }
+ BOOL getSkipRenderFlag() const { return mSkipRender;}
+ void setSkipRenderFlag( BOOL flag ) { mSkipRender = flag; }
+
virtual LLViewerTexture *getDebugTexture();
virtual void beginRenderPass( S32 pass );
virtual void endRenderPass( S32 pass );
@@ -113,6 +116,7 @@ protected:
S32 mVertexShaderLevel;
S32 mId;
U32 mType; // Type of draw pool
+ BOOL mSkipRender;
};
class LLRenderPass : public LLDrawPool