TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
constants.h
Go to the documentation of this file.
1 
8 #ifndef G3D_constants_h
9 #define G3D_constants_h
10 
11 #include "G3D/platform.h"
12 #include "G3D/enumclass.h"
13 #include "G3D/Any.h"
14 
15 namespace G3D {
16 
20 public:
21  enum Value {
22  POINTS = 0x0000,
23  LINES = 0x0001,
24  LINE_STRIP = 0x0003,
25  TRIANGLES = 0x0004,
26  TRIANGLE_STRIP = 0x0005,
27  TRIANGLE_FAN = 0x0006,
28  QUADS = 0x0007,
29  QUAD_STRIP = 0x0008,
30  PATCHES = 0x000E
31  };
32 
33 private:
34 
35  static const char* toString(int i, Value& v);
36 
38 
39 public:
40 
42 };
43 
44 
47 public:
48  enum Value {
51  NONE = 0,
52 
54  STATIC_ENV = 25,
55 
59 
63 
65  DYNAMIC_ENV = 75,
66 
68  BEST = 100
69  };
70 
71 private:
72 
73  static const char* toString(int i, Value& v);
74 
76 
77 public:
79 
80 };
81 
82 
85 public:
86 
87  enum Value {
89  NONE = 0,
90 
92  STATIC_ENV = 25,
93 
97 
99  DYNAMIC_ENV = 75,
100 
102  BEST = 100
103  };
104 
105 private:
106 
107  static const char* toString(int i, Value& v);
108 
110 
111 public:
113 };
114 
115 } // namespace G3D
116 
118 G3D_DECLARE_ENUM_CLASS_HASHCODE(G3D::RefractionQuality)
119 G3D_DECLARE_ENUM_CLASS_HASHCODE(G3D::MirrorQuality)
120 
121 #endif
122 
Value value
Definition: constants.h:109
Definition: constants.h:54
Definition: constants.h:68
Definition: constants.h:23
Value
Definition: constants.h:87
Value
Definition: constants.h:21
Definition: constants.h:28
static const char * toString(int i, Value &v)
Definition: constants.cpp:34
static const char * toString(int i, Value &v)
Definition: constants.cpp:24
#define G3D_DECLARE_ENUM_CLASS_HASHCODE(Classname)
Definition: enumclass.h:216
Definition: constants.h:89
Definition: constants.h:26
Definition: constants.h:96
Definition: constants.h:29
Definition: AABox.h:25
Definition: constants.h:92
Definition: constants.h:24
Definition: constants.h:58
static const char * toString(int i, Value &v)
Definition: constants.cpp:14
Definition: constants.h:25
Definition: constants.h:46
Value value
Definition: constants.h:37
Definition: constants.h:19
Value
Definition: constants.h:48
Definition: constants.h:51
Definition: constants.h:27
Value value
Definition: constants.h:75
G3D_DECLARE_ENUM_CLASS_METHODS(MirrorQuality)
Definition: constants.h:65
Definition: constants.h:84
G3D_DECLARE_ENUM_CLASS_METHODS(PrimitiveType)
Definition: constants.h:102
Definition: constants.h:99
G3D_DECLARE_ENUM_CLASS_METHODS(RefractionQuality)
Definition: constants.h:30
Definition: constants.h:22