diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/lldrawpool.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-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/lldrawpool.h')
-rw-r--r-- | linden/indra/newview/lldrawpool.h | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/linden/indra/newview/lldrawpool.h b/linden/indra/newview/lldrawpool.h index 30049ec..87c3cca 100644 --- a/linden/indra/newview/lldrawpool.h +++ b/linden/indra/newview/lldrawpool.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, |
@@ -57,6 +58,8 @@ public: | |||
57 | POOL_SKY, | 58 | POOL_SKY, |
58 | POOL_WL_SKY, | 59 | POOL_WL_SKY, |
59 | POOL_GROUND, | 60 | POOL_GROUND, |
61 | POOL_GRASS, | ||
62 | POOL_FULLBRIGHT, | ||
60 | POOL_BUMP, | 63 | POOL_BUMP, |
61 | POOL_INVISIBLE, | 64 | POOL_INVISIBLE, |
62 | POOL_AVATAR, | 65 | POOL_AVATAR, |
@@ -77,7 +80,23 @@ public: | |||
77 | virtual LLViewerImage *getDebugTexture(); | 80 | virtual LLViewerImage *getDebugTexture(); |
78 | virtual void beginRenderPass( S32 pass ); | 81 | virtual void beginRenderPass( S32 pass ); |
79 | virtual void endRenderPass( S32 pass ); | 82 | virtual void endRenderPass( S32 pass ); |
80 | virtual S32 getNumPasses() { return 1; } | 83 | virtual S32 getNumPasses(); |
84 | |||
85 | virtual void beginDeferredPass(S32 pass); | ||
86 | virtual void endDeferredPass(S32 pass); | ||
87 | virtual S32 getNumDeferredPasses(); | ||
88 | virtual void renderDeferred(S32 pass = 0); | ||
89 | |||
90 | virtual void beginPostDeferredPass(S32 pass); | ||
91 | virtual void endPostDeferredPass(S32 pass); | ||
92 | virtual S32 getNumPostDeferredPasses(); | ||
93 | virtual void renderPostDeferred(S32 pass = 0); | ||
94 | |||
95 | virtual void beginShadowPass(S32 pass); | ||
96 | virtual void endShadowPass(S32 pass); | ||
97 | virtual S32 getNumShadowPasses(); | ||
98 | virtual void renderShadow(S32 pass = 0); | ||
99 | |||
81 | virtual void render(S32 pass = 0) = 0; | 100 | virtual void render(S32 pass = 0) = 0; |
82 | virtual void prerender() = 0; | 101 | virtual void prerender() = 0; |
83 | virtual U32 getVertexDataMask() = 0; | 102 | virtual U32 getVertexDataMask() = 0; |
@@ -111,6 +130,9 @@ public: | |||
111 | PASS_BUMP, | 130 | PASS_BUMP, |
112 | PASS_GLOW, | 131 | PASS_GLOW, |
113 | PASS_ALPHA, | 132 | PASS_ALPHA, |
133 | PASS_ALPHA_MASK, | ||
134 | PASS_FULLBRIGHT_ALPHA_MASK, | ||
135 | PASS_ALPHA_SHADOW, | ||
114 | NUM_RENDER_TYPES, | 136 | NUM_RENDER_TYPES, |
115 | }; | 137 | }; |
116 | 138 | ||