File: EVertexAttributes.h

package info (click to toggle)
supertuxkart 1.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 767,580 kB
  • sloc: cpp: 412,075; xml: 106,334; ansic: 83,792; asm: 1,559; python: 1,403; sh: 1,366; objc: 452; makefile: 333; javascript: 23; awk: 20
file content (38 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (6)
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
37
38
#ifndef __E_VERTEX_ATTRIBUTES_H_INCLUDED__
#define __E_VERTEX_ATTRIBUTES_H_INCLUDED__

namespace irr
{
namespace video
{

//! Enumeration for all vertex attibutes there are.
enum E_VERTEX_ATTRIBUTES
{
	EVA_POSITION = 0,
	EVA_NORMAL,
	EVA_COLOR,
	EVA_TCOORD0,
	EVA_TCOORD1,
	EVA_TANGENT,
	EVA_BINORMAL,
	EVA_COUNT
};

//! Array holding the built in vertex attribute names
const char* const sBuiltInVertexAttributeNames[] =
{
	"inVertexPosition",
	"inVertexNormal",
	"inVertexColor",
	"inTexCoord0",
	"inTexCoord1",
	"inVertexTangent",
	"inVertexBinormal",
	0
};

} // end namespace video
} // end namespace irr

#endif //__E_VERTEX_ATTRIBUTES_H_INCLUDED__