aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolsimple.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:54 -0500
committerJacek Antonelli2008-08-15 23:44:54 -0500
commitb2afb8800bb033a04bb3ecdf0363068d56648ef1 (patch)
tree3568129b5bbddb47cd39d622b4137a8fbff4abaf /linden/indra/newview/lldrawpoolsimple.h
parentSecond Life viewer sources 1.14.0.1 (diff)
downloadmeta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.zip
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.gz
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.bz2
meta-impy-b2afb8800bb033a04bb3ecdf0363068d56648ef1.tar.xz
Second Life viewer sources 1.15.0.2
Diffstat (limited to 'linden/indra/newview/lldrawpoolsimple.h')
-rw-r--r--linden/indra/newview/lldrawpoolsimple.h21
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
54class LLDrawPoolGlow : public LLRenderPass
55{
56public:
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