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