From 92ce47a1b21b3cc06d3d962394f44617a780ffbd Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 9 May 2012 15:56:06 -0400 Subject: Added support to disable a draw pool. When the movable option checkbox is selected we will now also cull the terrain draw pool. --- indra/newview/lldrawpool.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/lldrawpool.h') 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 -- cgit v1.2.3