@nativescript/canvas 0.9.22-v6 → 1.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/common.d.ts +17 -24
- package/Canvas/common.js +207 -182
- package/Canvas/common.js.map +1 -1
- package/Canvas/index.android.d.ts +8 -6
- package/Canvas/index.android.js +155 -156
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.ios.d.ts +10 -7
- package/Canvas/index.ios.js +141 -153
- package/Canvas/index.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.android.d.ts +2 -2
- package/Canvas2D/CanvasGradient/CanvasGradient.android.js +13 -23
- package/Canvas2D/CanvasGradient/CanvasGradient.android.js.map +1 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.d.ts +1 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.d.ts +1 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.js +13 -23
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.js.map +1 -1
- package/Canvas2D/CanvasGradient/common.d.ts +1 -1
- package/Canvas2D/CanvasGradient/common.js +2 -8
- package/Canvas2D/CanvasGradient/common.js.map +1 -1
- package/Canvas2D/CanvasGradient/index.js +2 -7
- package/Canvas2D/CanvasGradient/index.js.map +1 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.android.js +8 -14
- package/Canvas2D/CanvasPattern/CanvasPattern.android.js.map +1 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.js +7 -12
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.js.map +1 -1
- package/Canvas2D/CanvasPattern/common.d.ts +1 -1
- package/Canvas2D/CanvasPattern/common.js +6 -14
- package/Canvas2D/CanvasPattern/common.js.map +1 -1
- package/Canvas2D/CanvasPattern/index.js +2 -7
- package/Canvas2D/CanvasPattern/index.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/common.d.ts +21 -21
- package/Canvas2D/CanvasRenderingContext2D/common.js +9 -21
- package/Canvas2D/CanvasRenderingContext2D/common.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.android.d.ts +40 -21
- package/Canvas2D/CanvasRenderingContext2D/index.android.js +602 -638
- package/Canvas2D/CanvasRenderingContext2D/index.android.js.map +1 -1
- package/Canvas2D/CanvasRenderingContext2D/index.ios.d.ts +40 -21
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js +621 -737
- package/Canvas2D/CanvasRenderingContext2D/index.ios.js.map +1 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.android.d.ts +44 -22
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js +141 -231
- package/Canvas2D/DOMMatrix/DOMMatrix.android.js.map +1 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.d.ts +1 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.d.ts +44 -22
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js +141 -225
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.js.map +1 -1
- package/Canvas2D/DOMMatrix/common.d.ts +23 -7
- package/Canvas2D/DOMMatrix/common.js +6 -14
- package/Canvas2D/DOMMatrix/common.js.map +1 -1
- package/Canvas2D/DOMMatrix/index.js +2 -7
- package/Canvas2D/DOMMatrix/index.js.map +1 -1
- package/Canvas2D/ImageData/ImageData.android.d.ts +4 -0
- package/Canvas2D/ImageData/ImageData.android.js +41 -16
- package/Canvas2D/ImageData/ImageData.android.js.map +1 -1
- package/Canvas2D/ImageData/ImageData.ios.d.ts +4 -0
- package/Canvas2D/ImageData/ImageData.ios.js +41 -16
- package/Canvas2D/ImageData/ImageData.ios.js.map +1 -1
- package/Canvas2D/ImageData/common.d.ts +5 -5
- package/Canvas2D/ImageData/common.js +6 -17
- package/Canvas2D/ImageData/common.js.map +1 -1
- package/Canvas2D/ImageData/index.js +2 -7
- package/Canvas2D/ImageData/index.js.map +1 -1
- package/Canvas2D/Path2D/Path2D.android.js +26 -35
- package/Canvas2D/Path2D/Path2D.android.js.map +1 -1
- package/Canvas2D/Path2D/Path2D.ios.js +26 -35
- package/Canvas2D/Path2D/Path2D.ios.js.map +1 -1
- package/Canvas2D/Path2D/common.d.ts +1 -1
- package/Canvas2D/Path2D/common.js +6 -14
- package/Canvas2D/Path2D/common.js.map +1 -1
- package/Canvas2D/Path2D/index.js +2 -7
- package/Canvas2D/Path2D/index.js.map +1 -1
- package/Canvas2D/TextMetrics/TextMetrics.android.d.ts +13 -14
- package/Canvas2D/TextMetrics/TextMetrics.android.js +41 -94
- package/Canvas2D/TextMetrics/TextMetrics.android.js.map +1 -1
- package/Canvas2D/TextMetrics/TextMetrics.d.ts +1 -12
- package/Canvas2D/TextMetrics/TextMetrics.ios.d.ts +12 -12
- package/Canvas2D/TextMetrics/TextMetrics.ios.js +41 -94
- package/Canvas2D/TextMetrics/TextMetrics.ios.js.map +1 -1
- package/Canvas2D/TextMetrics/common.d.ts +14 -2
- package/Canvas2D/TextMetrics/common.js +6 -14
- package/Canvas2D/TextMetrics/common.js.map +1 -1
- package/Canvas2D/TextMetrics/index.js +2 -7
- package/Canvas2D/TextMetrics/index.js.map +1 -1
- package/Canvas2D/index.js +6 -11
- package/Canvas2D/index.js.map +1 -1
- package/ImageAsset/ImageAsset.android.d.ts +4 -4
- package/ImageAsset/ImageAsset.android.js +79 -101
- package/ImageAsset/ImageAsset.android.js.map +1 -1
- package/ImageAsset/ImageAsset.d.ts +1 -1
- package/ImageAsset/ImageAsset.ios.d.ts +5 -4
- package/ImageAsset/ImageAsset.ios.js +82 -107
- package/ImageAsset/ImageAsset.ios.js.map +1 -1
- package/ImageAsset/common.d.ts +1 -1
- package/ImageAsset/common.js +8 -16
- package/ImageAsset/common.js.map +1 -1
- package/ImageAsset/index.js +2 -7
- package/ImageAsset/index.js.map +1 -1
- package/ImageBitmap/common.d.ts +8 -0
- package/ImageBitmap/common.js +9 -0
- package/ImageBitmap/common.js.map +1 -0
- package/ImageBitmap/index.android.d.ts +12 -0
- package/ImageBitmap/index.android.js +332 -0
- package/ImageBitmap/index.android.js.map +1 -0
- package/ImageBitmap/index.ios.d.ts +12 -0
- package/ImageBitmap/index.ios.js +283 -0
- package/ImageBitmap/index.ios.js.map +1 -0
- package/README.md +26 -27
- package/SVG/Circle.d.ts +3 -3
- package/SVG/Circle.js +16 -89
- package/SVG/Circle.js.map +1 -1
- package/SVG/ClipPath.d.ts +1 -0
- package/SVG/ClipPath.js +7 -10
- package/SVG/ClipPath.js.map +1 -1
- package/SVG/Defs.d.ts +1 -4
- package/SVG/Defs.js +7 -18
- package/SVG/Defs.js.map +1 -1
- package/SVG/Ellipse.d.ts +1 -2
- package/SVG/Ellipse.js +16 -43
- package/SVG/Ellipse.js.map +1 -1
- package/SVG/G.d.ts +1 -7
- package/SVG/G.js +7 -64
- package/SVG/G.js.map +1 -1
- package/SVG/Image.d.ts +5 -4
- package/SVG/Image.js +28 -74
- package/SVG/Image.js.map +1 -1
- package/SVG/Line.d.ts +1 -1
- package/SVG/Line.js +16 -39
- package/SVG/Line.js.map +1 -1
- package/SVG/LinearGradient.d.ts +1 -4
- package/SVG/LinearGradient.js +11 -54
- package/SVG/LinearGradient.js.map +1 -1
- package/SVG/Path.d.ts +2 -2
- package/SVG/Path.js +10 -81
- package/SVG/Path.js.map +1 -1
- package/SVG/Pattern.d.ts +1 -9
- package/SVG/Pattern.js +7 -89
- package/SVG/Pattern.js.map +1 -1
- package/SVG/Polygon.d.ts +2 -2
- package/SVG/Polygon.js +10 -63
- package/SVG/Polygon.js.map +1 -1
- package/SVG/Polyline.d.ts +1 -1
- package/SVG/Polyline.js +10 -64
- package/SVG/Polyline.js.map +1 -1
- package/SVG/Rect.d.ts +1 -1
- package/SVG/Rect.js +11 -74
- package/SVG/Rect.js.map +1 -1
- package/SVG/SVG.d.ts +23 -9
- package/SVG/SVG.js +162 -55
- package/SVG/SVG.js.map +1 -1
- package/SVG/SVGItem.d.ts +2 -19
- package/SVG/SVGItem.js +6 -191
- package/SVG/SVGItem.js.map +1 -1
- package/SVG/Stop.d.ts +1 -2
- package/SVG/Stop.js +7 -32
- package/SVG/Stop.js.map +1 -1
- package/SVG/Symbol.d.ts +1 -4
- package/SVG/Symbol.js +7 -18
- package/SVG/Symbol.js.map +1 -1
- package/SVG/Text.d.ts +6 -5
- package/SVG/Text.js +18 -19
- package/SVG/Text.js.map +1 -1
- package/SVG/Use.d.ts +1 -10
- package/SVG/Use.js +7 -96
- package/SVG/Use.js.map +1 -1
- package/SVG/index.js +18 -40
- package/SVG/index.js.map +1 -1
- package/TextDecoder/TextDecoder.android.d.ts +2 -1
- package/TextDecoder/TextDecoder.android.js +39 -40
- package/TextDecoder/TextDecoder.android.js.map +1 -1
- package/TextDecoder/TextDecoder.ios.d.ts +1 -1
- package/TextDecoder/TextDecoder.ios.js +23 -36
- package/TextDecoder/TextDecoder.ios.js.map +1 -1
- package/TextDecoder/common.d.ts +4 -4
- package/TextDecoder/common.js +6 -17
- package/TextDecoder/common.js.map +1 -1
- package/TextDecoder/index.js +2 -7
- package/TextDecoder/index.js.map +1 -1
- package/TextEncoder/TextEncoder.android.d.ts +1 -1
- package/TextEncoder/TextEncoder.android.js +11 -21
- package/TextEncoder/TextEncoder.android.js.map +1 -1
- package/TextEncoder/TextEncoder.ios.d.ts +1 -1
- package/TextEncoder/TextEncoder.ios.js +11 -21
- package/TextEncoder/TextEncoder.ios.js.map +1 -1
- package/TextEncoder/common.d.ts +4 -4
- package/TextEncoder/common.js +6 -17
- package/TextEncoder/common.js.map +1 -1
- package/TextEncoder/index.js +2 -7
- package/TextEncoder/index.js.map +1 -1
- package/WebGL/WebGLActiveInfo.js +8 -10
- package/WebGL/WebGLActiveInfo.js.map +1 -1
- package/WebGL/WebGLBuffer.d.ts +1 -1
- package/WebGL/WebGLBuffer.js +11 -17
- package/WebGL/WebGLBuffer.js.map +1 -1
- package/WebGL/WebGLExtensions/index.android.js +137 -190
- package/WebGL/WebGLExtensions/index.android.js.map +1 -1
- package/WebGL/WebGLExtensions/index.ios.js +110 -163
- package/WebGL/WebGLExtensions/index.ios.js.map +1 -1
- package/WebGL/WebGLFramebuffer.d.ts +1 -1
- package/WebGL/WebGLFramebuffer.js +11 -17
- package/WebGL/WebGLFramebuffer.js.map +1 -1
- package/WebGL/WebGLProgram.d.ts +1 -1
- package/WebGL/WebGLProgram.js +11 -17
- package/WebGL/WebGLProgram.js.map +1 -1
- package/WebGL/WebGLRenderbuffer.d.ts +1 -1
- package/WebGL/WebGLRenderbuffer.js +11 -17
- package/WebGL/WebGLRenderbuffer.js.map +1 -1
- package/WebGL/WebGLRenderingContext/common.d.ts +301 -301
- package/WebGL/WebGLRenderingContext/common.js +940 -2140
- package/WebGL/WebGLRenderingContext/common.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.android.d.ts +10 -5
- package/WebGL/WebGLRenderingContext/index.android.js +1014 -587
- package/WebGL/WebGLRenderingContext/index.android.js.map +1 -1
- package/WebGL/WebGLRenderingContext/index.d.ts +2 -0
- package/WebGL/WebGLRenderingContext/index.ios.d.ts +3 -3
- package/WebGL/WebGLRenderingContext/index.ios.js +502 -573
- package/WebGL/WebGLRenderingContext/index.ios.js.map +1 -1
- package/WebGL/WebGLShader.d.ts +1 -1
- package/WebGL/WebGLShader.js +11 -17
- package/WebGL/WebGLShader.js.map +1 -1
- package/WebGL/WebGLShaderPrecisionFormat.js +8 -10
- package/WebGL/WebGLShaderPrecisionFormat.js.map +1 -1
- package/WebGL/WebGLTexture.d.ts +1 -1
- package/WebGL/WebGLTexture.js +11 -17
- package/WebGL/WebGLTexture.js.map +1 -1
- package/WebGL/WebGLUniformLocation.d.ts +1 -1
- package/WebGL/WebGLUniformLocation.js +11 -17
- package/WebGL/WebGLUniformLocation.js.map +1 -1
- package/WebGL/index.js +9 -14
- package/WebGL/index.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/common.d.ts +265 -265
- package/WebGL2/WebGL2RenderingContext/common.js +817 -1885
- package/WebGL2/WebGL2RenderingContext/common.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.android.d.ts +4 -1
- package/WebGL2/WebGL2RenderingContext/index.android.js +359 -293
- package/WebGL2/WebGL2RenderingContext/index.android.js.map +1 -1
- package/WebGL2/WebGL2RenderingContext/index.ios.d.ts +3 -1
- package/WebGL2/WebGL2RenderingContext/index.ios.js +289 -260
- package/WebGL2/WebGL2RenderingContext/index.ios.js.map +1 -1
- package/WebGL2/WebGLQuery.d.ts +1 -1
- package/WebGL2/WebGLQuery.js +11 -17
- package/WebGL2/WebGLQuery.js.map +1 -1
- package/WebGL2/WebGLSampler.d.ts +1 -1
- package/WebGL2/WebGLSampler.js +11 -17
- package/WebGL2/WebGLSampler.js.map +1 -1
- package/WebGL2/WebGLSync.d.ts +1 -1
- package/WebGL2/WebGLSync.js +11 -17
- package/WebGL2/WebGLSync.js.map +1 -1
- package/WebGL2/WebGLTransformFeedback.d.ts +1 -1
- package/WebGL2/WebGLTransformFeedback.js +11 -17
- package/WebGL2/WebGLTransformFeedback.js.map +1 -1
- package/WebGL2/WebGLVertexArrayObject.d.ts +1 -1
- package/WebGL2/WebGLVertexArrayObject.js +11 -17
- package/WebGL2/WebGLVertexArrayObject.js.map +1 -1
- package/WebGL2/index.js +5 -10
- package/WebGL2/index.js.map +1 -1
- package/angular/bundles/nativescript-canvas-angular.umd.js +29 -0
- package/angular/bundles/nativescript-canvas-angular.umd.js.map +1 -0
- package/angular/esm2015/index.js +12 -0
- package/angular/esm2015/nativescript-canvas-angular.js +5 -0
- package/angular/fesm2015/nativescript-canvas-angular.js +19 -0
- package/angular/fesm2015/nativescript-canvas-angular.js.map +1 -0
- package/angular/nativescript-canvas-angular.d.ts +4 -0
- package/angular/nativescript-canvas-angular.metadata.json +1 -0
- package/angular/package.json +14 -0
- package/common.js +4 -12
- package/common.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +56 -28
- package/index.js.map +1 -1
- package/package.json +10 -6
- package/platforms/android/include.gradle +22 -1
- package/platforms/ios/Podfile +2 -4
- package/react/index.js +2 -4
- package/react/index.js.map +1 -1
- package/svelte/index.js +2 -4
- package/svelte/index.js.map +1 -1
- package/utils.d.ts +4 -0
- package/utils.js +46 -22
- package/utils.js.map +1 -1
- package/vue/index.d.ts +4 -0
- package/vue/index.js +6 -0
- package/vue/index.js.map +1 -0
- package/Canvas/common.metadata.json +0 -1
- package/Canvas/index.android.metadata.json +0 -1
- package/Canvas/index.ios.metadata.json +0 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.android.metadata.json +0 -1
- package/Canvas2D/CanvasGradient/CanvasGradient.ios.metadata.json +0 -1
- package/Canvas2D/CanvasGradient/common.metadata.json +0 -1
- package/Canvas2D/CanvasGradient/index.metadata.json +0 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.android.metadata.json +0 -1
- package/Canvas2D/CanvasPattern/CanvasPattern.ios.metadata.json +0 -1
- package/Canvas2D/CanvasPattern/common.metadata.json +0 -1
- package/Canvas2D/CanvasPattern/index.metadata.json +0 -1
- package/Canvas2D/CanvasRenderingContext2D/common.metadata.json +0 -1
- package/Canvas2D/CanvasRenderingContext2D/index.android.metadata.json +0 -1
- package/Canvas2D/CanvasRenderingContext2D/index.ios.metadata.json +0 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.android.metadata.json +0 -1
- package/Canvas2D/DOMMatrix/DOMMatrix.ios.metadata.json +0 -1
- package/Canvas2D/DOMMatrix/common.metadata.json +0 -1
- package/Canvas2D/DOMMatrix/index.metadata.json +0 -1
- package/Canvas2D/ImageData/ImageData.android.metadata.json +0 -1
- package/Canvas2D/ImageData/ImageData.ios.metadata.json +0 -1
- package/Canvas2D/ImageData/common.metadata.json +0 -1
- package/Canvas2D/ImageData/index.metadata.json +0 -1
- package/Canvas2D/Path2D/Path2D.android.metadata.json +0 -1
- package/Canvas2D/Path2D/Path2D.ios.metadata.json +0 -1
- package/Canvas2D/Path2D/common.metadata.json +0 -1
- package/Canvas2D/Path2D/index.metadata.json +0 -1
- package/Canvas2D/TextMetrics/TextMetrics.android.metadata.json +0 -1
- package/Canvas2D/TextMetrics/TextMetrics.ios.metadata.json +0 -1
- package/Canvas2D/TextMetrics/common.metadata.json +0 -1
- package/Canvas2D/TextMetrics/index.metadata.json +0 -1
- package/Canvas2D/index.metadata.json +0 -1
- package/ImageAsset/ImageAsset.android.metadata.json +0 -1
- package/ImageAsset/ImageAsset.ios.metadata.json +0 -1
- package/ImageAsset/common.metadata.json +0 -1
- package/ImageAsset/index.metadata.json +0 -1
- package/SVG/Circle.metadata.json +0 -1
- package/SVG/ClipPath.metadata.json +0 -1
- package/SVG/Defs.metadata.json +0 -1
- package/SVG/Ellipse.metadata.json +0 -1
- package/SVG/G.metadata.json +0 -1
- package/SVG/Image.metadata.json +0 -1
- package/SVG/Line.metadata.json +0 -1
- package/SVG/LinearGradient.metadata.json +0 -1
- package/SVG/Path.metadata.json +0 -1
- package/SVG/Pattern.metadata.json +0 -1
- package/SVG/Polygon.metadata.json +0 -1
- package/SVG/Polyline.metadata.json +0 -1
- package/SVG/Rect.metadata.json +0 -1
- package/SVG/SVG.metadata.json +0 -1
- package/SVG/SVGItem.metadata.json +0 -1
- package/SVG/Stop.metadata.json +0 -1
- package/SVG/Symbol.metadata.json +0 -1
- package/SVG/Text.metadata.json +0 -1
- package/SVG/Use.metadata.json +0 -1
- package/SVG/index.metadata.json +0 -1
- package/TextDecoder/TextDecoder.android.metadata.json +0 -1
- package/TextDecoder/TextDecoder.ios.metadata.json +0 -1
- package/TextDecoder/common.metadata.json +0 -1
- package/TextDecoder/index.metadata.json +0 -1
- package/TextEncoder/TextEncoder.android.metadata.json +0 -1
- package/TextEncoder/TextEncoder.ios.metadata.json +0 -1
- package/TextEncoder/common.metadata.json +0 -1
- package/TextEncoder/index.metadata.json +0 -1
- package/WebGL/WebGLActiveInfo.metadata.json +0 -1
- package/WebGL/WebGLBuffer.metadata.json +0 -1
- package/WebGL/WebGLExtensions/index.android.metadata.json +0 -1
- package/WebGL/WebGLExtensions/index.ios.metadata.json +0 -1
- package/WebGL/WebGLFramebuffer.metadata.json +0 -1
- package/WebGL/WebGLProgram.metadata.json +0 -1
- package/WebGL/WebGLRenderbuffer.metadata.json +0 -1
- package/WebGL/WebGLRenderingContext/common.metadata.json +0 -1
- package/WebGL/WebGLRenderingContext/index.android.metadata.json +0 -1
- package/WebGL/WebGLRenderingContext/index.ios.metadata.json +0 -1
- package/WebGL/WebGLShader.metadata.json +0 -1
- package/WebGL/WebGLShaderPrecisionFormat.metadata.json +0 -1
- package/WebGL/WebGLTexture.metadata.json +0 -1
- package/WebGL/WebGLUniformLocation.metadata.json +0 -1
- package/WebGL/index.metadata.json +0 -1
- package/WebGL2/WebGL2RenderingContext/common.metadata.json +0 -1
- package/WebGL2/WebGL2RenderingContext/index.android.metadata.json +0 -1
- package/WebGL2/WebGL2RenderingContext/index.ios.metadata.json +0 -1
- package/WebGL2/WebGLQuery.metadata.json +0 -1
- package/WebGL2/WebGLSampler.metadata.json +0 -1
- package/WebGL2/WebGLSync.metadata.json +0 -1
- package/WebGL2/WebGLTransformFeedback.metadata.json +0 -1
- package/WebGL2/WebGLVertexArrayObject.metadata.json +0 -1
- package/WebGL2/index.metadata.json +0 -1
- package/angular/index.js +0 -19
- package/angular/index.js.map +0 -1
- package/angular/index.metadata.json +0 -1
- package/common.metadata.json +0 -1
- package/index.metadata.json +0 -1
- package/react/index.metadata.json +0 -1
- package/utils.metadata.json +0 -1
|
@@ -1,2145 +1,945 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var WebGLRenderingContextBase = /** @class */ (function () {
|
|
4
|
-
function WebGLRenderingContextBase(context) {
|
|
1
|
+
export class WebGLRenderingContextBase {
|
|
2
|
+
constructor(context) {
|
|
5
3
|
this._type = 'none';
|
|
6
4
|
this._native = context;
|
|
7
5
|
}
|
|
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
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
enumerable: true,
|
|
943
|
-
configurable: true
|
|
944
|
-
});
|
|
945
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "BYTE", {
|
|
946
|
-
get: function () {
|
|
947
|
-
return 0x1400;
|
|
948
|
-
},
|
|
949
|
-
enumerable: true,
|
|
950
|
-
configurable: true
|
|
951
|
-
});
|
|
952
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_BYTE", {
|
|
953
|
-
get: function () {
|
|
954
|
-
return 0x1401;
|
|
955
|
-
},
|
|
956
|
-
enumerable: true,
|
|
957
|
-
configurable: true
|
|
958
|
-
});
|
|
959
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "SHORT", {
|
|
960
|
-
get: function () {
|
|
961
|
-
return 0x1402;
|
|
962
|
-
},
|
|
963
|
-
enumerable: true,
|
|
964
|
-
configurable: true
|
|
965
|
-
});
|
|
966
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_SHORT", {
|
|
967
|
-
get: function () {
|
|
968
|
-
return 0x1403;
|
|
969
|
-
},
|
|
970
|
-
enumerable: true,
|
|
971
|
-
configurable: true
|
|
972
|
-
});
|
|
973
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INT", {
|
|
974
|
-
get: function () {
|
|
975
|
-
return 0x1404;
|
|
976
|
-
},
|
|
977
|
-
enumerable: true,
|
|
978
|
-
configurable: true
|
|
979
|
-
});
|
|
980
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_INT", {
|
|
981
|
-
get: function () {
|
|
982
|
-
return 0x1405;
|
|
983
|
-
},
|
|
984
|
-
enumerable: true,
|
|
985
|
-
configurable: true
|
|
986
|
-
});
|
|
987
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT", {
|
|
988
|
-
get: function () {
|
|
989
|
-
return 0x1406;
|
|
990
|
-
},
|
|
991
|
-
enumerable: true,
|
|
992
|
-
configurable: true
|
|
993
|
-
});
|
|
994
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DEPTH_COMPONENT", {
|
|
995
|
-
get: function () {
|
|
996
|
-
return 0x1902;
|
|
997
|
-
},
|
|
998
|
-
enumerable: true,
|
|
999
|
-
configurable: true
|
|
1000
|
-
});
|
|
1001
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ALPHA", {
|
|
1002
|
-
get: function () {
|
|
1003
|
-
return 0x1906;
|
|
1004
|
-
},
|
|
1005
|
-
enumerable: true,
|
|
1006
|
-
configurable: true
|
|
1007
|
-
});
|
|
1008
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RGB", {
|
|
1009
|
-
get: function () {
|
|
1010
|
-
return 0x1907;
|
|
1011
|
-
},
|
|
1012
|
-
enumerable: true,
|
|
1013
|
-
configurable: true
|
|
1014
|
-
});
|
|
1015
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RGBA", {
|
|
1016
|
-
/* Clearing buffers */
|
|
1017
|
-
get: function () {
|
|
1018
|
-
return 0x1908;
|
|
1019
|
-
},
|
|
1020
|
-
enumerable: true,
|
|
1021
|
-
configurable: true
|
|
1022
|
-
});
|
|
1023
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LUMINANCE", {
|
|
1024
|
-
get: function () {
|
|
1025
|
-
return 0x1909;
|
|
1026
|
-
},
|
|
1027
|
-
enumerable: true,
|
|
1028
|
-
configurable: true
|
|
1029
|
-
});
|
|
1030
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LUMINANCE_ALPHA", {
|
|
1031
|
-
get: function () {
|
|
1032
|
-
return 0x190A;
|
|
1033
|
-
},
|
|
1034
|
-
enumerable: true,
|
|
1035
|
-
configurable: true
|
|
1036
|
-
});
|
|
1037
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_SHORT_4_4_4_4", {
|
|
1038
|
-
/* Clearing buffers */
|
|
1039
|
-
/* Rendering primitives */
|
|
1040
|
-
get: function () {
|
|
1041
|
-
return 0x8033;
|
|
1042
|
-
},
|
|
1043
|
-
enumerable: true,
|
|
1044
|
-
configurable: true
|
|
1045
|
-
});
|
|
1046
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_SHORT_5_5_5_1", {
|
|
1047
|
-
get: function () {
|
|
1048
|
-
return 0x8034;
|
|
1049
|
-
},
|
|
1050
|
-
enumerable: true,
|
|
1051
|
-
configurable: true
|
|
1052
|
-
});
|
|
1053
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNSIGNED_SHORT_5_6_5", {
|
|
1054
|
-
get: function () {
|
|
1055
|
-
return 0x8363;
|
|
1056
|
-
},
|
|
1057
|
-
enumerable: true,
|
|
1058
|
-
configurable: true
|
|
1059
|
-
});
|
|
1060
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAGMENT_SHADER", {
|
|
1061
|
-
get: function () {
|
|
1062
|
-
return 0x8B30;
|
|
1063
|
-
},
|
|
1064
|
-
enumerable: true,
|
|
1065
|
-
configurable: true
|
|
1066
|
-
});
|
|
1067
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "VERTEX_SHADER", {
|
|
1068
|
-
get: function () {
|
|
1069
|
-
return 0x8B31;
|
|
1070
|
-
},
|
|
1071
|
-
enumerable: true,
|
|
1072
|
-
configurable: true
|
|
1073
|
-
});
|
|
1074
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "COMPILE_STATUS", {
|
|
1075
|
-
get: function () {
|
|
1076
|
-
return 0x8B81;
|
|
1077
|
-
},
|
|
1078
|
-
enumerable: true,
|
|
1079
|
-
configurable: true
|
|
1080
|
-
});
|
|
1081
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DELETE_STATUS", {
|
|
1082
|
-
get: function () {
|
|
1083
|
-
return 0x8B80;
|
|
1084
|
-
},
|
|
1085
|
-
enumerable: true,
|
|
1086
|
-
configurable: true
|
|
1087
|
-
});
|
|
1088
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LINK_STATUS", {
|
|
1089
|
-
/* Rendering primitives */
|
|
1090
|
-
/* Blending modes */
|
|
1091
|
-
get: function () {
|
|
1092
|
-
return 0x8B82;
|
|
1093
|
-
},
|
|
1094
|
-
enumerable: true,
|
|
1095
|
-
configurable: true
|
|
1096
|
-
});
|
|
1097
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "VALIDATE_STATUS", {
|
|
1098
|
-
get: function () {
|
|
1099
|
-
return 0x8B83;
|
|
1100
|
-
},
|
|
1101
|
-
enumerable: true,
|
|
1102
|
-
configurable: true
|
|
1103
|
-
});
|
|
1104
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ATTACHED_SHADERS", {
|
|
1105
|
-
get: function () {
|
|
1106
|
-
return 0x8B85;
|
|
1107
|
-
},
|
|
1108
|
-
enumerable: true,
|
|
1109
|
-
configurable: true
|
|
1110
|
-
});
|
|
1111
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ACTIVE_ATTRIBUTES", {
|
|
1112
|
-
get: function () {
|
|
1113
|
-
return 0x8B89;
|
|
1114
|
-
},
|
|
1115
|
-
enumerable: true,
|
|
1116
|
-
configurable: true
|
|
1117
|
-
});
|
|
1118
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ACTIVE_UNIFORMS", {
|
|
1119
|
-
get: function () {
|
|
1120
|
-
return 0x8B86;
|
|
1121
|
-
},
|
|
1122
|
-
enumerable: true,
|
|
1123
|
-
configurable: true
|
|
1124
|
-
});
|
|
1125
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_VERTEX_ATTRIBS", {
|
|
1126
|
-
get: function () {
|
|
1127
|
-
return 0x8869;
|
|
1128
|
-
},
|
|
1129
|
-
enumerable: true,
|
|
1130
|
-
configurable: true
|
|
1131
|
-
});
|
|
1132
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_VERTEX_UNIFORM_VECTORS", {
|
|
1133
|
-
get: function () {
|
|
1134
|
-
return 0x8DFB;
|
|
1135
|
-
},
|
|
1136
|
-
enumerable: true,
|
|
1137
|
-
configurable: true
|
|
1138
|
-
});
|
|
1139
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_VARYING_VECTORS", {
|
|
1140
|
-
get: function () {
|
|
1141
|
-
return 0x8DFC;
|
|
1142
|
-
},
|
|
1143
|
-
enumerable: true,
|
|
1144
|
-
configurable: true
|
|
1145
|
-
});
|
|
1146
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_COMBINED_TEXTURE_IMAGE_UNITS", {
|
|
1147
|
-
get: function () {
|
|
1148
|
-
return 0x8B4D;
|
|
1149
|
-
},
|
|
1150
|
-
enumerable: true,
|
|
1151
|
-
configurable: true
|
|
1152
|
-
});
|
|
1153
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_VERTEX_TEXTURE_IMAGE_UNITS", {
|
|
1154
|
-
get: function () {
|
|
1155
|
-
return 0x8B4C;
|
|
1156
|
-
},
|
|
1157
|
-
enumerable: true,
|
|
1158
|
-
configurable: true
|
|
1159
|
-
});
|
|
1160
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_TEXTURE_IMAGE_UNITS", {
|
|
1161
|
-
get: function () {
|
|
1162
|
-
return 0x8872;
|
|
1163
|
-
},
|
|
1164
|
-
enumerable: true,
|
|
1165
|
-
configurable: true
|
|
1166
|
-
});
|
|
1167
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_FRAGMENT_UNIFORM_VECTORS", {
|
|
1168
|
-
get: function () {
|
|
1169
|
-
return 0x8DFD;
|
|
1170
|
-
},
|
|
1171
|
-
enumerable: true,
|
|
1172
|
-
configurable: true
|
|
1173
|
-
});
|
|
1174
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "SHADER_TYPE", {
|
|
1175
|
-
get: function () {
|
|
1176
|
-
return 0x8B4F;
|
|
1177
|
-
},
|
|
1178
|
-
enumerable: true,
|
|
1179
|
-
configurable: true
|
|
1180
|
-
});
|
|
1181
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "SHADING_LANGUAGE_VERSION", {
|
|
1182
|
-
get: function () {
|
|
1183
|
-
return 0x8B8C;
|
|
1184
|
-
},
|
|
1185
|
-
enumerable: true,
|
|
1186
|
-
configurable: true
|
|
1187
|
-
});
|
|
1188
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "CURRENT_PROGRAM", {
|
|
1189
|
-
get: function () {
|
|
1190
|
-
return 0x8B8D;
|
|
1191
|
-
},
|
|
1192
|
-
enumerable: true,
|
|
1193
|
-
configurable: true
|
|
1194
|
-
});
|
|
1195
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NEVER", {
|
|
1196
|
-
/* Blending modes */
|
|
1197
|
-
get: function () {
|
|
1198
|
-
return 0x0200;
|
|
1199
|
-
},
|
|
1200
|
-
enumerable: true,
|
|
1201
|
-
configurable: true
|
|
1202
|
-
});
|
|
1203
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LESS", {
|
|
1204
|
-
get: function () {
|
|
1205
|
-
return 0x0201;
|
|
1206
|
-
},
|
|
1207
|
-
enumerable: true,
|
|
1208
|
-
configurable: true
|
|
1209
|
-
});
|
|
1210
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "EQUAL", {
|
|
1211
|
-
get: function () {
|
|
1212
|
-
return 0x0202;
|
|
1213
|
-
},
|
|
1214
|
-
enumerable: true,
|
|
1215
|
-
configurable: true
|
|
1216
|
-
});
|
|
1217
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LEQUAL", {
|
|
1218
|
-
/* Blending equations */
|
|
1219
|
-
/* Getting GL parameter information */
|
|
1220
|
-
get: function () {
|
|
1221
|
-
return 0x0203;
|
|
1222
|
-
},
|
|
1223
|
-
enumerable: true,
|
|
1224
|
-
configurable: true
|
|
1225
|
-
});
|
|
1226
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "GREATER", {
|
|
1227
|
-
get: function () {
|
|
1228
|
-
return 0x0204;
|
|
1229
|
-
},
|
|
1230
|
-
enumerable: true,
|
|
1231
|
-
configurable: true
|
|
1232
|
-
});
|
|
1233
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NOTEQUAL", {
|
|
1234
|
-
get: function () {
|
|
1235
|
-
return 0x0205;
|
|
1236
|
-
},
|
|
1237
|
-
enumerable: true,
|
|
1238
|
-
configurable: true
|
|
1239
|
-
});
|
|
1240
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "GEQUAL", {
|
|
1241
|
-
get: function () {
|
|
1242
|
-
return 0x0206;
|
|
1243
|
-
},
|
|
1244
|
-
enumerable: true,
|
|
1245
|
-
configurable: true
|
|
1246
|
-
});
|
|
1247
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ALWAYS", {
|
|
1248
|
-
get: function () {
|
|
1249
|
-
return 0x0207;
|
|
1250
|
-
},
|
|
1251
|
-
enumerable: true,
|
|
1252
|
-
configurable: true
|
|
1253
|
-
});
|
|
1254
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "KEEP", {
|
|
1255
|
-
get: function () {
|
|
1256
|
-
return 0x1E00;
|
|
1257
|
-
},
|
|
1258
|
-
enumerable: true,
|
|
1259
|
-
configurable: true
|
|
1260
|
-
});
|
|
1261
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "REPLACE", {
|
|
1262
|
-
get: function () {
|
|
1263
|
-
return 0x1E01;
|
|
1264
|
-
},
|
|
1265
|
-
enumerable: true,
|
|
1266
|
-
configurable: true
|
|
1267
|
-
});
|
|
1268
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INCR", {
|
|
1269
|
-
get: function () {
|
|
1270
|
-
return 0x1E02;
|
|
1271
|
-
},
|
|
1272
|
-
enumerable: true,
|
|
1273
|
-
configurable: true
|
|
1274
|
-
});
|
|
1275
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DECR", {
|
|
1276
|
-
get: function () {
|
|
1277
|
-
return 0x1E03;
|
|
1278
|
-
},
|
|
1279
|
-
enumerable: true,
|
|
1280
|
-
configurable: true
|
|
1281
|
-
});
|
|
1282
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INVERT", {
|
|
1283
|
-
get: function () {
|
|
1284
|
-
return 0x150A;
|
|
1285
|
-
},
|
|
1286
|
-
enumerable: true,
|
|
1287
|
-
configurable: true
|
|
1288
|
-
});
|
|
1289
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INCR_WRAP", {
|
|
1290
|
-
get: function () {
|
|
1291
|
-
return 0x8507;
|
|
1292
|
-
},
|
|
1293
|
-
enumerable: true,
|
|
1294
|
-
configurable: true
|
|
1295
|
-
});
|
|
1296
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DECR_WRAP", {
|
|
1297
|
-
get: function () {
|
|
1298
|
-
return 0x8508;
|
|
1299
|
-
},
|
|
1300
|
-
enumerable: true,
|
|
1301
|
-
configurable: true
|
|
1302
|
-
});
|
|
1303
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NEAREST", {
|
|
1304
|
-
get: function () {
|
|
1305
|
-
return 0x2600;
|
|
1306
|
-
},
|
|
1307
|
-
enumerable: true,
|
|
1308
|
-
configurable: true
|
|
1309
|
-
});
|
|
1310
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LINEAR", {
|
|
1311
|
-
get: function () {
|
|
1312
|
-
return 0x2601;
|
|
1313
|
-
},
|
|
1314
|
-
enumerable: true,
|
|
1315
|
-
configurable: true
|
|
1316
|
-
});
|
|
1317
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NEAREST_MIPMAP_NEAREST", {
|
|
1318
|
-
get: function () {
|
|
1319
|
-
return 0x2700;
|
|
1320
|
-
},
|
|
1321
|
-
enumerable: true,
|
|
1322
|
-
configurable: true
|
|
1323
|
-
});
|
|
1324
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LINEAR_MIPMAP_NEAREST", {
|
|
1325
|
-
get: function () {
|
|
1326
|
-
return 0x2701;
|
|
1327
|
-
},
|
|
1328
|
-
enumerable: true,
|
|
1329
|
-
configurable: true
|
|
1330
|
-
});
|
|
1331
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NEAREST_MIPMAP_LINEAR", {
|
|
1332
|
-
get: function () {
|
|
1333
|
-
return 0x2702;
|
|
1334
|
-
},
|
|
1335
|
-
enumerable: true,
|
|
1336
|
-
configurable: true
|
|
1337
|
-
});
|
|
1338
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LINEAR_MIPMAP_LINEAR", {
|
|
1339
|
-
get: function () {
|
|
1340
|
-
return 0x2703;
|
|
1341
|
-
},
|
|
1342
|
-
enumerable: true,
|
|
1343
|
-
configurable: true
|
|
1344
|
-
});
|
|
1345
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_MAG_FILTER", {
|
|
1346
|
-
get: function () {
|
|
1347
|
-
return 0x2800;
|
|
1348
|
-
},
|
|
1349
|
-
enumerable: true,
|
|
1350
|
-
configurable: true
|
|
1351
|
-
});
|
|
1352
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_MIN_FILTER", {
|
|
1353
|
-
get: function () {
|
|
1354
|
-
return 0x2801;
|
|
1355
|
-
},
|
|
1356
|
-
enumerable: true,
|
|
1357
|
-
configurable: true
|
|
1358
|
-
});
|
|
1359
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_WRAP_S", {
|
|
1360
|
-
get: function () {
|
|
1361
|
-
return 0x2802;
|
|
1362
|
-
},
|
|
1363
|
-
enumerable: true,
|
|
1364
|
-
configurable: true
|
|
1365
|
-
});
|
|
1366
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_WRAP_T", {
|
|
1367
|
-
get: function () {
|
|
1368
|
-
return 0x2803;
|
|
1369
|
-
},
|
|
1370
|
-
enumerable: true,
|
|
1371
|
-
configurable: true
|
|
1372
|
-
});
|
|
1373
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_2D", {
|
|
1374
|
-
get: function () {
|
|
1375
|
-
return 0x0DE1;
|
|
1376
|
-
},
|
|
1377
|
-
enumerable: true,
|
|
1378
|
-
configurable: true
|
|
1379
|
-
});
|
|
1380
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE", {
|
|
1381
|
-
get: function () {
|
|
1382
|
-
return 0x1702;
|
|
1383
|
-
},
|
|
1384
|
-
enumerable: true,
|
|
1385
|
-
configurable: true
|
|
1386
|
-
});
|
|
1387
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP", {
|
|
1388
|
-
get: function () {
|
|
1389
|
-
return 0x8513;
|
|
1390
|
-
},
|
|
1391
|
-
enumerable: true,
|
|
1392
|
-
configurable: true
|
|
1393
|
-
});
|
|
1394
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_BINDING_CUBE_MAP", {
|
|
1395
|
-
get: function () {
|
|
1396
|
-
return 0x8514;
|
|
1397
|
-
},
|
|
1398
|
-
enumerable: true,
|
|
1399
|
-
configurable: true
|
|
1400
|
-
});
|
|
1401
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_POSITIVE_X", {
|
|
1402
|
-
get: function () {
|
|
1403
|
-
return 0x8515;
|
|
1404
|
-
},
|
|
1405
|
-
enumerable: true,
|
|
1406
|
-
configurable: true
|
|
1407
|
-
});
|
|
1408
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_NEGATIVE_X", {
|
|
1409
|
-
get: function () {
|
|
1410
|
-
return 0x8516;
|
|
1411
|
-
},
|
|
1412
|
-
enumerable: true,
|
|
1413
|
-
configurable: true
|
|
1414
|
-
});
|
|
1415
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_POSITIVE_Y", {
|
|
1416
|
-
get: function () {
|
|
1417
|
-
return 0x8517;
|
|
1418
|
-
},
|
|
1419
|
-
enumerable: true,
|
|
1420
|
-
configurable: true
|
|
1421
|
-
});
|
|
1422
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_NEGATIVE_Y", {
|
|
1423
|
-
get: function () {
|
|
1424
|
-
return 0x8518;
|
|
1425
|
-
},
|
|
1426
|
-
enumerable: true,
|
|
1427
|
-
configurable: true
|
|
1428
|
-
});
|
|
1429
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_POSITIVE_Z", {
|
|
1430
|
-
get: function () {
|
|
1431
|
-
return 0x8519;
|
|
1432
|
-
},
|
|
1433
|
-
enumerable: true,
|
|
1434
|
-
configurable: true
|
|
1435
|
-
});
|
|
1436
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE_CUBE_MAP_NEGATIVE_Z", {
|
|
1437
|
-
get: function () {
|
|
1438
|
-
return 0x851A;
|
|
1439
|
-
},
|
|
1440
|
-
enumerable: true,
|
|
1441
|
-
configurable: true
|
|
1442
|
-
});
|
|
1443
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_CUBE_MAP_TEXTURE_SIZE", {
|
|
1444
|
-
get: function () {
|
|
1445
|
-
return 0x851C;
|
|
1446
|
-
},
|
|
1447
|
-
enumerable: true,
|
|
1448
|
-
configurable: true
|
|
1449
|
-
});
|
|
1450
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE0", {
|
|
1451
|
-
get: function () {
|
|
1452
|
-
return 0x84C0;
|
|
1453
|
-
},
|
|
1454
|
-
enumerable: true,
|
|
1455
|
-
configurable: true
|
|
1456
|
-
});
|
|
1457
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE1", {
|
|
1458
|
-
get: function () {
|
|
1459
|
-
return 0x84C1;
|
|
1460
|
-
},
|
|
1461
|
-
enumerable: true,
|
|
1462
|
-
configurable: true
|
|
1463
|
-
});
|
|
1464
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE2", {
|
|
1465
|
-
get: function () {
|
|
1466
|
-
return 0x84C2;
|
|
1467
|
-
},
|
|
1468
|
-
enumerable: true,
|
|
1469
|
-
configurable: true
|
|
1470
|
-
});
|
|
1471
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE3", {
|
|
1472
|
-
get: function () {
|
|
1473
|
-
return 0x84C3;
|
|
1474
|
-
},
|
|
1475
|
-
enumerable: true,
|
|
1476
|
-
configurable: true
|
|
1477
|
-
});
|
|
1478
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE4", {
|
|
1479
|
-
get: function () {
|
|
1480
|
-
return 0x84C4;
|
|
1481
|
-
},
|
|
1482
|
-
enumerable: true,
|
|
1483
|
-
configurable: true
|
|
1484
|
-
});
|
|
1485
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE5", {
|
|
1486
|
-
get: function () {
|
|
1487
|
-
return 0x84C5;
|
|
1488
|
-
},
|
|
1489
|
-
enumerable: true,
|
|
1490
|
-
configurable: true
|
|
1491
|
-
});
|
|
1492
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE6", {
|
|
1493
|
-
get: function () {
|
|
1494
|
-
return 0x84C6;
|
|
1495
|
-
},
|
|
1496
|
-
enumerable: true,
|
|
1497
|
-
configurable: true
|
|
1498
|
-
});
|
|
1499
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE7", {
|
|
1500
|
-
get: function () {
|
|
1501
|
-
return 0x84C7;
|
|
1502
|
-
},
|
|
1503
|
-
enumerable: true,
|
|
1504
|
-
configurable: true
|
|
1505
|
-
});
|
|
1506
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE8", {
|
|
1507
|
-
get: function () {
|
|
1508
|
-
return 0x84C8;
|
|
1509
|
-
},
|
|
1510
|
-
enumerable: true,
|
|
1511
|
-
configurable: true
|
|
1512
|
-
});
|
|
1513
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE9", {
|
|
1514
|
-
get: function () {
|
|
1515
|
-
return 0x84C9;
|
|
1516
|
-
},
|
|
1517
|
-
enumerable: true,
|
|
1518
|
-
configurable: true
|
|
1519
|
-
});
|
|
1520
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE10", {
|
|
1521
|
-
get: function () {
|
|
1522
|
-
return 0x84CA;
|
|
1523
|
-
},
|
|
1524
|
-
enumerable: true,
|
|
1525
|
-
configurable: true
|
|
1526
|
-
});
|
|
1527
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE11", {
|
|
1528
|
-
get: function () {
|
|
1529
|
-
return 0x84CB;
|
|
1530
|
-
},
|
|
1531
|
-
enumerable: true,
|
|
1532
|
-
configurable: true
|
|
1533
|
-
});
|
|
1534
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE12", {
|
|
1535
|
-
get: function () {
|
|
1536
|
-
return 0x84CC;
|
|
1537
|
-
},
|
|
1538
|
-
enumerable: true,
|
|
1539
|
-
configurable: true
|
|
1540
|
-
});
|
|
1541
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE13", {
|
|
1542
|
-
get: function () {
|
|
1543
|
-
return 0x84CD;
|
|
1544
|
-
},
|
|
1545
|
-
enumerable: true,
|
|
1546
|
-
configurable: true
|
|
1547
|
-
});
|
|
1548
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE14", {
|
|
1549
|
-
get: function () {
|
|
1550
|
-
return 0x84CE;
|
|
1551
|
-
},
|
|
1552
|
-
enumerable: true,
|
|
1553
|
-
configurable: true
|
|
1554
|
-
});
|
|
1555
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE15", {
|
|
1556
|
-
get: function () {
|
|
1557
|
-
return 0x84CF;
|
|
1558
|
-
},
|
|
1559
|
-
enumerable: true,
|
|
1560
|
-
configurable: true
|
|
1561
|
-
});
|
|
1562
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE16", {
|
|
1563
|
-
get: function () {
|
|
1564
|
-
return 0x84D0;
|
|
1565
|
-
},
|
|
1566
|
-
enumerable: true,
|
|
1567
|
-
configurable: true
|
|
1568
|
-
});
|
|
1569
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE17", {
|
|
1570
|
-
get: function () {
|
|
1571
|
-
return 0x84D1;
|
|
1572
|
-
},
|
|
1573
|
-
enumerable: true,
|
|
1574
|
-
configurable: true
|
|
1575
|
-
});
|
|
1576
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE18", {
|
|
1577
|
-
get: function () {
|
|
1578
|
-
return 0x84D2;
|
|
1579
|
-
},
|
|
1580
|
-
enumerable: true,
|
|
1581
|
-
configurable: true
|
|
1582
|
-
});
|
|
1583
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE19", {
|
|
1584
|
-
get: function () {
|
|
1585
|
-
return 0x84D3;
|
|
1586
|
-
},
|
|
1587
|
-
enumerable: true,
|
|
1588
|
-
configurable: true
|
|
1589
|
-
});
|
|
1590
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE20", {
|
|
1591
|
-
get: function () {
|
|
1592
|
-
return 0x84D4;
|
|
1593
|
-
},
|
|
1594
|
-
enumerable: true,
|
|
1595
|
-
configurable: true
|
|
1596
|
-
});
|
|
1597
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE21", {
|
|
1598
|
-
get: function () {
|
|
1599
|
-
return 0x84D5;
|
|
1600
|
-
},
|
|
1601
|
-
enumerable: true,
|
|
1602
|
-
configurable: true
|
|
1603
|
-
});
|
|
1604
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE22", {
|
|
1605
|
-
get: function () {
|
|
1606
|
-
return 0x84D6;
|
|
1607
|
-
},
|
|
1608
|
-
enumerable: true,
|
|
1609
|
-
configurable: true
|
|
1610
|
-
});
|
|
1611
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE23", {
|
|
1612
|
-
get: function () {
|
|
1613
|
-
return 0x84D7;
|
|
1614
|
-
},
|
|
1615
|
-
enumerable: true,
|
|
1616
|
-
configurable: true
|
|
1617
|
-
});
|
|
1618
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE24", {
|
|
1619
|
-
get: function () {
|
|
1620
|
-
return 0x84D8;
|
|
1621
|
-
},
|
|
1622
|
-
enumerable: true,
|
|
1623
|
-
configurable: true
|
|
1624
|
-
});
|
|
1625
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE25", {
|
|
1626
|
-
get: function () {
|
|
1627
|
-
return 0x84D9;
|
|
1628
|
-
},
|
|
1629
|
-
enumerable: true,
|
|
1630
|
-
configurable: true
|
|
1631
|
-
});
|
|
1632
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE26", {
|
|
1633
|
-
get: function () {
|
|
1634
|
-
return 0x84DA;
|
|
1635
|
-
},
|
|
1636
|
-
enumerable: true,
|
|
1637
|
-
configurable: true
|
|
1638
|
-
});
|
|
1639
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE27", {
|
|
1640
|
-
get: function () {
|
|
1641
|
-
return 0x84DB;
|
|
1642
|
-
},
|
|
1643
|
-
enumerable: true,
|
|
1644
|
-
configurable: true
|
|
1645
|
-
});
|
|
1646
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE28", {
|
|
1647
|
-
get: function () {
|
|
1648
|
-
return 0x84DC;
|
|
1649
|
-
},
|
|
1650
|
-
enumerable: true,
|
|
1651
|
-
configurable: true
|
|
1652
|
-
});
|
|
1653
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE29", {
|
|
1654
|
-
get: function () {
|
|
1655
|
-
return 0x84DD;
|
|
1656
|
-
},
|
|
1657
|
-
enumerable: true,
|
|
1658
|
-
configurable: true
|
|
1659
|
-
});
|
|
1660
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE30", {
|
|
1661
|
-
/* Getting GL parameter information */
|
|
1662
|
-
/* Buffers */
|
|
1663
|
-
get: function () {
|
|
1664
|
-
return 0x84DE;
|
|
1665
|
-
},
|
|
1666
|
-
enumerable: true,
|
|
1667
|
-
configurable: true
|
|
1668
|
-
});
|
|
1669
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "TEXTURE31", {
|
|
1670
|
-
get: function () {
|
|
1671
|
-
return 0x84DF;
|
|
1672
|
-
},
|
|
1673
|
-
enumerable: true,
|
|
1674
|
-
configurable: true
|
|
1675
|
-
});
|
|
1676
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "ACTIVE_TEXTURE", {
|
|
1677
|
-
get: function () {
|
|
1678
|
-
return 0x84E0;
|
|
1679
|
-
},
|
|
1680
|
-
enumerable: true,
|
|
1681
|
-
configurable: true
|
|
1682
|
-
});
|
|
1683
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "REPEAT", {
|
|
1684
|
-
get: function () {
|
|
1685
|
-
return 0x2901;
|
|
1686
|
-
},
|
|
1687
|
-
enumerable: true,
|
|
1688
|
-
configurable: true
|
|
1689
|
-
});
|
|
1690
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "CLAMP_TO_EDGE", {
|
|
1691
|
-
get: function () {
|
|
1692
|
-
return 0x812F;
|
|
1693
|
-
},
|
|
1694
|
-
enumerable: true,
|
|
1695
|
-
configurable: true
|
|
1696
|
-
});
|
|
1697
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MIRRORED_REPEAT", {
|
|
1698
|
-
get: function () {
|
|
1699
|
-
return 0x8370;
|
|
1700
|
-
},
|
|
1701
|
-
enumerable: true,
|
|
1702
|
-
configurable: true
|
|
1703
|
-
});
|
|
1704
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_VEC2", {
|
|
1705
|
-
get: function () {
|
|
1706
|
-
return 0x8B50;
|
|
1707
|
-
},
|
|
1708
|
-
enumerable: true,
|
|
1709
|
-
configurable: true
|
|
1710
|
-
});
|
|
1711
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_VEC3", {
|
|
1712
|
-
/* Buffers */
|
|
1713
|
-
/* Vertex attributes */
|
|
1714
|
-
get: function () {
|
|
1715
|
-
return 0x8B51;
|
|
1716
|
-
},
|
|
1717
|
-
enumerable: true,
|
|
1718
|
-
configurable: true
|
|
1719
|
-
});
|
|
1720
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_VEC4", {
|
|
1721
|
-
get: function () {
|
|
1722
|
-
return 0x8B52;
|
|
1723
|
-
},
|
|
1724
|
-
enumerable: true,
|
|
1725
|
-
configurable: true
|
|
1726
|
-
});
|
|
1727
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INT_VEC2", {
|
|
1728
|
-
get: function () {
|
|
1729
|
-
return 0x8B53;
|
|
1730
|
-
},
|
|
1731
|
-
enumerable: true,
|
|
1732
|
-
configurable: true
|
|
1733
|
-
});
|
|
1734
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INT_VEC3", {
|
|
1735
|
-
get: function () {
|
|
1736
|
-
return 0x8B54;
|
|
1737
|
-
},
|
|
1738
|
-
enumerable: true,
|
|
1739
|
-
configurable: true
|
|
1740
|
-
});
|
|
1741
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INT_VEC4", {
|
|
1742
|
-
get: function () {
|
|
1743
|
-
return 0x8B55;
|
|
1744
|
-
},
|
|
1745
|
-
enumerable: true,
|
|
1746
|
-
configurable: true
|
|
1747
|
-
});
|
|
1748
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "BOOL", {
|
|
1749
|
-
get: function () {
|
|
1750
|
-
return 0x8B56;
|
|
1751
|
-
},
|
|
1752
|
-
enumerable: true,
|
|
1753
|
-
configurable: true
|
|
1754
|
-
});
|
|
1755
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "BOOL_VEC2", {
|
|
1756
|
-
get: function () {
|
|
1757
|
-
return 0x8B57;
|
|
1758
|
-
},
|
|
1759
|
-
enumerable: true,
|
|
1760
|
-
configurable: true
|
|
1761
|
-
});
|
|
1762
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "BOOL_VEC3", {
|
|
1763
|
-
get: function () {
|
|
1764
|
-
return 0x8B58;
|
|
1765
|
-
},
|
|
1766
|
-
enumerable: true,
|
|
1767
|
-
configurable: true
|
|
1768
|
-
});
|
|
1769
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "BOOL_VEC4", {
|
|
1770
|
-
/* Vertex attributes */
|
|
1771
|
-
/* Culling */
|
|
1772
|
-
get: function () {
|
|
1773
|
-
return 0x8B59;
|
|
1774
|
-
},
|
|
1775
|
-
enumerable: true,
|
|
1776
|
-
configurable: true
|
|
1777
|
-
});
|
|
1778
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_MAT2", {
|
|
1779
|
-
get: function () {
|
|
1780
|
-
return 0x8B5A;
|
|
1781
|
-
},
|
|
1782
|
-
enumerable: true,
|
|
1783
|
-
configurable: true
|
|
1784
|
-
});
|
|
1785
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_MAT3", {
|
|
1786
|
-
get: function () {
|
|
1787
|
-
return 0x8B5B;
|
|
1788
|
-
},
|
|
1789
|
-
enumerable: true,
|
|
1790
|
-
configurable: true
|
|
1791
|
-
});
|
|
1792
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FLOAT_MAT4", {
|
|
1793
|
-
get: function () {
|
|
1794
|
-
return 0x8B5C;
|
|
1795
|
-
},
|
|
1796
|
-
enumerable: true,
|
|
1797
|
-
configurable: true
|
|
1798
|
-
});
|
|
1799
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "SAMPLER_2D", {
|
|
1800
|
-
/* Culling */
|
|
1801
|
-
/* Enabling and disabling */
|
|
1802
|
-
get: function () {
|
|
1803
|
-
return 0x8B5E;
|
|
1804
|
-
},
|
|
1805
|
-
enumerable: true,
|
|
1806
|
-
configurable: true
|
|
1807
|
-
});
|
|
1808
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "SAMPLER_CUBE", {
|
|
1809
|
-
get: function () {
|
|
1810
|
-
return 0x8B60;
|
|
1811
|
-
},
|
|
1812
|
-
enumerable: true,
|
|
1813
|
-
configurable: true
|
|
1814
|
-
});
|
|
1815
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LOW_FLOAT", {
|
|
1816
|
-
get: function () {
|
|
1817
|
-
return 0x8DF0;
|
|
1818
|
-
},
|
|
1819
|
-
enumerable: true,
|
|
1820
|
-
configurable: true
|
|
1821
|
-
});
|
|
1822
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MEDIUM_FLOAT", {
|
|
1823
|
-
get: function () {
|
|
1824
|
-
return 0x8DF1;
|
|
1825
|
-
},
|
|
1826
|
-
enumerable: true,
|
|
1827
|
-
configurable: true
|
|
1828
|
-
});
|
|
1829
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "HIGH_FLOAT", {
|
|
1830
|
-
get: function () {
|
|
1831
|
-
return 0x8DF2;
|
|
1832
|
-
},
|
|
1833
|
-
enumerable: true,
|
|
1834
|
-
configurable: true
|
|
1835
|
-
});
|
|
1836
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "LOW_INT", {
|
|
1837
|
-
get: function () {
|
|
1838
|
-
return 0x8DF3;
|
|
1839
|
-
},
|
|
1840
|
-
enumerable: true,
|
|
1841
|
-
configurable: true
|
|
1842
|
-
});
|
|
1843
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MEDIUM_INT", {
|
|
1844
|
-
get: function () {
|
|
1845
|
-
return 0x8DF4;
|
|
1846
|
-
},
|
|
1847
|
-
enumerable: true,
|
|
1848
|
-
configurable: true
|
|
1849
|
-
});
|
|
1850
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "HIGH_INT", {
|
|
1851
|
-
get: function () {
|
|
1852
|
-
return 0x8DF5;
|
|
1853
|
-
},
|
|
1854
|
-
enumerable: true,
|
|
1855
|
-
configurable: true
|
|
1856
|
-
});
|
|
1857
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER", {
|
|
1858
|
-
/* Enabling and disabling */
|
|
1859
|
-
get: function () {
|
|
1860
|
-
return 0x8D40;
|
|
1861
|
-
},
|
|
1862
|
-
enumerable: true,
|
|
1863
|
-
configurable: true
|
|
1864
|
-
});
|
|
1865
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER", {
|
|
1866
|
-
get: function () {
|
|
1867
|
-
return 0x8D41;
|
|
1868
|
-
},
|
|
1869
|
-
enumerable: true,
|
|
1870
|
-
configurable: true
|
|
1871
|
-
});
|
|
1872
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RGBA4", {
|
|
1873
|
-
get: function () {
|
|
1874
|
-
return 0x8056;
|
|
1875
|
-
},
|
|
1876
|
-
enumerable: true,
|
|
1877
|
-
configurable: true
|
|
1878
|
-
});
|
|
1879
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RGB5_A1", {
|
|
1880
|
-
get: function () {
|
|
1881
|
-
return 0x8057;
|
|
1882
|
-
},
|
|
1883
|
-
enumerable: true,
|
|
1884
|
-
configurable: true
|
|
1885
|
-
});
|
|
1886
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RGB565", {
|
|
1887
|
-
get: function () {
|
|
1888
|
-
return 0x8D62;
|
|
1889
|
-
},
|
|
1890
|
-
enumerable: true,
|
|
1891
|
-
configurable: true
|
|
1892
|
-
});
|
|
1893
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DEPTH_COMPONENT16", {
|
|
1894
|
-
get: function () {
|
|
1895
|
-
return 0x81A5;
|
|
1896
|
-
},
|
|
1897
|
-
enumerable: true,
|
|
1898
|
-
configurable: true
|
|
1899
|
-
});
|
|
1900
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "STENCIL_INDEX8", {
|
|
1901
|
-
get: function () {
|
|
1902
|
-
return 0x8D48;
|
|
1903
|
-
},
|
|
1904
|
-
enumerable: true,
|
|
1905
|
-
configurable: true
|
|
1906
|
-
});
|
|
1907
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DEPTH_STENCIL", {
|
|
1908
|
-
/* Errors */
|
|
1909
|
-
/* Front face directions */
|
|
1910
|
-
get: function () {
|
|
1911
|
-
return 0x84F9;
|
|
1912
|
-
},
|
|
1913
|
-
enumerable: true,
|
|
1914
|
-
configurable: true
|
|
1915
|
-
});
|
|
1916
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_WIDTH", {
|
|
1917
|
-
get: function () {
|
|
1918
|
-
return 0x8D42;
|
|
1919
|
-
},
|
|
1920
|
-
enumerable: true,
|
|
1921
|
-
configurable: true
|
|
1922
|
-
});
|
|
1923
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_HEIGHT", {
|
|
1924
|
-
/* Front face directions */
|
|
1925
|
-
/* Hints */
|
|
1926
|
-
get: function () {
|
|
1927
|
-
return 0x8D43;
|
|
1928
|
-
},
|
|
1929
|
-
enumerable: true,
|
|
1930
|
-
configurable: true
|
|
1931
|
-
});
|
|
1932
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_INTERNAL_FORMAT", {
|
|
1933
|
-
get: function () {
|
|
1934
|
-
return 0x8D44;
|
|
1935
|
-
},
|
|
1936
|
-
enumerable: true,
|
|
1937
|
-
configurable: true
|
|
1938
|
-
});
|
|
1939
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_RED_SIZE", {
|
|
1940
|
-
get: function () {
|
|
1941
|
-
return 0x8D50;
|
|
1942
|
-
},
|
|
1943
|
-
enumerable: true,
|
|
1944
|
-
configurable: true
|
|
1945
|
-
});
|
|
1946
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_GREEN_SIZE", {
|
|
1947
|
-
get: function () {
|
|
1948
|
-
return 0x8D51;
|
|
1949
|
-
},
|
|
1950
|
-
enumerable: true,
|
|
1951
|
-
configurable: true
|
|
1952
|
-
});
|
|
1953
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_BLUE_SIZE", {
|
|
1954
|
-
/* Hints */
|
|
1955
|
-
/* Data types */
|
|
1956
|
-
get: function () {
|
|
1957
|
-
return 0x8D52;
|
|
1958
|
-
},
|
|
1959
|
-
enumerable: true,
|
|
1960
|
-
configurable: true
|
|
1961
|
-
});
|
|
1962
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_ALPHA_SIZE", {
|
|
1963
|
-
get: function () {
|
|
1964
|
-
return 0x8D53;
|
|
1965
|
-
},
|
|
1966
|
-
enumerable: true,
|
|
1967
|
-
configurable: true
|
|
1968
|
-
});
|
|
1969
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_DEPTH_SIZE", {
|
|
1970
|
-
get: function () {
|
|
1971
|
-
return 0x8D54;
|
|
1972
|
-
},
|
|
1973
|
-
enumerable: true,
|
|
1974
|
-
configurable: true
|
|
1975
|
-
});
|
|
1976
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_STENCIL_SIZE", {
|
|
1977
|
-
get: function () {
|
|
1978
|
-
return 0x8D55;
|
|
1979
|
-
},
|
|
1980
|
-
enumerable: true,
|
|
1981
|
-
configurable: true
|
|
1982
|
-
});
|
|
1983
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE", {
|
|
1984
|
-
get: function () {
|
|
1985
|
-
return 0x8CD0;
|
|
1986
|
-
},
|
|
1987
|
-
enumerable: true,
|
|
1988
|
-
configurable: true
|
|
1989
|
-
});
|
|
1990
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_ATTACHMENT_OBJECT_NAME", {
|
|
1991
|
-
get: function () {
|
|
1992
|
-
return 0x8CD1;
|
|
1993
|
-
},
|
|
1994
|
-
enumerable: true,
|
|
1995
|
-
configurable: true
|
|
1996
|
-
});
|
|
1997
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL", {
|
|
1998
|
-
get: function () {
|
|
1999
|
-
return 0x8CD2;
|
|
2000
|
-
},
|
|
2001
|
-
enumerable: true,
|
|
2002
|
-
configurable: true
|
|
2003
|
-
});
|
|
2004
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE", {
|
|
2005
|
-
/* Data types */
|
|
2006
|
-
/* Pixel formats */
|
|
2007
|
-
get: function () {
|
|
2008
|
-
return 0x8CD3;
|
|
2009
|
-
},
|
|
2010
|
-
enumerable: true,
|
|
2011
|
-
configurable: true
|
|
2012
|
-
});
|
|
2013
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "COLOR_ATTACHMENT0", {
|
|
2014
|
-
get: function () {
|
|
2015
|
-
return 0x8CE0;
|
|
2016
|
-
},
|
|
2017
|
-
enumerable: true,
|
|
2018
|
-
configurable: true
|
|
2019
|
-
});
|
|
2020
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DEPTH_ATTACHMENT", {
|
|
2021
|
-
get: function () {
|
|
2022
|
-
return 0x8D00;
|
|
2023
|
-
},
|
|
2024
|
-
enumerable: true,
|
|
2025
|
-
configurable: true
|
|
2026
|
-
});
|
|
2027
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "STENCIL_ATTACHMENT", {
|
|
2028
|
-
get: function () {
|
|
2029
|
-
return 0x8D20;
|
|
2030
|
-
},
|
|
2031
|
-
enumerable: true,
|
|
2032
|
-
configurable: true
|
|
2033
|
-
});
|
|
2034
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "DEPTH_STENCIL_ATTACHMENT", {
|
|
2035
|
-
get: function () {
|
|
2036
|
-
return 0x821A;
|
|
2037
|
-
},
|
|
2038
|
-
enumerable: true,
|
|
2039
|
-
configurable: true
|
|
2040
|
-
});
|
|
2041
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "NONE", {
|
|
2042
|
-
get: function () {
|
|
2043
|
-
return 0;
|
|
2044
|
-
},
|
|
2045
|
-
enumerable: true,
|
|
2046
|
-
configurable: true
|
|
2047
|
-
});
|
|
2048
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_COMPLETE", {
|
|
2049
|
-
/* Pixel formats */
|
|
2050
|
-
/* Pixel types */
|
|
2051
|
-
// public get UNSIGNED_BYTE(): number { return this.native.UNSIGNED_BYTE }
|
|
2052
|
-
get: function () {
|
|
2053
|
-
return 0x8CD5;
|
|
2054
|
-
},
|
|
2055
|
-
enumerable: true,
|
|
2056
|
-
configurable: true
|
|
2057
|
-
});
|
|
2058
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_INCOMPLETE_ATTACHMENT", {
|
|
2059
|
-
get: function () {
|
|
2060
|
-
return 0x8CD6;
|
|
2061
|
-
},
|
|
2062
|
-
enumerable: true,
|
|
2063
|
-
configurable: true
|
|
2064
|
-
});
|
|
2065
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT", {
|
|
2066
|
-
get: function () {
|
|
2067
|
-
return 0x8CD7;
|
|
2068
|
-
},
|
|
2069
|
-
enumerable: true,
|
|
2070
|
-
configurable: true
|
|
2071
|
-
});
|
|
2072
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_INCOMPLETE_DIMENSIONS", {
|
|
2073
|
-
/* Pixel types */
|
|
2074
|
-
/* Shaders */
|
|
2075
|
-
get: function () {
|
|
2076
|
-
return 0x8CD9;
|
|
2077
|
-
},
|
|
2078
|
-
enumerable: true,
|
|
2079
|
-
configurable: true
|
|
2080
|
-
});
|
|
2081
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_UNSUPPORTED", {
|
|
2082
|
-
get: function () {
|
|
2083
|
-
return 0x8CDD;
|
|
2084
|
-
},
|
|
2085
|
-
enumerable: true,
|
|
2086
|
-
configurable: true
|
|
2087
|
-
});
|
|
2088
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "FRAMEBUFFER_BINDING", {
|
|
2089
|
-
get: function () {
|
|
2090
|
-
return 0x8CA6;
|
|
2091
|
-
},
|
|
2092
|
-
enumerable: true,
|
|
2093
|
-
configurable: true
|
|
2094
|
-
});
|
|
2095
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "RENDERBUFFER_BINDING", {
|
|
2096
|
-
get: function () {
|
|
2097
|
-
return 0x8CA7;
|
|
2098
|
-
},
|
|
2099
|
-
enumerable: true,
|
|
2100
|
-
configurable: true
|
|
2101
|
-
});
|
|
2102
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "MAX_RENDERBUFFER_SIZE", {
|
|
2103
|
-
get: function () {
|
|
2104
|
-
return 0x84E8;
|
|
2105
|
-
},
|
|
2106
|
-
enumerable: true,
|
|
2107
|
-
configurable: true
|
|
2108
|
-
});
|
|
2109
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "INVALID_FRAMEBUFFER_OPERATION", {
|
|
2110
|
-
get: function () {
|
|
2111
|
-
return 0x0506;
|
|
2112
|
-
},
|
|
2113
|
-
enumerable: true,
|
|
2114
|
-
configurable: true
|
|
2115
|
-
});
|
|
2116
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNPACK_FLIP_Y_WEBGL", {
|
|
2117
|
-
get: function () {
|
|
2118
|
-
return 0x9240;
|
|
2119
|
-
},
|
|
2120
|
-
enumerable: true,
|
|
2121
|
-
configurable: true
|
|
2122
|
-
});
|
|
2123
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNPACK_PREMULTIPLY_ALPHA_WEBGL", {
|
|
2124
|
-
get: function () {
|
|
2125
|
-
return 0x9241;
|
|
2126
|
-
},
|
|
2127
|
-
enumerable: true,
|
|
2128
|
-
configurable: true
|
|
2129
|
-
});
|
|
2130
|
-
Object.defineProperty(WebGLRenderingContextBase.prototype, "UNPACK_COLORSPACE_CONVERSION_WEBGL", {
|
|
2131
|
-
get: function () {
|
|
2132
|
-
return 0x9243;
|
|
2133
|
-
},
|
|
2134
|
-
enumerable: true,
|
|
2135
|
-
configurable: true
|
|
2136
|
-
});
|
|
2137
|
-
WebGLRenderingContextBase.prototype.toNativeArray = function (value, type) {
|
|
6
|
+
get native() {
|
|
7
|
+
return this._native;
|
|
8
|
+
}
|
|
9
|
+
get canvas() {
|
|
10
|
+
return this._canvas;
|
|
11
|
+
}
|
|
12
|
+
get type() {
|
|
13
|
+
return this._type;
|
|
14
|
+
}
|
|
15
|
+
// get EXTENSIONS(): number {
|
|
16
|
+
// return 7939;
|
|
17
|
+
// }
|
|
18
|
+
get DEPTH_BUFFER_BIT() {
|
|
19
|
+
return 0x00000100;
|
|
20
|
+
}
|
|
21
|
+
get STENCIL_BUFFER_BIT() {
|
|
22
|
+
return 0x00000400;
|
|
23
|
+
}
|
|
24
|
+
get COLOR_BUFFER_BIT() {
|
|
25
|
+
return 0x00004000;
|
|
26
|
+
}
|
|
27
|
+
get POINTS() {
|
|
28
|
+
return 0x0000;
|
|
29
|
+
}
|
|
30
|
+
get LINES() {
|
|
31
|
+
return 0x0001;
|
|
32
|
+
}
|
|
33
|
+
get LINE_LOOP() {
|
|
34
|
+
return 0x0002;
|
|
35
|
+
}
|
|
36
|
+
get LINE_STRIP() {
|
|
37
|
+
return 0x0003;
|
|
38
|
+
}
|
|
39
|
+
get TRIANGLES() {
|
|
40
|
+
return 0x0004;
|
|
41
|
+
}
|
|
42
|
+
get TRIANGLE_STRIP() {
|
|
43
|
+
return 0x0005;
|
|
44
|
+
}
|
|
45
|
+
get TRIANGLE_FAN() {
|
|
46
|
+
return 0x0006;
|
|
47
|
+
}
|
|
48
|
+
get ZERO() {
|
|
49
|
+
return 0;
|
|
50
|
+
}
|
|
51
|
+
get ONE() {
|
|
52
|
+
return 1;
|
|
53
|
+
}
|
|
54
|
+
get SRC_COLOR() {
|
|
55
|
+
return 0x0300;
|
|
56
|
+
}
|
|
57
|
+
get ONE_MINUS_SRC_COLOR() {
|
|
58
|
+
return 0x0301;
|
|
59
|
+
}
|
|
60
|
+
get SRC_ALPHA() {
|
|
61
|
+
return 0x0302;
|
|
62
|
+
}
|
|
63
|
+
get ONE_MINUS_SRC_ALPHA() {
|
|
64
|
+
return 0x0303;
|
|
65
|
+
}
|
|
66
|
+
get DST_ALPHA() {
|
|
67
|
+
return 0x0304;
|
|
68
|
+
}
|
|
69
|
+
get ONE_MINUS_DST_ALPHA() {
|
|
70
|
+
return 0x0305;
|
|
71
|
+
}
|
|
72
|
+
get DST_COLOR() {
|
|
73
|
+
return 0x0306;
|
|
74
|
+
}
|
|
75
|
+
get ONE_MINUS_DST_COLOR() {
|
|
76
|
+
return 0x0307;
|
|
77
|
+
}
|
|
78
|
+
get SRC_ALPHA_SATURATE() {
|
|
79
|
+
return 0x0308;
|
|
80
|
+
}
|
|
81
|
+
get CONSTANT_COLOR() {
|
|
82
|
+
return 0x8001;
|
|
83
|
+
}
|
|
84
|
+
get ONE_MINUS_CONSTANT_COLOR() {
|
|
85
|
+
return 0x8002;
|
|
86
|
+
}
|
|
87
|
+
get CONSTANT_ALPHA() {
|
|
88
|
+
return 0x8003;
|
|
89
|
+
}
|
|
90
|
+
get ONE_MINUS_CONSTANT_ALPHA() {
|
|
91
|
+
return 0x8004;
|
|
92
|
+
}
|
|
93
|
+
/* Blending equations */
|
|
94
|
+
get FUNC_ADD() {
|
|
95
|
+
return 0x8006;
|
|
96
|
+
}
|
|
97
|
+
get FUNC_SUBTRACT() {
|
|
98
|
+
return 0x800A;
|
|
99
|
+
}
|
|
100
|
+
get FUNC_REVERSE_SUBTRACT() {
|
|
101
|
+
return 0x800B;
|
|
102
|
+
}
|
|
103
|
+
get BLEND_EQUATION() {
|
|
104
|
+
return 0x8009;
|
|
105
|
+
}
|
|
106
|
+
get BLEND_EQUATION_RGB() {
|
|
107
|
+
return 0x8009;
|
|
108
|
+
}
|
|
109
|
+
get BLEND_EQUATION_ALPHA() {
|
|
110
|
+
return 0x883D;
|
|
111
|
+
}
|
|
112
|
+
get BLEND_DST_RGB() {
|
|
113
|
+
return 0x80C8;
|
|
114
|
+
}
|
|
115
|
+
get BLEND_SRC_RGB() {
|
|
116
|
+
return 0x80C9;
|
|
117
|
+
}
|
|
118
|
+
get BLEND_DST_ALPHA() {
|
|
119
|
+
return 0x80CA;
|
|
120
|
+
}
|
|
121
|
+
get BLEND_SRC_ALPHA() {
|
|
122
|
+
return 0x80CB;
|
|
123
|
+
}
|
|
124
|
+
get BLEND_COLOR() {
|
|
125
|
+
return 0x8005;
|
|
126
|
+
}
|
|
127
|
+
get ARRAY_BUFFER_BINDING() {
|
|
128
|
+
return 0x8894;
|
|
129
|
+
}
|
|
130
|
+
get ELEMENT_ARRAY_BUFFER_BINDING() {
|
|
131
|
+
return 0x8895;
|
|
132
|
+
}
|
|
133
|
+
get LINE_WIDTH() {
|
|
134
|
+
return 0x0B21;
|
|
135
|
+
}
|
|
136
|
+
get ALIASED_POINT_SIZE_RANGE() {
|
|
137
|
+
return 0x846D;
|
|
138
|
+
}
|
|
139
|
+
get ALIASED_LINE_WIDTH_RANGE() {
|
|
140
|
+
return 0x846E;
|
|
141
|
+
}
|
|
142
|
+
get CULL_FACE_MODE() {
|
|
143
|
+
return 0x0B45;
|
|
144
|
+
}
|
|
145
|
+
get FRONT_FACE() {
|
|
146
|
+
return 0x0B46;
|
|
147
|
+
}
|
|
148
|
+
get DEPTH_RANGE() {
|
|
149
|
+
return 0x0B70;
|
|
150
|
+
}
|
|
151
|
+
get DEPTH_WRITEMASK() {
|
|
152
|
+
return 0x0B72;
|
|
153
|
+
}
|
|
154
|
+
get DEPTH_CLEAR_VALUE() {
|
|
155
|
+
return 0x0B73;
|
|
156
|
+
}
|
|
157
|
+
get DEPTH_FUNC() {
|
|
158
|
+
return 0x0B74;
|
|
159
|
+
}
|
|
160
|
+
get STENCIL_CLEAR_VALUE() {
|
|
161
|
+
return 0x0B91;
|
|
162
|
+
}
|
|
163
|
+
get STENCIL_FUNC() {
|
|
164
|
+
return 0x0B92;
|
|
165
|
+
}
|
|
166
|
+
get STENCIL_FAIL() {
|
|
167
|
+
return 0x0B94;
|
|
168
|
+
}
|
|
169
|
+
get STENCIL_PASS_DEPTH_FAIL() {
|
|
170
|
+
return 0x0B95;
|
|
171
|
+
}
|
|
172
|
+
get STENCIL_PASS_DEPTH_PASS() {
|
|
173
|
+
return 0x0B96;
|
|
174
|
+
}
|
|
175
|
+
get STENCIL_REF() {
|
|
176
|
+
return 0x0B97;
|
|
177
|
+
}
|
|
178
|
+
get STENCIL_VALUE_MASK() {
|
|
179
|
+
return 0x0B93;
|
|
180
|
+
}
|
|
181
|
+
get STENCIL_WRITEMASK() {
|
|
182
|
+
return 0x0B98;
|
|
183
|
+
}
|
|
184
|
+
get STENCIL_BACK_FUNC() {
|
|
185
|
+
return 0x8800;
|
|
186
|
+
}
|
|
187
|
+
get STENCIL_BACK_FAIL() {
|
|
188
|
+
return 0x8801;
|
|
189
|
+
}
|
|
190
|
+
get STENCIL_BACK_PASS_DEPTH_FAIL() {
|
|
191
|
+
return 0x8802;
|
|
192
|
+
}
|
|
193
|
+
get STENCIL_BACK_PASS_DEPTH_PASS() {
|
|
194
|
+
return 0x8803;
|
|
195
|
+
}
|
|
196
|
+
get STENCIL_BACK_REF() {
|
|
197
|
+
return 0x8CA3;
|
|
198
|
+
}
|
|
199
|
+
get STENCIL_BACK_VALUE_MASK() {
|
|
200
|
+
return 0x8CA4;
|
|
201
|
+
}
|
|
202
|
+
get STENCIL_BACK_WRITEMASK() {
|
|
203
|
+
return 0x8CA5;
|
|
204
|
+
}
|
|
205
|
+
// getCanvas(): Canvas;
|
|
206
|
+
get VIEWPORT() {
|
|
207
|
+
return 0x0BA2;
|
|
208
|
+
}
|
|
209
|
+
get SCISSOR_BOX() {
|
|
210
|
+
return 0x0C10;
|
|
211
|
+
}
|
|
212
|
+
get COLOR_CLEAR_VALUE() {
|
|
213
|
+
return 0x0C22;
|
|
214
|
+
}
|
|
215
|
+
get COLOR_WRITEMASK() {
|
|
216
|
+
return 0x0C23;
|
|
217
|
+
}
|
|
218
|
+
get UNPACK_ALIGNMENT() {
|
|
219
|
+
return 0x0CF5;
|
|
220
|
+
}
|
|
221
|
+
get PACK_ALIGNMENT() {
|
|
222
|
+
return 0x0D05;
|
|
223
|
+
}
|
|
224
|
+
get MAX_TEXTURE_SIZE() {
|
|
225
|
+
return 0x0D33;
|
|
226
|
+
}
|
|
227
|
+
get MAX_VIEWPORT_DIMS() {
|
|
228
|
+
return 0x0D3A;
|
|
229
|
+
}
|
|
230
|
+
get SUBPIXEL_BITS() {
|
|
231
|
+
return 0x0D50;
|
|
232
|
+
}
|
|
233
|
+
get RED_BITS() {
|
|
234
|
+
return 0x0D52;
|
|
235
|
+
}
|
|
236
|
+
get GREEN_BITS() {
|
|
237
|
+
return 0x0D53;
|
|
238
|
+
}
|
|
239
|
+
get BLUE_BITS() {
|
|
240
|
+
return 0x0D54;
|
|
241
|
+
}
|
|
242
|
+
get ALPHA_BITS() {
|
|
243
|
+
return 0x0D55;
|
|
244
|
+
}
|
|
245
|
+
get DEPTH_BITS() {
|
|
246
|
+
return 0x0D56;
|
|
247
|
+
}
|
|
248
|
+
get STENCIL_BITS() {
|
|
249
|
+
return 0x0D57;
|
|
250
|
+
}
|
|
251
|
+
get POLYGON_OFFSET_UNITS() {
|
|
252
|
+
return 0x2A00;
|
|
253
|
+
}
|
|
254
|
+
get POLYGON_OFFSET_FACTOR() {
|
|
255
|
+
return 0x8038;
|
|
256
|
+
}
|
|
257
|
+
get TEXTURE_BINDING_2D() {
|
|
258
|
+
return 0x8069;
|
|
259
|
+
}
|
|
260
|
+
get SAMPLE_BUFFERS() {
|
|
261
|
+
return 0x80A8;
|
|
262
|
+
}
|
|
263
|
+
get SAMPLES() {
|
|
264
|
+
return 0x80A9;
|
|
265
|
+
}
|
|
266
|
+
get SAMPLE_COVERAGE_VALUE() {
|
|
267
|
+
return 0x80AA;
|
|
268
|
+
}
|
|
269
|
+
get SAMPLE_COVERAGE_INVERT() {
|
|
270
|
+
return 0x80AB;
|
|
271
|
+
}
|
|
272
|
+
get COMPRESSED_TEXTURE_FORMATS() {
|
|
273
|
+
return 0x86A3;
|
|
274
|
+
}
|
|
275
|
+
get VENDOR() {
|
|
276
|
+
return 0x1F00;
|
|
277
|
+
}
|
|
278
|
+
get RENDERER() {
|
|
279
|
+
return 0x1F01;
|
|
280
|
+
}
|
|
281
|
+
get VERSION() {
|
|
282
|
+
return 0x1F02;
|
|
283
|
+
}
|
|
284
|
+
get IMPLEMENTATION_COLOR_READ_TYPE() {
|
|
285
|
+
return 0x8B9A;
|
|
286
|
+
}
|
|
287
|
+
get IMPLEMENTATION_COLOR_READ_FORMAT() {
|
|
288
|
+
return 0x8B9B;
|
|
289
|
+
}
|
|
290
|
+
get BROWSER_DEFAULT_WEBGL() {
|
|
291
|
+
return 0x9244;
|
|
292
|
+
}
|
|
293
|
+
get STATIC_DRAW() {
|
|
294
|
+
return 0x88E4;
|
|
295
|
+
}
|
|
296
|
+
get STREAM_DRAW() {
|
|
297
|
+
return 0x88E0;
|
|
298
|
+
}
|
|
299
|
+
get DYNAMIC_DRAW() {
|
|
300
|
+
return 0x88E8;
|
|
301
|
+
}
|
|
302
|
+
get ARRAY_BUFFER() {
|
|
303
|
+
return 0x8892;
|
|
304
|
+
}
|
|
305
|
+
get ELEMENT_ARRAY_BUFFER() {
|
|
306
|
+
return 0x8893;
|
|
307
|
+
}
|
|
308
|
+
get BUFFER_SIZE() {
|
|
309
|
+
return 0x8764;
|
|
310
|
+
}
|
|
311
|
+
get BUFFER_USAGE() {
|
|
312
|
+
return 0x8765;
|
|
313
|
+
}
|
|
314
|
+
get CURRENT_VERTEX_ATTRIB() {
|
|
315
|
+
return 0x8626;
|
|
316
|
+
}
|
|
317
|
+
get VERTEX_ATTRIB_ARRAY_ENABLED() {
|
|
318
|
+
return 0x8622;
|
|
319
|
+
}
|
|
320
|
+
get VERTEX_ATTRIB_ARRAY_SIZE() {
|
|
321
|
+
return 0x8623;
|
|
322
|
+
}
|
|
323
|
+
get VERTEX_ATTRIB_ARRAY_STRIDE() {
|
|
324
|
+
return 0x8624;
|
|
325
|
+
}
|
|
326
|
+
get VERTEX_ATTRIB_ARRAY_TYPE() {
|
|
327
|
+
return 0x8625;
|
|
328
|
+
}
|
|
329
|
+
get VERTEX_ATTRIB_ARRAY_NORMALIZED() {
|
|
330
|
+
return 0x886A;
|
|
331
|
+
}
|
|
332
|
+
get VERTEX_ATTRIB_ARRAY_POINTER() {
|
|
333
|
+
return 0x8645;
|
|
334
|
+
}
|
|
335
|
+
get VERTEX_ATTRIB_ARRAY_BUFFER_BINDING() {
|
|
336
|
+
return 0x889F;
|
|
337
|
+
}
|
|
338
|
+
get CULL_FACE() {
|
|
339
|
+
return 0x0B44;
|
|
340
|
+
}
|
|
341
|
+
get FRONT() {
|
|
342
|
+
return 0x0404;
|
|
343
|
+
}
|
|
344
|
+
get BACK() {
|
|
345
|
+
return 0x0405;
|
|
346
|
+
}
|
|
347
|
+
get FRONT_AND_BACK() {
|
|
348
|
+
return 0x0408;
|
|
349
|
+
}
|
|
350
|
+
get BLEND() {
|
|
351
|
+
return 0x0BE2;
|
|
352
|
+
}
|
|
353
|
+
get DEPTH_TEST() {
|
|
354
|
+
return 0x0B71;
|
|
355
|
+
}
|
|
356
|
+
get DITHER() {
|
|
357
|
+
return 0x0BD0;
|
|
358
|
+
}
|
|
359
|
+
get POLYGON_OFFSET_FILL() {
|
|
360
|
+
return 0x8037;
|
|
361
|
+
}
|
|
362
|
+
get SAMPLE_ALPHA_TO_COVERAGE() {
|
|
363
|
+
return 0x809E;
|
|
364
|
+
}
|
|
365
|
+
get SAMPLE_COVERAGE() {
|
|
366
|
+
return 0x80A0;
|
|
367
|
+
}
|
|
368
|
+
get SCISSOR_TEST() {
|
|
369
|
+
return 0x0C11;
|
|
370
|
+
}
|
|
371
|
+
get STENCIL_TEST() {
|
|
372
|
+
return 0x0B90;
|
|
373
|
+
}
|
|
374
|
+
/* Errors */
|
|
375
|
+
get NO_ERROR() {
|
|
376
|
+
return 0;
|
|
377
|
+
}
|
|
378
|
+
get INVALID_ENUM() {
|
|
379
|
+
return 0x0500;
|
|
380
|
+
}
|
|
381
|
+
get INVALID_VALUE() {
|
|
382
|
+
return 0x0501;
|
|
383
|
+
}
|
|
384
|
+
get INVALID_OPERATION() {
|
|
385
|
+
return 0x0502;
|
|
386
|
+
}
|
|
387
|
+
get OUT_OF_MEMORY() {
|
|
388
|
+
return 0x0505;
|
|
389
|
+
}
|
|
390
|
+
get CONTEXT_LOST_WEBGL() {
|
|
391
|
+
return 0x9242;
|
|
392
|
+
}
|
|
393
|
+
get CW() {
|
|
394
|
+
return 0x0900;
|
|
395
|
+
}
|
|
396
|
+
get CCW() {
|
|
397
|
+
return 0x0901;
|
|
398
|
+
}
|
|
399
|
+
get DONT_CARE() {
|
|
400
|
+
return 0x1100;
|
|
401
|
+
}
|
|
402
|
+
get FASTEST() {
|
|
403
|
+
return 0x1101;
|
|
404
|
+
}
|
|
405
|
+
get NICEST() {
|
|
406
|
+
return 0x1102;
|
|
407
|
+
}
|
|
408
|
+
get GENERATE_MIPMAP_HINT() {
|
|
409
|
+
return 0x8192;
|
|
410
|
+
}
|
|
411
|
+
get BYTE() {
|
|
412
|
+
return 0x1400;
|
|
413
|
+
}
|
|
414
|
+
get UNSIGNED_BYTE() {
|
|
415
|
+
return 0x1401;
|
|
416
|
+
}
|
|
417
|
+
get SHORT() {
|
|
418
|
+
return 0x1402;
|
|
419
|
+
}
|
|
420
|
+
get UNSIGNED_SHORT() {
|
|
421
|
+
return 0x1403;
|
|
422
|
+
}
|
|
423
|
+
get INT() {
|
|
424
|
+
return 0x1404;
|
|
425
|
+
}
|
|
426
|
+
get UNSIGNED_INT() {
|
|
427
|
+
return 0x1405;
|
|
428
|
+
}
|
|
429
|
+
get FLOAT() {
|
|
430
|
+
return 0x1406;
|
|
431
|
+
}
|
|
432
|
+
get DEPTH_COMPONENT() {
|
|
433
|
+
return 0x1902;
|
|
434
|
+
}
|
|
435
|
+
get ALPHA() {
|
|
436
|
+
return 0x1906;
|
|
437
|
+
}
|
|
438
|
+
get RGB() {
|
|
439
|
+
return 0x1907;
|
|
440
|
+
}
|
|
441
|
+
/* Clearing buffers */
|
|
442
|
+
get RGBA() {
|
|
443
|
+
return 0x1908;
|
|
444
|
+
}
|
|
445
|
+
get LUMINANCE() {
|
|
446
|
+
return 0x1909;
|
|
447
|
+
}
|
|
448
|
+
get LUMINANCE_ALPHA() {
|
|
449
|
+
return 0x190A;
|
|
450
|
+
}
|
|
451
|
+
/* Clearing buffers */
|
|
452
|
+
/* Rendering primitives */
|
|
453
|
+
get UNSIGNED_SHORT_4_4_4_4() {
|
|
454
|
+
return 0x8033;
|
|
455
|
+
}
|
|
456
|
+
get UNSIGNED_SHORT_5_5_5_1() {
|
|
457
|
+
return 0x8034;
|
|
458
|
+
}
|
|
459
|
+
get UNSIGNED_SHORT_5_6_5() {
|
|
460
|
+
return 0x8363;
|
|
461
|
+
}
|
|
462
|
+
get FRAGMENT_SHADER() {
|
|
463
|
+
return 0x8B30;
|
|
464
|
+
}
|
|
465
|
+
get VERTEX_SHADER() {
|
|
466
|
+
return 0x8B31;
|
|
467
|
+
}
|
|
468
|
+
get COMPILE_STATUS() {
|
|
469
|
+
return 0x8B81;
|
|
470
|
+
}
|
|
471
|
+
get DELETE_STATUS() {
|
|
472
|
+
return 0x8B80;
|
|
473
|
+
}
|
|
474
|
+
/* Rendering primitives */
|
|
475
|
+
/* Blending modes */
|
|
476
|
+
get LINK_STATUS() {
|
|
477
|
+
return 0x8B82;
|
|
478
|
+
}
|
|
479
|
+
get VALIDATE_STATUS() {
|
|
480
|
+
return 0x8B83;
|
|
481
|
+
}
|
|
482
|
+
get ATTACHED_SHADERS() {
|
|
483
|
+
return 0x8B85;
|
|
484
|
+
}
|
|
485
|
+
get ACTIVE_ATTRIBUTES() {
|
|
486
|
+
return 0x8B89;
|
|
487
|
+
}
|
|
488
|
+
get ACTIVE_UNIFORMS() {
|
|
489
|
+
return 0x8B86;
|
|
490
|
+
}
|
|
491
|
+
get MAX_VERTEX_ATTRIBS() {
|
|
492
|
+
return 0x8869;
|
|
493
|
+
}
|
|
494
|
+
get MAX_VERTEX_UNIFORM_VECTORS() {
|
|
495
|
+
return 0x8DFB;
|
|
496
|
+
}
|
|
497
|
+
get MAX_VARYING_VECTORS() {
|
|
498
|
+
return 0x8DFC;
|
|
499
|
+
}
|
|
500
|
+
get MAX_COMBINED_TEXTURE_IMAGE_UNITS() {
|
|
501
|
+
return 0x8B4D;
|
|
502
|
+
}
|
|
503
|
+
get MAX_VERTEX_TEXTURE_IMAGE_UNITS() {
|
|
504
|
+
return 0x8B4C;
|
|
505
|
+
}
|
|
506
|
+
get MAX_TEXTURE_IMAGE_UNITS() {
|
|
507
|
+
return 0x8872;
|
|
508
|
+
}
|
|
509
|
+
get MAX_FRAGMENT_UNIFORM_VECTORS() {
|
|
510
|
+
return 0x8DFD;
|
|
511
|
+
}
|
|
512
|
+
get SHADER_TYPE() {
|
|
513
|
+
return 0x8B4F;
|
|
514
|
+
}
|
|
515
|
+
get SHADING_LANGUAGE_VERSION() {
|
|
516
|
+
return 0x8B8C;
|
|
517
|
+
}
|
|
518
|
+
get CURRENT_PROGRAM() {
|
|
519
|
+
return 0x8B8D;
|
|
520
|
+
}
|
|
521
|
+
/* Blending modes */
|
|
522
|
+
get NEVER() {
|
|
523
|
+
return 0x0200;
|
|
524
|
+
}
|
|
525
|
+
get LESS() {
|
|
526
|
+
return 0x0201;
|
|
527
|
+
}
|
|
528
|
+
get EQUAL() {
|
|
529
|
+
return 0x0202;
|
|
530
|
+
}
|
|
531
|
+
/* Blending equations */
|
|
532
|
+
/* Getting GL parameter information */
|
|
533
|
+
get LEQUAL() {
|
|
534
|
+
return 0x0203;
|
|
535
|
+
}
|
|
536
|
+
get GREATER() {
|
|
537
|
+
return 0x0204;
|
|
538
|
+
}
|
|
539
|
+
get NOTEQUAL() {
|
|
540
|
+
return 0x0205;
|
|
541
|
+
}
|
|
542
|
+
get GEQUAL() {
|
|
543
|
+
return 0x0206;
|
|
544
|
+
}
|
|
545
|
+
get ALWAYS() {
|
|
546
|
+
return 0x0207;
|
|
547
|
+
}
|
|
548
|
+
get KEEP() {
|
|
549
|
+
return 0x1E00;
|
|
550
|
+
}
|
|
551
|
+
get REPLACE() {
|
|
552
|
+
return 0x1E01;
|
|
553
|
+
}
|
|
554
|
+
get INCR() {
|
|
555
|
+
return 0x1E02;
|
|
556
|
+
}
|
|
557
|
+
get DECR() {
|
|
558
|
+
return 0x1E03;
|
|
559
|
+
}
|
|
560
|
+
get INVERT() {
|
|
561
|
+
return 0x150A;
|
|
562
|
+
}
|
|
563
|
+
get INCR_WRAP() {
|
|
564
|
+
return 0x8507;
|
|
565
|
+
}
|
|
566
|
+
get DECR_WRAP() {
|
|
567
|
+
return 0x8508;
|
|
568
|
+
}
|
|
569
|
+
get NEAREST() {
|
|
570
|
+
return 0x2600;
|
|
571
|
+
}
|
|
572
|
+
get LINEAR() {
|
|
573
|
+
return 0x2601;
|
|
574
|
+
}
|
|
575
|
+
get NEAREST_MIPMAP_NEAREST() {
|
|
576
|
+
return 0x2700;
|
|
577
|
+
}
|
|
578
|
+
get LINEAR_MIPMAP_NEAREST() {
|
|
579
|
+
return 0x2701;
|
|
580
|
+
}
|
|
581
|
+
get NEAREST_MIPMAP_LINEAR() {
|
|
582
|
+
return 0x2702;
|
|
583
|
+
}
|
|
584
|
+
get LINEAR_MIPMAP_LINEAR() {
|
|
585
|
+
return 0x2703;
|
|
586
|
+
}
|
|
587
|
+
get TEXTURE_MAG_FILTER() {
|
|
588
|
+
return 0x2800;
|
|
589
|
+
}
|
|
590
|
+
get TEXTURE_MIN_FILTER() {
|
|
591
|
+
return 0x2801;
|
|
592
|
+
}
|
|
593
|
+
get TEXTURE_WRAP_S() {
|
|
594
|
+
return 0x2802;
|
|
595
|
+
}
|
|
596
|
+
get TEXTURE_WRAP_T() {
|
|
597
|
+
return 0x2803;
|
|
598
|
+
}
|
|
599
|
+
get TEXTURE_2D() {
|
|
600
|
+
return 0x0DE1;
|
|
601
|
+
}
|
|
602
|
+
get TEXTURE() {
|
|
603
|
+
return 0x1702;
|
|
604
|
+
}
|
|
605
|
+
get TEXTURE_CUBE_MAP() {
|
|
606
|
+
return 0x8513;
|
|
607
|
+
}
|
|
608
|
+
get TEXTURE_BINDING_CUBE_MAP() {
|
|
609
|
+
return 0x8514;
|
|
610
|
+
}
|
|
611
|
+
get TEXTURE_CUBE_MAP_POSITIVE_X() {
|
|
612
|
+
return 0x8515;
|
|
613
|
+
}
|
|
614
|
+
get TEXTURE_CUBE_MAP_NEGATIVE_X() {
|
|
615
|
+
return 0x8516;
|
|
616
|
+
}
|
|
617
|
+
get TEXTURE_CUBE_MAP_POSITIVE_Y() {
|
|
618
|
+
return 0x8517;
|
|
619
|
+
}
|
|
620
|
+
get TEXTURE_CUBE_MAP_NEGATIVE_Y() {
|
|
621
|
+
return 0x8518;
|
|
622
|
+
}
|
|
623
|
+
get TEXTURE_CUBE_MAP_POSITIVE_Z() {
|
|
624
|
+
return 0x8519;
|
|
625
|
+
}
|
|
626
|
+
get TEXTURE_CUBE_MAP_NEGATIVE_Z() {
|
|
627
|
+
return 0x851A;
|
|
628
|
+
}
|
|
629
|
+
get MAX_CUBE_MAP_TEXTURE_SIZE() {
|
|
630
|
+
return 0x851C;
|
|
631
|
+
}
|
|
632
|
+
get TEXTURE0() {
|
|
633
|
+
return 0x84C0;
|
|
634
|
+
}
|
|
635
|
+
get TEXTURE1() {
|
|
636
|
+
return 0x84C1;
|
|
637
|
+
}
|
|
638
|
+
get TEXTURE2() {
|
|
639
|
+
return 0x84C2;
|
|
640
|
+
}
|
|
641
|
+
get TEXTURE3() {
|
|
642
|
+
return 0x84C3;
|
|
643
|
+
}
|
|
644
|
+
get TEXTURE4() {
|
|
645
|
+
return 0x84C4;
|
|
646
|
+
}
|
|
647
|
+
get TEXTURE5() {
|
|
648
|
+
return 0x84C5;
|
|
649
|
+
}
|
|
650
|
+
get TEXTURE6() {
|
|
651
|
+
return 0x84C6;
|
|
652
|
+
}
|
|
653
|
+
get TEXTURE7() {
|
|
654
|
+
return 0x84C7;
|
|
655
|
+
}
|
|
656
|
+
get TEXTURE8() {
|
|
657
|
+
return 0x84C8;
|
|
658
|
+
}
|
|
659
|
+
get TEXTURE9() {
|
|
660
|
+
return 0x84C9;
|
|
661
|
+
}
|
|
662
|
+
get TEXTURE10() {
|
|
663
|
+
return 0x84CA;
|
|
664
|
+
}
|
|
665
|
+
get TEXTURE11() {
|
|
666
|
+
return 0x84CB;
|
|
667
|
+
}
|
|
668
|
+
get TEXTURE12() {
|
|
669
|
+
return 0x84CC;
|
|
670
|
+
}
|
|
671
|
+
get TEXTURE13() {
|
|
672
|
+
return 0x84CD;
|
|
673
|
+
}
|
|
674
|
+
get TEXTURE14() {
|
|
675
|
+
return 0x84CE;
|
|
676
|
+
}
|
|
677
|
+
get TEXTURE15() {
|
|
678
|
+
return 0x84CF;
|
|
679
|
+
}
|
|
680
|
+
get TEXTURE16() {
|
|
681
|
+
return 0x84D0;
|
|
682
|
+
}
|
|
683
|
+
get TEXTURE17() {
|
|
684
|
+
return 0x84D1;
|
|
685
|
+
}
|
|
686
|
+
get TEXTURE18() {
|
|
687
|
+
return 0x84D2;
|
|
688
|
+
}
|
|
689
|
+
get TEXTURE19() {
|
|
690
|
+
return 0x84D3;
|
|
691
|
+
}
|
|
692
|
+
get TEXTURE20() {
|
|
693
|
+
return 0x84D4;
|
|
694
|
+
}
|
|
695
|
+
get TEXTURE21() {
|
|
696
|
+
return 0x84D5;
|
|
697
|
+
}
|
|
698
|
+
get TEXTURE22() {
|
|
699
|
+
return 0x84D6;
|
|
700
|
+
}
|
|
701
|
+
get TEXTURE23() {
|
|
702
|
+
return 0x84D7;
|
|
703
|
+
}
|
|
704
|
+
get TEXTURE24() {
|
|
705
|
+
return 0x84D8;
|
|
706
|
+
}
|
|
707
|
+
get TEXTURE25() {
|
|
708
|
+
return 0x84D9;
|
|
709
|
+
}
|
|
710
|
+
get TEXTURE26() {
|
|
711
|
+
return 0x84DA;
|
|
712
|
+
}
|
|
713
|
+
get TEXTURE27() {
|
|
714
|
+
return 0x84DB;
|
|
715
|
+
}
|
|
716
|
+
get TEXTURE28() {
|
|
717
|
+
return 0x84DC;
|
|
718
|
+
}
|
|
719
|
+
get TEXTURE29() {
|
|
720
|
+
return 0x84DD;
|
|
721
|
+
}
|
|
722
|
+
/* Getting GL parameter information */
|
|
723
|
+
/* Buffers */
|
|
724
|
+
get TEXTURE30() {
|
|
725
|
+
return 0x84DE;
|
|
726
|
+
}
|
|
727
|
+
get TEXTURE31() {
|
|
728
|
+
return 0x84DF;
|
|
729
|
+
}
|
|
730
|
+
get ACTIVE_TEXTURE() {
|
|
731
|
+
return 0x84E0;
|
|
732
|
+
}
|
|
733
|
+
get REPEAT() {
|
|
734
|
+
return 0x2901;
|
|
735
|
+
}
|
|
736
|
+
get CLAMP_TO_EDGE() {
|
|
737
|
+
return 0x812F;
|
|
738
|
+
}
|
|
739
|
+
get MIRRORED_REPEAT() {
|
|
740
|
+
return 0x8370;
|
|
741
|
+
}
|
|
742
|
+
get FLOAT_VEC2() {
|
|
743
|
+
return 0x8B50;
|
|
744
|
+
}
|
|
745
|
+
/* Buffers */
|
|
746
|
+
/* Vertex attributes */
|
|
747
|
+
get FLOAT_VEC3() {
|
|
748
|
+
return 0x8B51;
|
|
749
|
+
}
|
|
750
|
+
get FLOAT_VEC4() {
|
|
751
|
+
return 0x8B52;
|
|
752
|
+
}
|
|
753
|
+
get INT_VEC2() {
|
|
754
|
+
return 0x8B53;
|
|
755
|
+
}
|
|
756
|
+
get INT_VEC3() {
|
|
757
|
+
return 0x8B54;
|
|
758
|
+
}
|
|
759
|
+
get INT_VEC4() {
|
|
760
|
+
return 0x8B55;
|
|
761
|
+
}
|
|
762
|
+
get BOOL() {
|
|
763
|
+
return 0x8B56;
|
|
764
|
+
}
|
|
765
|
+
get BOOL_VEC2() {
|
|
766
|
+
return 0x8B57;
|
|
767
|
+
}
|
|
768
|
+
get BOOL_VEC3() {
|
|
769
|
+
return 0x8B58;
|
|
770
|
+
}
|
|
771
|
+
/* Vertex attributes */
|
|
772
|
+
/* Culling */
|
|
773
|
+
get BOOL_VEC4() {
|
|
774
|
+
return 0x8B59;
|
|
775
|
+
}
|
|
776
|
+
get FLOAT_MAT2() {
|
|
777
|
+
return 0x8B5A;
|
|
778
|
+
}
|
|
779
|
+
get FLOAT_MAT3() {
|
|
780
|
+
return 0x8B5B;
|
|
781
|
+
}
|
|
782
|
+
get FLOAT_MAT4() {
|
|
783
|
+
return 0x8B5C;
|
|
784
|
+
}
|
|
785
|
+
/* Culling */
|
|
786
|
+
/* Enabling and disabling */
|
|
787
|
+
get SAMPLER_2D() {
|
|
788
|
+
return 0x8B5E;
|
|
789
|
+
}
|
|
790
|
+
get SAMPLER_CUBE() {
|
|
791
|
+
return 0x8B60;
|
|
792
|
+
}
|
|
793
|
+
get LOW_FLOAT() {
|
|
794
|
+
return 0x8DF0;
|
|
795
|
+
}
|
|
796
|
+
get MEDIUM_FLOAT() {
|
|
797
|
+
return 0x8DF1;
|
|
798
|
+
}
|
|
799
|
+
get HIGH_FLOAT() {
|
|
800
|
+
return 0x8DF2;
|
|
801
|
+
}
|
|
802
|
+
get LOW_INT() {
|
|
803
|
+
return 0x8DF3;
|
|
804
|
+
}
|
|
805
|
+
get MEDIUM_INT() {
|
|
806
|
+
return 0x8DF4;
|
|
807
|
+
}
|
|
808
|
+
get HIGH_INT() {
|
|
809
|
+
return 0x8DF5;
|
|
810
|
+
}
|
|
811
|
+
/* Enabling and disabling */
|
|
812
|
+
get FRAMEBUFFER() {
|
|
813
|
+
return 0x8D40;
|
|
814
|
+
}
|
|
815
|
+
get RENDERBUFFER() {
|
|
816
|
+
return 0x8D41;
|
|
817
|
+
}
|
|
818
|
+
get RGBA4() {
|
|
819
|
+
return 0x8056;
|
|
820
|
+
}
|
|
821
|
+
get RGB5_A1() {
|
|
822
|
+
return 0x8057;
|
|
823
|
+
}
|
|
824
|
+
get RGB565() {
|
|
825
|
+
return 0x8D62;
|
|
826
|
+
}
|
|
827
|
+
get DEPTH_COMPONENT16() {
|
|
828
|
+
return 0x81A5;
|
|
829
|
+
}
|
|
830
|
+
get STENCIL_INDEX8() {
|
|
831
|
+
return 0x8D48;
|
|
832
|
+
}
|
|
833
|
+
/* Errors */
|
|
834
|
+
/* Front face directions */
|
|
835
|
+
get DEPTH_STENCIL() {
|
|
836
|
+
return 0x84F9;
|
|
837
|
+
}
|
|
838
|
+
get RENDERBUFFER_WIDTH() {
|
|
839
|
+
return 0x8D42;
|
|
840
|
+
}
|
|
841
|
+
/* Front face directions */
|
|
842
|
+
/* Hints */
|
|
843
|
+
get RENDERBUFFER_HEIGHT() {
|
|
844
|
+
return 0x8D43;
|
|
845
|
+
}
|
|
846
|
+
get RENDERBUFFER_INTERNAL_FORMAT() {
|
|
847
|
+
return 0x8D44;
|
|
848
|
+
}
|
|
849
|
+
get RENDERBUFFER_RED_SIZE() {
|
|
850
|
+
return 0x8D50;
|
|
851
|
+
}
|
|
852
|
+
get RENDERBUFFER_GREEN_SIZE() {
|
|
853
|
+
return 0x8D51;
|
|
854
|
+
}
|
|
855
|
+
/* Hints */
|
|
856
|
+
/* Data types */
|
|
857
|
+
get RENDERBUFFER_BLUE_SIZE() {
|
|
858
|
+
return 0x8D52;
|
|
859
|
+
}
|
|
860
|
+
get RENDERBUFFER_ALPHA_SIZE() {
|
|
861
|
+
return 0x8D53;
|
|
862
|
+
}
|
|
863
|
+
get RENDERBUFFER_DEPTH_SIZE() {
|
|
864
|
+
return 0x8D54;
|
|
865
|
+
}
|
|
866
|
+
get RENDERBUFFER_STENCIL_SIZE() {
|
|
867
|
+
return 0x8D55;
|
|
868
|
+
}
|
|
869
|
+
get FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE() {
|
|
870
|
+
return 0x8CD0;
|
|
871
|
+
}
|
|
872
|
+
get FRAMEBUFFER_ATTACHMENT_OBJECT_NAME() {
|
|
873
|
+
return 0x8CD1;
|
|
874
|
+
}
|
|
875
|
+
get FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL() {
|
|
876
|
+
return 0x8CD2;
|
|
877
|
+
}
|
|
878
|
+
/* Data types */
|
|
879
|
+
/* Pixel formats */
|
|
880
|
+
get FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE() {
|
|
881
|
+
return 0x8CD3;
|
|
882
|
+
}
|
|
883
|
+
get COLOR_ATTACHMENT0() {
|
|
884
|
+
return 0x8CE0;
|
|
885
|
+
}
|
|
886
|
+
get DEPTH_ATTACHMENT() {
|
|
887
|
+
return 0x8D00;
|
|
888
|
+
}
|
|
889
|
+
get STENCIL_ATTACHMENT() {
|
|
890
|
+
return 0x8D20;
|
|
891
|
+
}
|
|
892
|
+
get DEPTH_STENCIL_ATTACHMENT() {
|
|
893
|
+
return 0x821A;
|
|
894
|
+
}
|
|
895
|
+
get NONE() {
|
|
896
|
+
return 0;
|
|
897
|
+
}
|
|
898
|
+
/* Pixel formats */
|
|
899
|
+
/* Pixel types */
|
|
900
|
+
// public get UNSIGNED_BYTE(): number { return this.native.UNSIGNED_BYTE }
|
|
901
|
+
get FRAMEBUFFER_COMPLETE() {
|
|
902
|
+
return 0x8CD5;
|
|
903
|
+
}
|
|
904
|
+
get FRAMEBUFFER_INCOMPLETE_ATTACHMENT() {
|
|
905
|
+
return 0x8CD6;
|
|
906
|
+
}
|
|
907
|
+
get FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT() {
|
|
908
|
+
return 0x8CD7;
|
|
909
|
+
}
|
|
910
|
+
/* Pixel types */
|
|
911
|
+
/* Shaders */
|
|
912
|
+
get FRAMEBUFFER_INCOMPLETE_DIMENSIONS() {
|
|
913
|
+
return 0x8CD9;
|
|
914
|
+
}
|
|
915
|
+
get FRAMEBUFFER_UNSUPPORTED() {
|
|
916
|
+
return 0x8CDD;
|
|
917
|
+
}
|
|
918
|
+
get FRAMEBUFFER_BINDING() {
|
|
919
|
+
return 0x8CA6;
|
|
920
|
+
}
|
|
921
|
+
get RENDERBUFFER_BINDING() {
|
|
922
|
+
return 0x8CA7;
|
|
923
|
+
}
|
|
924
|
+
get MAX_RENDERBUFFER_SIZE() {
|
|
925
|
+
return 0x84E8;
|
|
926
|
+
}
|
|
927
|
+
get INVALID_FRAMEBUFFER_OPERATION() {
|
|
928
|
+
return 0x0506;
|
|
929
|
+
}
|
|
930
|
+
get UNPACK_FLIP_Y_WEBGL() {
|
|
931
|
+
return 0x9240;
|
|
932
|
+
}
|
|
933
|
+
get UNPACK_PREMULTIPLY_ALPHA_WEBGL() {
|
|
934
|
+
return 0x9241;
|
|
935
|
+
}
|
|
936
|
+
get UNPACK_COLORSPACE_CONVERSION_WEBGL() {
|
|
937
|
+
return 0x9243;
|
|
938
|
+
}
|
|
939
|
+
toNativeArray(value, type) {
|
|
2138
940
|
return [];
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
}());
|
|
2144
|
-
exports.WebGLRenderingContextBase = WebGLRenderingContextBase;
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
WebGLRenderingContextBase.isDebug = false;
|
|
944
|
+
WebGLRenderingContextBase.filter = 'both';
|
|
2145
945
|
//# sourceMappingURL=common.js.map
|