aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpooltree.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lldrawpooltree.h
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/lldrawpooltree.h')
-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();