aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolwater.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lldrawpoolwater.h')
-rw-r--r--linden/indra/newview/lldrawpoolwater.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpoolwater.h b/linden/indra/newview/lldrawpoolwater.h
index 38bf6cf..2e45868 100644
--- a/linden/indra/newview/lldrawpoolwater.h
+++ b/linden/indra/newview/lldrawpoolwater.h
@@ -35,7 +35,7 @@ class LLFace;
35class LLHeavenBody; 35class LLHeavenBody;
36class LLWaterSurface; 36class LLWaterSurface;
37 37
38class LLDrawPoolWater: public LLDrawPool 38class LLDrawPoolWater: public LLFacePool
39{ 39{
40protected: 40protected:
41 LLPointer<LLViewerImage> mHBTex[2]; 41 LLPointer<LLViewerImage> mHBTex[2];
@@ -44,6 +44,16 @@ protected:
44 44
45 const LLWaterSurface *mWaterSurface; 45 const LLWaterSurface *mWaterSurface;
46public: 46public:
47 static BOOL sSkipScreenCopy;
48 enum
49 {
50 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
51 LLVertexBuffer::MAP_NORMAL |
52 LLVertexBuffer::MAP_TEXCOORD
53 };
54
55 virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
56
47 enum 57 enum
48 { 58 {
49 SHADER_LEVEL_RIPPLE = 2, 59 SHADER_LEVEL_RIPPLE = 2,
@@ -64,7 +74,7 @@ public:
64 /*virtual*/ LLViewerImage *getDebugTexture(); 74 /*virtual*/ LLViewerImage *getDebugTexture();
65 /*virtual*/ LLColor3 getDebugColor() const; // For AGP debug display 75 /*virtual*/ LLColor3 getDebugColor() const; // For AGP debug display
66 76
67 void renderReflection(const LLFace* face); 77 void renderReflection(LLFace* face);
68 void shade(); 78 void shade();
69 void renderShaderSimple(); 79 void renderShaderSimple();
70 80