summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolground.h
blob: 3436b9aabde0c5eb5b202bc8bac842995051871d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/** 
 * @file lldrawpoolground.h
 * @brief LLDrawPoolGround class definition
 *
 * Copyright (c) 2002-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLDRAWPOOLGROUND_H
#define LL_LLDRAWPOOLGROUND_H

#include "lldrawpool.h"


class LLDrawPoolGround : public LLFacePool
{
public:
	enum
	{
		VERTEX_DATA_MASK =	LLVertexBuffer::MAP_VERTEX |
							LLVertexBuffer::MAP_TEXCOORD
	};

	virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }

	LLDrawPoolGround();

	/*virtual*/ LLDrawPool *instancePool();
	virtual S32 getMaterialAttribIndex() { return 0; }

	/*virtual*/ void prerender();
	/*virtual*/ void render(S32 pass = 0);
	/*virtual*/ void renderForSelect();
};

#endif // LL_LLDRAWPOOLGROUND_H