diff options
Diffstat (limited to 'libraries/irrlicht-1.8/include/EShaderTypes.h')
-rw-r--r-- | libraries/irrlicht-1.8/include/EShaderTypes.h | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/include/EShaderTypes.h b/libraries/irrlicht-1.8/include/EShaderTypes.h new file mode 100644 index 0000000..29eef56 --- /dev/null +++ b/libraries/irrlicht-1.8/include/EShaderTypes.h | |||
@@ -0,0 +1,90 @@ | |||
1 | #ifndef __E_SHADER_TYPES_H_INCLUDED__ | ||
2 | #define __E_SHADER_TYPES_H_INCLUDED__ | ||
3 | |||
4 | #include "irrTypes.h" | ||
5 | |||
6 | namespace irr | ||
7 | { | ||
8 | namespace video | ||
9 | { | ||
10 | |||
11 | //! Compile target enumeration for the addHighLevelShaderMaterial() method. | ||
12 | enum E_VERTEX_SHADER_TYPE | ||
13 | { | ||
14 | EVST_VS_1_1 = 0, | ||
15 | EVST_VS_2_0, | ||
16 | EVST_VS_2_a, | ||
17 | EVST_VS_3_0, | ||
18 | EVST_VS_4_0, | ||
19 | EVST_VS_4_1, | ||
20 | EVST_VS_5_0, | ||
21 | |||
22 | //! This is not a type, but a value indicating how much types there are. | ||
23 | EVST_COUNT | ||
24 | }; | ||
25 | |||
26 | //! Names for all vertex shader types, each entry corresponds to a E_VERTEX_SHADER_TYPE entry. | ||
27 | const c8* const VERTEX_SHADER_TYPE_NAMES[] = { | ||
28 | "vs_1_1", | ||
29 | "vs_2_0", | ||
30 | "vs_2_a", | ||
31 | "vs_3_0", | ||
32 | "vs_4_0", | ||
33 | "vs_4_1", | ||
34 | "vs_5_0", | ||
35 | 0 }; | ||
36 | |||
37 | //! Compile target enumeration for the addHighLevelShaderMaterial() method. | ||
38 | enum E_PIXEL_SHADER_TYPE | ||
39 | { | ||
40 | EPST_PS_1_1 = 0, | ||
41 | EPST_PS_1_2, | ||
42 | EPST_PS_1_3, | ||
43 | EPST_PS_1_4, | ||
44 | EPST_PS_2_0, | ||
45 | EPST_PS_2_a, | ||
46 | EPST_PS_2_b, | ||
47 | EPST_PS_3_0, | ||
48 | EPST_PS_4_0, | ||
49 | EPST_PS_4_1, | ||
50 | EPST_PS_5_0, | ||
51 | |||
52 | //! This is not a type, but a value indicating how much types there are. | ||
53 | EPST_COUNT | ||
54 | }; | ||
55 | |||
56 | //! Names for all pixel shader types, each entry corresponds to a E_PIXEL_SHADER_TYPE entry. | ||
57 | const c8* const PIXEL_SHADER_TYPE_NAMES[] = { | ||
58 | "ps_1_1", | ||
59 | "ps_1_2", | ||
60 | "ps_1_3", | ||
61 | "ps_1_4", | ||
62 | "ps_2_0", | ||
63 | "ps_2_a", | ||
64 | "ps_2_b", | ||
65 | "ps_3_0", | ||
66 | "ps_4_0", | ||
67 | "ps_4_1", | ||
68 | "ps_5_0", | ||
69 | 0 }; | ||
70 | |||
71 | //! Enum for supported geometry shader types | ||
72 | enum E_GEOMETRY_SHADER_TYPE | ||
73 | { | ||
74 | EGST_GS_4_0 = 0, | ||
75 | |||
76 | //! This is not a type, but a value indicating how much types there are. | ||
77 | EGST_COUNT | ||
78 | }; | ||
79 | |||
80 | //! String names for supported geometry shader types | ||
81 | const c8* const GEOMETRY_SHADER_TYPE_NAMES[] = { | ||
82 | "gs_4_0", | ||
83 | 0 }; | ||
84 | |||
85 | |||
86 | } // end namespace video | ||
87 | } // end namespace irr | ||
88 | |||
89 | #endif // __E_SHADER_TYPES_H_INCLUDED__ | ||
90 | |||