1+ #pragma once
2+
3+ //
4+ // This file auto-generated with generate-enums.js
5+ // Date: Thu Jan 25 2018 04:46:33 GMT+0100 (CET)
6+ //
7+
8+ #include " xwidgets/xeither.hpp"
9+
10+ namespace xthree {
11+ namespace xenums {
12+
13+ auto Equations = XEITHER(
14+ " AddEquation" ,
15+ " SubtractEquation" ,
16+ " ReverseSubtractEquation" ,
17+ " MinEquation" ,
18+ " MaxEquation" ,
19+ );
20+
21+ auto BlendFactors = XEITHER(
22+ " ZeroFactor" ,
23+ " OneFactor" ,
24+ " SrcColorFactor" ,
25+ " OneMinusSrcColorFactor" ,
26+ " SrcAlphaFactor" ,
27+ " OneMinusSrcAlphaFactor" ,
28+ " DstAlphaFactor" ,
29+ " OneMinusDstAlphaFactor" ,
30+ " DstColorFactor" ,
31+ " OneMinusDstColorFactor" ,
32+ " SrcAlphaSaturateFactor" ,
33+ );
34+
35+ auto Side = XEITHER(
36+ " FrontSide" ,
37+ " BackSide" ,
38+ " DoubleSide" ,
39+ );
40+
41+ auto Shading = XEITHER(
42+ " FlatShading" ,
43+ " SmoothShading" ,
44+ );
45+
46+ auto Colors = XEITHER(
47+ " NoColors" ,
48+ " FaceColors" ,
49+ " VertexColors" ,
50+ );
51+
52+ auto BlendingMode = XEITHER(
53+ " NoBlending" ,
54+ " NormalBlending" ,
55+ " AdditiveBlending" ,
56+ " SubtractiveBlending" ,
57+ " MultiplyBlending" ,
58+ " CustomBlending" ,
59+ );
60+
61+ auto DepthMode = XEITHER(
62+ " NeverDepth" ,
63+ " AlwaysDepth" ,
64+ " LessDepth" ,
65+ " LessEqualDepth" ,
66+ " EqualDepth" ,
67+ " GreaterEqualDepth" ,
68+ " GreaterDepth" ,
69+ " NotEqualDepth" ,
70+ );
71+
72+ auto Operations = XEITHER(
73+ " MultiplyOperation" ,
74+ " MixOperation" ,
75+ " AddOperation" ,
76+ );
77+
78+ auto MappingModes = XEITHER(
79+ " UVMapping" ,
80+ " CubeReflectionMapping" ,
81+ " CubeRefractionMapping" ,
82+ " EquirectangularReflectionMapping" ,
83+ " EquirectangularRefractionMapping" ,
84+ " SphericalReflectionMapping" ,
85+ " CubeUVReflectionMapping" ,
86+ " CubeUVRefractionMapping" ,
87+ );
88+
89+ auto WrappingModes = XEITHER(
90+ " RepeatWrapping" ,
91+ " ClampToEdgeWrapping" ,
92+ " MirroredRepeatWrapping" ,
93+ );
94+
95+ auto Filters = XEITHER(
96+ " NearestFilter" ,
97+ " NearestMipMapNearestFilter" ,
98+ " NearestMipMapLinearFilter" ,
99+ " LinearFilter" ,
100+ " LinearMipMapNearestFilter" ,
101+ " LinearMipMapLinearFilter" ,
102+ );
103+
104+ auto DataTypes = XEITHER(
105+ " UnsignedByteType" ,
106+ " ByteType" ,
107+ " ShortType" ,
108+ " UnsignedShortType" ,
109+ " IntType" ,
110+ " UnsignedIntType" ,
111+ " FloatType" ,
112+ " HalfFloatType" ,
113+ );
114+
115+ auto PixelTypes = XEITHER(
116+ " UnsignedShort4444Type" ,
117+ " UnsignedShort5551Type" ,
118+ " UnsignedShort565Type" ,
119+ " UnsignedInt248Type" ,
120+ );
121+
122+ auto PixelFormats = XEITHER(
123+ " AlphaFormat" ,
124+ " RGBFormat" ,
125+ " RGBAFormat" ,
126+ " LuminanceFormat" ,
127+ " LuminanceAlphaFormat" ,
128+ " DepthFormat" ,
129+ " DepthStencilFormat" ,
130+ );
131+
132+ auto DepthFormats = XEITHER(
133+ " DepthFormat" ,
134+ " DepthStencilFormat" ,
135+ );
136+
137+ auto CompressedTextureFormats = XEITHER(
138+ " RGB_S3TC_DXT1_Format" ,
139+ " RGBA_S3TC_DXT1_Format" ,
140+ " RGBA_S3TC_DXT3_Format" ,
141+ " RGBA_S3TC_DXT5_Format" ,
142+ " RGB_PVRTC_4BPPV1_Format" ,
143+ " RGB_PVRTC_2BPPV1_Format" ,
144+ " RGBA_PVRTC_4BPPV1_Format" ,
145+ " RGBA_PVRTC_2BPPV1_Format" ,
146+ " RGB_ETC1_Format" ,
147+ );
148+
149+ auto TextureEncodings = XEITHER(
150+ " LinearEncoding" ,
151+ " sRGBEncoding" ,
152+ " RGBEEncoding" ,
153+ " LogLuvEncoding" ,
154+ " RGBM7Encoding" ,
155+ " RGBM16Encoding" ,
156+ " RGBDEncoding" ,
157+ " GammaEncoding" ,
158+ );
159+
160+ auto CullFaceModes = XEITHER(
161+ " CullFaceNone" ,
162+ " CullFaceBack" ,
163+ " CullFaceFront" ,
164+ " CullFaceFrontBack" ,
165+ );
166+
167+ auto FrontFaceDirection = XEITHER(
168+ " FrontFaceDirectionCW" ,
169+ " FrontFaceDirectionCCW" ,
170+ );
171+
172+ auto ShadowTypes = XEITHER(
173+ " BasicShadowMap" ,
174+ " PCFShadowMap" ,
175+ " PCFSoftShadowMap" ,
176+ );
177+
178+ auto ToneMappings = XEITHER(
179+ " NoToneMapping" ,
180+ " LinearToneMapping" ,
181+ " ReinhardToneMapping" ,
182+ " Uncharted2ToneMapping" ,
183+ " CineonToneMapping" ,
184+ );
185+
186+ auto LoopModes = XEITHER(
187+ " LoopOnce" ,
188+ " LoopRepeat" ,
189+ " LoopPingPong" ,
190+ );
191+
192+ auto InterpolationModes = XEITHER(
193+ " InterpolateDiscrete" ,
194+ " InterpolateLinear" ,
195+ " InterpolateSmooth" ,
196+ );
197+
198+ auto EndingModes = XEITHER(
199+ " ZeroCurvatureEnding" ,
200+ " ZeroSlopeEnding" ,
201+ " WrapAroundEnding" ,
202+ );
203+
204+ auto DrawModes = XEITHER(
205+ " TrianglesDrawMode" ,
206+ " TriangleStripDrawMode" ,
207+ " TriangleFanDrawMode" ,
208+ );
209+ }
210+ }
0 commit comments