aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpooltree.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lldrawpooltree.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpooltree.h b/linden/indra/newview/lldrawpooltree.h
index 5b4eb67..6e00460 100644
--- a/linden/indra/newview/lldrawpooltree.h
+++ b/linden/indra/newview/lldrawpooltree.h
@@ -30,10 +30,19 @@
30 30
31#include "lldrawpool.h" 31#include "lldrawpool.h"
32 32
33class LLDrawPoolTree : public LLDrawPool 33class LLDrawPoolTree : public LLFacePool
34{ 34{
35 LLPointer<LLViewerImage> mTexturep; 35 LLPointer<LLViewerImage> mTexturep;
36public: 36public:
37 enum
38 {
39 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
40 LLVertexBuffer::MAP_NORMAL |
41 LLVertexBuffer::MAP_TEXCOORD
42 };
43
44 virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
45
37 LLDrawPoolTree(LLViewerImage *texturep); 46 LLDrawPoolTree(LLViewerImage *texturep);
38 47
39 /*virtual*/ LLDrawPool *instancePool(); 48 /*virtual*/ LLDrawPool *instancePool();
@@ -43,7 +52,6 @@ public:
43 /*virtual*/ void render(S32 pass = 0); 52 /*virtual*/ void render(S32 pass = 0);
44 /*virtual*/ void endRenderPass( S32 pass ); 53 /*virtual*/ void endRenderPass( S32 pass );
45 /*virtual*/ void renderForSelect(); 54 /*virtual*/ void renderForSelect();
46 /*virtual*/ S32 rebuild();
47 /*virtual*/ BOOL verify() const; 55 /*virtual*/ BOOL verify() const;
48 /*virtual*/ LLViewerImage *getTexture(); 56 /*virtual*/ LLViewerImage *getTexture();
49 /*virtual*/ LLViewerImage *getDebugTexture(); 57 /*virtual*/ LLViewerImage *getDebugTexture();