-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add default cpp classes which are not generated
- Loading branch information
Showing
5 changed files
with
620 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,210 @@ | ||
#pragma once | ||
|
||
// | ||
// This file auto-generated with generate-enums.js | ||
// Date: Thu Jan 25 2018 04:46:33 GMT+0100 (CET) | ||
// | ||
|
||
#include "xwidgets/xeither.hpp" | ||
|
||
namespace xthree{ | ||
namespace xenums{ | ||
|
||
auto Equations = XEITHER( | ||
"AddEquation", | ||
"SubtractEquation", | ||
"ReverseSubtractEquation", | ||
"MinEquation", | ||
"MaxEquation", | ||
); | ||
|
||
auto BlendFactors = XEITHER( | ||
"ZeroFactor", | ||
"OneFactor", | ||
"SrcColorFactor", | ||
"OneMinusSrcColorFactor", | ||
"SrcAlphaFactor", | ||
"OneMinusSrcAlphaFactor", | ||
"DstAlphaFactor", | ||
"OneMinusDstAlphaFactor", | ||
"DstColorFactor", | ||
"OneMinusDstColorFactor", | ||
"SrcAlphaSaturateFactor", | ||
); | ||
|
||
auto Side = XEITHER( | ||
"FrontSide", | ||
"BackSide", | ||
"DoubleSide", | ||
); | ||
|
||
auto Shading = XEITHER( | ||
"FlatShading", | ||
"SmoothShading", | ||
); | ||
|
||
auto Colors = XEITHER( | ||
"NoColors", | ||
"FaceColors", | ||
"VertexColors", | ||
); | ||
|
||
auto BlendingMode = XEITHER( | ||
"NoBlending", | ||
"NormalBlending", | ||
"AdditiveBlending", | ||
"SubtractiveBlending", | ||
"MultiplyBlending", | ||
"CustomBlending", | ||
); | ||
|
||
auto DepthMode = XEITHER( | ||
"NeverDepth", | ||
"AlwaysDepth", | ||
"LessDepth", | ||
"LessEqualDepth", | ||
"EqualDepth", | ||
"GreaterEqualDepth", | ||
"GreaterDepth", | ||
"NotEqualDepth", | ||
); | ||
|
||
auto Operations = XEITHER( | ||
"MultiplyOperation", | ||
"MixOperation", | ||
"AddOperation", | ||
); | ||
|
||
auto MappingModes = XEITHER( | ||
"UVMapping", | ||
"CubeReflectionMapping", | ||
"CubeRefractionMapping", | ||
"EquirectangularReflectionMapping", | ||
"EquirectangularRefractionMapping", | ||
"SphericalReflectionMapping", | ||
"CubeUVReflectionMapping", | ||
"CubeUVRefractionMapping", | ||
); | ||
|
||
auto WrappingModes = XEITHER( | ||
"RepeatWrapping", | ||
"ClampToEdgeWrapping", | ||
"MirroredRepeatWrapping", | ||
); | ||
|
||
auto Filters = XEITHER( | ||
"NearestFilter", | ||
"NearestMipMapNearestFilter", | ||
"NearestMipMapLinearFilter", | ||
"LinearFilter", | ||
"LinearMipMapNearestFilter", | ||
"LinearMipMapLinearFilter", | ||
); | ||
|
||
auto DataTypes = XEITHER( | ||
"UnsignedByteType", | ||
"ByteType", | ||
"ShortType", | ||
"UnsignedShortType", | ||
"IntType", | ||
"UnsignedIntType", | ||
"FloatType", | ||
"HalfFloatType", | ||
); | ||
|
||
auto PixelTypes = XEITHER( | ||
"UnsignedShort4444Type", | ||
"UnsignedShort5551Type", | ||
"UnsignedShort565Type", | ||
"UnsignedInt248Type", | ||
); | ||
|
||
auto PixelFormats = XEITHER( | ||
"AlphaFormat", | ||
"RGBFormat", | ||
"RGBAFormat", | ||
"LuminanceFormat", | ||
"LuminanceAlphaFormat", | ||
"DepthFormat", | ||
"DepthStencilFormat", | ||
); | ||
|
||
auto DepthFormats = XEITHER( | ||
"DepthFormat", | ||
"DepthStencilFormat", | ||
); | ||
|
||
auto CompressedTextureFormats = XEITHER( | ||
"RGB_S3TC_DXT1_Format", | ||
"RGBA_S3TC_DXT1_Format", | ||
"RGBA_S3TC_DXT3_Format", | ||
"RGBA_S3TC_DXT5_Format", | ||
"RGB_PVRTC_4BPPV1_Format", | ||
"RGB_PVRTC_2BPPV1_Format", | ||
"RGBA_PVRTC_4BPPV1_Format", | ||
"RGBA_PVRTC_2BPPV1_Format", | ||
"RGB_ETC1_Format", | ||
); | ||
|
||
auto TextureEncodings = XEITHER( | ||
"LinearEncoding", | ||
"sRGBEncoding", | ||
"RGBEEncoding", | ||
"LogLuvEncoding", | ||
"RGBM7Encoding", | ||
"RGBM16Encoding", | ||
"RGBDEncoding", | ||
"GammaEncoding", | ||
); | ||
|
||
auto CullFaceModes = XEITHER( | ||
"CullFaceNone", | ||
"CullFaceBack", | ||
"CullFaceFront", | ||
"CullFaceFrontBack", | ||
); | ||
|
||
auto FrontFaceDirection = XEITHER( | ||
"FrontFaceDirectionCW", | ||
"FrontFaceDirectionCCW", | ||
); | ||
|
||
auto ShadowTypes = XEITHER( | ||
"BasicShadowMap", | ||
"PCFShadowMap", | ||
"PCFSoftShadowMap", | ||
); | ||
|
||
auto ToneMappings = XEITHER( | ||
"NoToneMapping", | ||
"LinearToneMapping", | ||
"ReinhardToneMapping", | ||
"Uncharted2ToneMapping", | ||
"CineonToneMapping", | ||
); | ||
|
||
auto LoopModes = XEITHER( | ||
"LoopOnce", | ||
"LoopRepeat", | ||
"LoopPingPong", | ||
); | ||
|
||
auto InterpolationModes = XEITHER( | ||
"InterpolateDiscrete", | ||
"InterpolateLinear", | ||
"InterpolateSmooth", | ||
); | ||
|
||
auto EndingModes = XEITHER( | ||
"ZeroCurvatureEnding", | ||
"ZeroSlopeEnding", | ||
"WrapAroundEnding", | ||
); | ||
|
||
auto DrawModes = XEITHER( | ||
"TrianglesDrawMode", | ||
"TriangleStripDrawMode", | ||
"TriangleFanDrawMode", | ||
); | ||
} | ||
} |
Oops, something went wrong.