diff options
Diffstat (limited to 'linden/indra/newview/lldrawpoolsimple.h')
-rw-r--r-- | linden/indra/newview/lldrawpoolsimple.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawpoolsimple.h b/linden/indra/newview/lldrawpoolsimple.h index 85dcacf..a482b28 100644 --- a/linden/indra/newview/lldrawpoolsimple.h +++ b/linden/indra/newview/lldrawpoolsimple.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -50,4 +51,24 @@ public: | |||
50 | 51 | ||
51 | }; | 52 | }; |
52 | 53 | ||
54 | class LLDrawPoolGlow : public LLRenderPass | ||
55 | { | ||
56 | public: | ||
57 | LLDrawPoolGlow(): LLRenderPass(LLDrawPool::POOL_GLOW) { } | ||
58 | |||
59 | enum | ||
60 | { | ||
61 | VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | | ||
62 | LLVertexBuffer::MAP_TEXCOORD | ||
63 | }; | ||
64 | |||
65 | virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } | ||
66 | |||
67 | virtual void prerender() { } | ||
68 | |||
69 | void render(S32 pass = 0); | ||
70 | void pushBatch(LLDrawInfo& params, U32 mask, BOOL texture = TRUE); | ||
71 | |||
72 | }; | ||
73 | |||
53 | #endif // LL_LLDRAWPOOLSIMPLE_H | 74 | #endif // LL_LLDRAWPOOLSIMPLE_H |