diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/lldrawpoolalpha.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/lldrawpoolalpha.h')
-rw-r--r-- | linden/indra/newview/lldrawpoolalpha.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/linden/indra/newview/lldrawpoolalpha.h b/linden/indra/newview/lldrawpoolalpha.h index c7709f7..4318045 100644 --- a/linden/indra/newview/lldrawpoolalpha.h +++ b/linden/indra/newview/lldrawpoolalpha.h | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | class LLFace; | 38 | class LLFace; |
39 | class LLColor4; | 39 | class LLColor4; |
40 | class LLGLSLShader; | ||
40 | 41 | ||
41 | class LLDrawPoolAlpha: public LLRenderPass | 42 | class LLDrawPoolAlpha: public LLRenderPass |
42 | { | 43 | { |
@@ -54,15 +55,26 @@ public: | |||
54 | /*virtual*/ ~LLDrawPoolAlpha(); | 55 | /*virtual*/ ~LLDrawPoolAlpha(); |
55 | 56 | ||
56 | /*virtual*/ void beginRenderPass(S32 pass = 0); | 57 | /*virtual*/ void beginRenderPass(S32 pass = 0); |
58 | /*virtual*/ void endRenderPass( S32 pass ); | ||
59 | /*virtual*/ S32 getNumPasses() { return 1; } | ||
60 | |||
57 | virtual void render(S32 pass = 0); | 61 | virtual void render(S32 pass = 0); |
58 | void render(std::vector<LLSpatialGroup*>& groups); | ||
59 | /*virtual*/ void prerender(); | 62 | /*virtual*/ void prerender(); |
60 | 63 | ||
61 | void renderGroupAlpha(LLSpatialGroup* group, U32 type, U32 mask, BOOL texture = TRUE); | 64 | void renderGroupAlpha(LLSpatialGroup* group, U32 type, U32 mask, BOOL texture = TRUE); |
62 | void renderAlpha(U32 mask, std::vector<LLSpatialGroup*>& groups); | 65 | void renderAlpha(U32 mask); |
63 | void renderAlphaHighlight(U32 mask, std::vector<LLSpatialGroup*>& groups); | 66 | void renderAlphaHighlight(U32 mask); |
64 | 67 | ||
65 | static BOOL sShowDebugAlpha; | 68 | static BOOL sShowDebugAlpha; |
69 | |||
70 | private: | ||
71 | S32 mDiffuse; | ||
72 | LLGLSLShader* current_shader; | ||
73 | LLGLSLShader* target_shader; | ||
74 | LLGLSLShader* simple_shader; | ||
75 | LLGLSLShader* simple_lod_shader; | ||
76 | LLGLSLShader* fullbright_shader; | ||
77 | LLGLSLShader* fullbright_lod_shader; | ||
66 | }; | 78 | }; |
67 | 79 | ||
68 | class LLDrawPoolAlphaPostWater : public LLDrawPoolAlpha | 80 | class LLDrawPoolAlphaPostWater : public LLDrawPoolAlpha |