aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolwater.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/lldrawpoolwater.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 '')
-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