aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolterrain.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/lldrawpoolterrain.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/newview/lldrawpoolterrain.h')
-rw-r--r--linden/indra/newview/lldrawpoolterrain.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/linden/indra/newview/lldrawpoolterrain.h b/linden/indra/newview/lldrawpoolterrain.h
index b1185a5..19d09e2 100644
--- a/linden/indra/newview/lldrawpoolterrain.h
+++ b/linden/indra/newview/lldrawpoolterrain.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -42,12 +43,14 @@ public:
42 { 43 {
43 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | 44 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
44 LLVertexBuffer::MAP_NORMAL | 45 LLVertexBuffer::MAP_NORMAL |
45 LLVertexBuffer::MAP_TEXCOORD | 46 LLVertexBuffer::MAP_TEXCOORD0 |
47 LLVertexBuffer::MAP_TEXCOORD1 |
46 LLVertexBuffer::MAP_TEXCOORD2 | 48 LLVertexBuffer::MAP_TEXCOORD2 |
49 LLVertexBuffer::MAP_TEXCOORD3 |
47 LLVertexBuffer::MAP_COLOR 50 LLVertexBuffer::MAP_COLOR
48 }; 51 };
49 52
50 virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } 53 virtual U32 getVertexDataMask();
51 static S32 getDetailMode(); 54 static S32 getDetailMode();
52 55
53 LLDrawPoolTerrain(LLViewerImage *texturep); 56 LLDrawPoolTerrain(LLViewerImage *texturep);
@@ -55,6 +58,15 @@ public:
55 58
56 /*virtual*/ LLDrawPool *instancePool(); 59 /*virtual*/ LLDrawPool *instancePool();
57 60
61 /*virtual*/ S32 getNumDeferredPasses() { return 1; }
62 /*virtual*/ void beginDeferredPass(S32 pass);
63 /*virtual*/ void endDeferredPass(S32 pass);
64 /*virtual*/ void renderDeferred(S32 pass);
65
66 /*virtual*/ S32 getNumShadowPasses() { return 1; }
67 /*virtual*/ void beginShadowPass(S32 pass);
68 /*virtual*/ void endShadowPass(S32 pass);
69 /*virtual*/ void renderShadow(S32 pass);
58 70
59 /*virtual*/ void render(S32 pass = 0); 71 /*virtual*/ void render(S32 pass = 0);
60 /*virtual*/ void prerender(); 72 /*virtual*/ void prerender();