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