1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __E_ATTRIBUTES_H_INCLUDED__
6 #define __E_ATTRIBUTES_H_INCLUDED__
7 
8 namespace irr
9 {
10 namespace io
11 {
12 
13 //! Types of attributes available for IAttributes
14 enum E_ATTRIBUTE_TYPE
15 {
16 	// integer attribute
17 	EAT_INT = 0,
18 
19 	// float attribute
20 	EAT_FLOAT,
21 
22 	// string attribute
23 	EAT_STRING,
24 
25 	// boolean attribute
26 	EAT_BOOL,
27 
28 	// enumeration attribute
29 	EAT_ENUM,
30 
31 	// color attribute
32 	EAT_COLOR,
33 
34 	// floating point color attribute
35 	EAT_COLORF,
36 
37 	// 3d vector attribute
38 	EAT_VECTOR3D,
39 
40 	// 2d position attribute
41 	EAT_POSITION2D,
42 
43 	// vector 2d attribute
44 	EAT_VECTOR2D,
45 
46 	// rectangle attribute
47 	EAT_RECT,
48 
49 	// matrix attribute
50 	EAT_MATRIX,
51 
52 	// quaternion attribute
53 	EAT_QUATERNION,
54 
55 	// 3d bounding box
56 	EAT_BBOX,
57 
58 	// plane
59 	EAT_PLANE,
60 
61 	// 3d triangle
62 	EAT_TRIANGLE3D,
63 
64 	// line 2d
65 	EAT_LINE2D,
66 
67 	// line 3d
68 	EAT_LINE3D,
69 
70 	// array of stringws attribute
71 	EAT_STRINGWARRAY,
72 
73 	// array of float
74 	EAT_FLOATARRAY,
75 
76 	// array of int
77 	EAT_INTARRAY,
78 
79 	// binary data attribute
80 	EAT_BINARY,
81 
82 	// texture reference attribute
83 	EAT_TEXTURE,
84 
85 	// user pointer void*
86 	EAT_USER_POINTER,
87 
88 	// dimension attribute
89 	EAT_DIMENSION2D,
90 
91 	// known attribute type count
92 	EAT_COUNT,
93 
94 	// unknown attribute
95 	EAT_UNKNOWN
96 };
97 
98 } // end namespace io
99 } // end namespace irr
100 
101 #endif
102