-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathE_ParameterStructs.h
198 lines (161 loc) · 10.8 KB
/
E_ParameterStructs.h
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/*
This file is part of the E_Rendering library.
Copyright (C) 2009-2012 Benjamin Eikel <[email protected]>
Copyright (C) 2009-2012 Claudius Jähn <[email protected]>
Copyright (C) 2009-2012 Ralf Petring <[email protected]>
This library is subject to the terms of the Mozilla Public License, v. 2.0.
You should have received a copy of the MPL along with this library; see the
file LICENSE. If not, you can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef E_ParameterStructs_H
#define E_ParameterStructs_H
#include <EScript/Objects/ReferenceObject.h>
#include <Rendering/RenderingContext/RenderingParameters.h>
#include <Util/References.h>
namespace E_Rendering{
namespace E_ParameterStructs{
void init(EScript::Namespace & lib);
/*! EScript wrapper for Rendering::AlphaTestParameters.
[E_AlphaTestParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_AlphaTestParameters : public EScript::ReferenceObject<Rendering::AlphaTestParameters> {
ES_PROVIDES_TYPE_NAME(AlphaTestParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_AlphaTestParameters(const Rendering::AlphaTestParameters & p) : EScript::ReferenceObject<Rendering::AlphaTestParameters>(p,getTypeObject()){
}
//! ---|> Object
E_AlphaTestParameters * clone() const override { return new E_AlphaTestParameters(ref()); }
};
/*! EScript wrapper for Rendering::BlendingParameters.
[E_BlendingParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_BlendingParameters : public EScript::ReferenceObject<Rendering::BlendingParameters> {
ES_PROVIDES_TYPE_NAME(BlendingParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_BlendingParameters(const Rendering::BlendingParameters & p) : EScript::ReferenceObject<Rendering::BlendingParameters>(p,getTypeObject()){
}
//! ---|> Object
E_BlendingParameters * clone() const override { return new E_BlendingParameters(ref()); }
};
/*! EScript wrapper for Rendering::CullFaceParameters.
[E_CullFaceParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_CullFaceParameters : public EScript::ReferenceObject<Rendering::CullFaceParameters> {
ES_PROVIDES_TYPE_NAME(CullFaceParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_CullFaceParameters(const Rendering::CullFaceParameters & p) : EScript::ReferenceObject<Rendering::CullFaceParameters>(p, getTypeObject()) {
}
//! ---|> Object
E_CullFaceParameters * clone() const override { return new E_CullFaceParameters(ref()); }
};
/*! EScript wrapper for Rendering::ImageBindParameters.
[E_ImageBindParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_ImageBindParameters : public EScript::ReferenceObject<Rendering::ImageBindParameters> {
ES_PROVIDES_TYPE_NAME(ImageBindParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
ERENDERINGAPI E_ImageBindParameters(const Rendering::ImageBindParameters & p);
ERENDERINGAPI virtual ~E_ImageBindParameters();
//! ---|> Object
E_ImageBindParameters * clone() const override { return new E_ImageBindParameters(ref()); }
};
/*! EScript wrapper for Rendering::LightingParameters.
[E_LightingParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_LightingParameters : public EScript::ReferenceObject<Rendering::LightingParameters> {
ES_PROVIDES_TYPE_NAME(LightingParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_LightingParameters(const Rendering::LightingParameters & p) : EScript::ReferenceObject<Rendering::LightingParameters>(p, getTypeObject()) {
}
//! ---|> Object
E_LightingParameters * clone() const override { return new E_LightingParameters(ref()); }
};
/*! EScript wrapper for Rendering::MaterialParameters.
[E_MaterialParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_MaterialParameters : public EScript::ReferenceObject<Rendering::MaterialParameters> {
ES_PROVIDES_TYPE_NAME(MaterialParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_MaterialParameters(const Rendering::MaterialParameters & p) : EScript::ReferenceObject<Rendering::MaterialParameters>(p, getTypeObject()) {
}
//! ---|> Object
E_MaterialParameters * clone() const override { return new E_MaterialParameters(ref()); }
};
/*! EScript wrapper for Rendering::PointParameters.
[E_PointParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_PointParameters : public EScript::ReferenceObject<Rendering::PointParameters> {
ES_PROVIDES_TYPE_NAME(PointParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_PointParameters(const Rendering::PointParameters & p) :
EScript::ReferenceObject<Rendering::PointParameters>(p, getTypeObject()) {}
virtual ~E_PointParameters(){}
//! ---|> Object
E_PointParameters * clone() const override { return new E_PointParameters(ref()); }
};
/*! EScript wrapper for Rendering::PolygonModeParameters.
[E_PolygonModeParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_PolygonModeParameters : public EScript::ReferenceObject<Rendering::PolygonModeParameters> {
ES_PROVIDES_TYPE_NAME(PolygonModeParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_PolygonModeParameters(const Rendering::PolygonModeParameters & p) : EScript::ReferenceObject<Rendering::PolygonModeParameters>(p,getTypeObject()){
}
//! ---|> Object
E_PolygonModeParameters * clone() const override { return new E_PolygonModeParameters(ref()); }
};
/*! EScript wrapper for Rendering::StencilParameters.
[E_StencilParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_StencilParameters : public EScript::ReferenceObject<Rendering::StencilParameters> {
ES_PROVIDES_TYPE_NAME(StencilParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_StencilParameters(const Rendering::StencilParameters & p) : EScript::ReferenceObject<Rendering::StencilParameters>(p,getTypeObject()){
}
//! ---|> Object
E_StencilParameters * clone() const override { return new E_StencilParameters(ref()); }
};
/*! EScript wrapper for Rendering::ScissorParameters.
[E_ScissorParameters] ---|> [ReferenceObject] ---|> [Object] */
class E_ScissorParameters : public EScript::ReferenceObject<Rendering::ScissorParameters> {
ES_PROVIDES_TYPE_NAME(ScissorParameters)
public:
ERENDERINGAPI static EScript::Type* getTypeObject();
E_ScissorParameters(const Rendering::ScissorParameters & p) : EScript::ReferenceObject<Rendering::ScissorParameters>(p, getTypeObject()) {
}
//! ---|> Object
E_ScissorParameters * clone() const override { return new E_ScissorParameters(ref()); }
};
}
}
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_AlphaTestParameters, Rendering::AlphaTestParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_AlphaTestParameters, Rendering::AlphaTestParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::AlphaTestParameters&, E_Rendering::E_ParameterStructs::E_AlphaTestParameters, new E_Rendering::E_ParameterStructs::E_AlphaTestParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_BlendingParameters, Rendering::BlendingParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_BlendingParameters, Rendering::BlendingParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::BlendingParameters&, E_Rendering::E_ParameterStructs::E_BlendingParameters, new E_Rendering::E_ParameterStructs::E_BlendingParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_CullFaceParameters, Rendering::CullFaceParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_CullFaceParameters, Rendering::CullFaceParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::CullFaceParameters&, E_Rendering::E_ParameterStructs::E_CullFaceParameters, new E_Rendering::E_ParameterStructs::E_CullFaceParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_ImageBindParameters, Rendering::ImageBindParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_ImageBindParameters, Rendering::ImageBindParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::ImageBindParameters&, E_Rendering::E_ParameterStructs::E_ImageBindParameters, new E_Rendering::E_ParameterStructs::E_ImageBindParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_LightingParameters, Rendering::LightingParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_LightingParameters, Rendering::LightingParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::LightingParameters&, E_Rendering::E_ParameterStructs::E_LightingParameters, new E_Rendering::E_ParameterStructs::E_LightingParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_MaterialParameters, Rendering::MaterialParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_MaterialParameters, Rendering::MaterialParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::MaterialParameters&, E_Rendering::E_ParameterStructs::E_MaterialParameters, new E_Rendering::E_ParameterStructs::E_MaterialParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_PointParameters, Rendering::PointParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_PointParameters, Rendering::PointParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::PointParameters&, E_Rendering::E_ParameterStructs::E_PointParameters, new E_Rendering::E_ParameterStructs::E_PointParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_PolygonModeParameters, Rendering::PolygonModeParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_PolygonModeParameters, Rendering::PolygonModeParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::PolygonModeParameters&, E_Rendering::E_ParameterStructs::E_PolygonModeParameters, new E_Rendering::E_ParameterStructs::E_PolygonModeParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_ScissorParameters, Rendering::ScissorParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_ScissorParameters, Rendering::ScissorParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::ScissorParameters&, E_Rendering::E_ParameterStructs::E_ScissorParameters, new E_Rendering::E_ParameterStructs::E_ScissorParameters(obj))
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_StencilParameters, Rendering::StencilParameters*, &**eObj)
ES_CONV_EOBJ_TO_OBJ(E_Rendering::E_ParameterStructs::E_StencilParameters, Rendering::StencilParameters&, **eObj)
ES_CONV_OBJ_TO_EOBJ(const Rendering::StencilParameters&, E_Rendering::E_ParameterStructs::E_StencilParameters, new E_Rendering::E_ParameterStructs::E_StencilParameters(obj))
#endif // E_ParameterStructs_H