OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal' hide deprecated; | 7 import 'dart:_internal' hide deprecated; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
11 import 'dart:typed_data'; | 11 import 'dart:typed_data'; |
12 import 'dart:_js_helper' show Creates, JSName, Native, Null, Returns, convertDar
tClosureToJS; | 12 import 'dart:_js_helper' show Creates, JSName, Native, Null, Returns, convertDar
tClosureToJS; |
13 import 'dart:_foreign_helper' show JS; | 13 import 'dart:_foreign_helper' show JS; |
14 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | 14 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
15 // DO NOT EDIT - unless you are editing documentation as per: | 15 // DO NOT EDIT - unless you are editing documentation as per: |
16 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 16 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
17 // Auto-generated dart:web_gl library. | 17 // Auto-generated dart:web_gl library. |
18 | 18 |
19 | 19 |
20 | 20 |
21 | 21 |
22 | 22 |
23 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 23 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
24 // for details. All rights reserved. Use of this source code is governed by a | 24 // for details. All rights reserved. Use of this source code is governed by a |
25 // BSD-style license that can be found in the LICENSE file. | 25 // BSD-style license that can be found in the LICENSE file. |
26 | 26 |
27 | 27 |
28 const int ACTIVE_ATTRIBUTES = RenderingContextBase.ACTIVE_ATTRIBUTES; | 28 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
29 const int ACTIVE_TEXTURE = RenderingContextBase.ACTIVE_TEXTURE; | 29 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
30 const int ACTIVE_UNIFORMS = RenderingContextBase.ACTIVE_UNIFORMS; | 30 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
31 const int ALIASED_LINE_WIDTH_RANGE = RenderingContextBase.ALIASED_LINE_WIDTH_RAN
GE; | 31 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; |
32 const int ALIASED_POINT_SIZE_RANGE = RenderingContextBase.ALIASED_POINT_SIZE_RAN
GE; | 32 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; |
33 const int ALPHA = RenderingContextBase.ALPHA; | 33 const int ALPHA = RenderingContext.ALPHA; |
34 const int ALPHA_BITS = RenderingContextBase.ALPHA_BITS; | 34 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; |
35 const int ALWAYS = RenderingContextBase.ALWAYS; | 35 const int ALWAYS = RenderingContext.ALWAYS; |
36 const int ARRAY_BUFFER = RenderingContextBase.ARRAY_BUFFER; | 36 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; |
37 const int ARRAY_BUFFER_BINDING = RenderingContextBase.ARRAY_BUFFER_BINDING; | 37 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; |
38 const int ATTACHED_SHADERS = RenderingContextBase.ATTACHED_SHADERS; | 38 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; |
39 const int BACK = RenderingContextBase.BACK; | 39 const int BACK = RenderingContext.BACK; |
40 const int BLEND = RenderingContextBase.BLEND; | 40 const int BLEND = RenderingContext.BLEND; |
41 const int BLEND_COLOR = RenderingContextBase.BLEND_COLOR; | 41 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; |
42 const int BLEND_DST_ALPHA = RenderingContextBase.BLEND_DST_ALPHA; | 42 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; |
43 const int BLEND_DST_RGB = RenderingContextBase.BLEND_DST_RGB; | 43 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; |
44 const int BLEND_EQUATION = RenderingContextBase.BLEND_EQUATION; | 44 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; |
45 const int BLEND_EQUATION_ALPHA = RenderingContextBase.BLEND_EQUATION_ALPHA; | 45 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; |
46 const int BLEND_EQUATION_RGB = RenderingContextBase.BLEND_EQUATION_RGB; | 46 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; |
47 const int BLEND_SRC_ALPHA = RenderingContextBase.BLEND_SRC_ALPHA; | 47 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; |
48 const int BLEND_SRC_RGB = RenderingContextBase.BLEND_SRC_RGB; | 48 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; |
49 const int BLUE_BITS = RenderingContextBase.BLUE_BITS; | 49 const int BLUE_BITS = RenderingContext.BLUE_BITS; |
50 const int BOOL = RenderingContextBase.BOOL; | 50 const int BOOL = RenderingContext.BOOL; |
51 const int BOOL_VEC2 = RenderingContextBase.BOOL_VEC2; | 51 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; |
52 const int BOOL_VEC3 = RenderingContextBase.BOOL_VEC3; | 52 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; |
53 const int BOOL_VEC4 = RenderingContextBase.BOOL_VEC4; | 53 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; |
54 const int BROWSER_DEFAULT_WEBGL = RenderingContextBase.BROWSER_DEFAULT_WEBGL; | 54 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; |
55 const int BUFFER_SIZE = RenderingContextBase.BUFFER_SIZE; | 55 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; |
56 const int BUFFER_USAGE = RenderingContextBase.BUFFER_USAGE; | 56 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; |
57 const int BYTE = RenderingContextBase.BYTE; | 57 const int BYTE = RenderingContext.BYTE; |
58 const int CCW = RenderingContextBase.CCW; | 58 const int CCW = RenderingContext.CCW; |
59 const int CLAMP_TO_EDGE = RenderingContextBase.CLAMP_TO_EDGE; | 59 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; |
60 const int COLOR_ATTACHMENT0 = RenderingContextBase.COLOR_ATTACHMENT0; | 60 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; |
61 const int COLOR_BUFFER_BIT = RenderingContextBase.COLOR_BUFFER_BIT; | 61 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; |
62 const int COLOR_CLEAR_VALUE = RenderingContextBase.COLOR_CLEAR_VALUE; | 62 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; |
63 const int COLOR_WRITEMASK = RenderingContextBase.COLOR_WRITEMASK; | 63 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; |
64 const int COMPILE_STATUS = RenderingContextBase.COMPILE_STATUS; | 64 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; |
65 const int COMPRESSED_TEXTURE_FORMATS = RenderingContextBase.COMPRESSED_TEXTURE_F
ORMATS; | 65 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA
TS; |
66 const int CONSTANT_ALPHA = RenderingContextBase.CONSTANT_ALPHA; | 66 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; |
67 const int CONSTANT_COLOR = RenderingContextBase.CONSTANT_COLOR; | 67 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; |
68 const int CONTEXT_LOST_WEBGL = RenderingContextBase.CONTEXT_LOST_WEBGL; | 68 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; |
69 const int CULL_FACE = RenderingContextBase.CULL_FACE; | 69 const int CULL_FACE = RenderingContext.CULL_FACE; |
70 const int CULL_FACE_MODE = RenderingContextBase.CULL_FACE_MODE; | 70 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; |
71 const int CURRENT_PROGRAM = RenderingContextBase.CURRENT_PROGRAM; | 71 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; |
72 const int CURRENT_VERTEX_ATTRIB = RenderingContextBase.CURRENT_VERTEX_ATTRIB; | 72 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; |
73 const int CW = RenderingContextBase.CW; | 73 const int CW = RenderingContext.CW; |
74 const int DECR = RenderingContextBase.DECR; | 74 const int DECR = RenderingContext.DECR; |
75 const int DECR_WRAP = RenderingContextBase.DECR_WRAP; | 75 const int DECR_WRAP = RenderingContext.DECR_WRAP; |
76 const int DELETE_STATUS = RenderingContextBase.DELETE_STATUS; | 76 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; |
77 const int DEPTH_ATTACHMENT = RenderingContextBase.DEPTH_ATTACHMENT; | 77 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; |
78 const int DEPTH_BITS = RenderingContextBase.DEPTH_BITS; | 78 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; |
79 const int DEPTH_BUFFER_BIT = RenderingContextBase.DEPTH_BUFFER_BIT; | 79 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; |
80 const int DEPTH_CLEAR_VALUE = RenderingContextBase.DEPTH_CLEAR_VALUE; | 80 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; |
81 const int DEPTH_COMPONENT = RenderingContextBase.DEPTH_COMPONENT; | 81 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; |
82 const int DEPTH_COMPONENT16 = RenderingContextBase.DEPTH_COMPONENT16; | 82 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; |
83 const int DEPTH_FUNC = RenderingContextBase.DEPTH_FUNC; | 83 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; |
84 const int DEPTH_RANGE = RenderingContextBase.DEPTH_RANGE; | 84 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; |
85 const int DEPTH_STENCIL = RenderingContextBase.DEPTH_STENCIL; | 85 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; |
86 const int DEPTH_STENCIL_ATTACHMENT = RenderingContextBase.DEPTH_STENCIL_ATTACHME
NT; | 86 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; |
87 const int DEPTH_TEST = RenderingContextBase.DEPTH_TEST; | 87 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; |
88 const int DEPTH_WRITEMASK = RenderingContextBase.DEPTH_WRITEMASK; | 88 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; |
89 const int DITHER = RenderingContextBase.DITHER; | 89 const int DITHER = RenderingContext.DITHER; |
90 const int DONT_CARE = RenderingContextBase.DONT_CARE; | 90 const int DONT_CARE = RenderingContext.DONT_CARE; |
91 const int DST_ALPHA = RenderingContextBase.DST_ALPHA; | 91 const int DST_ALPHA = RenderingContext.DST_ALPHA; |
92 const int DST_COLOR = RenderingContextBase.DST_COLOR; | 92 const int DST_COLOR = RenderingContext.DST_COLOR; |
93 const int DYNAMIC_DRAW = RenderingContextBase.DYNAMIC_DRAW; | 93 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; |
94 const int ELEMENT_ARRAY_BUFFER = RenderingContextBase.ELEMENT_ARRAY_BUFFER; | 94 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; |
95 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContextBase.ELEMENT_ARRAY_BUFF
ER_BINDING; | 95 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B
INDING; |
96 const int EQUAL = RenderingContextBase.EQUAL; | 96 const int EQUAL = RenderingContext.EQUAL; |
97 const int FASTEST = RenderingContextBase.FASTEST; | 97 const int FASTEST = RenderingContext.FASTEST; |
98 const int FLOAT = RenderingContextBase.FLOAT; | 98 const int FLOAT = RenderingContext.FLOAT; |
99 const int FLOAT_MAT2 = RenderingContextBase.FLOAT_MAT2; | 99 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; |
100 const int FLOAT_MAT3 = RenderingContextBase.FLOAT_MAT3; | 100 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; |
101 const int FLOAT_MAT4 = RenderingContextBase.FLOAT_MAT4; | 101 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; |
102 const int FLOAT_VEC2 = RenderingContextBase.FLOAT_VEC2; | 102 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; |
103 const int FLOAT_VEC3 = RenderingContextBase.FLOAT_VEC3; | 103 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; |
104 const int FLOAT_VEC4 = RenderingContextBase.FLOAT_VEC4; | 104 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; |
105 const int FRAGMENT_SHADER = RenderingContextBase.FRAGMENT_SHADER; | 105 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; |
106 const int FRAMEBUFFER = RenderingContextBase.FRAMEBUFFER; | 106 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; |
107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContextBase.FRAMEBUFFER_
ATTACHMENT_OBJECT_NAME; | 107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_NAME; |
108 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContextBase.FRAMEBUFFER_
ATTACHMENT_OBJECT_TYPE; | 108 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_TYPE; |
109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContextBase.FR
AMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | 109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB
UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; |
110 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContextBase.FRAMEBUFFE
R_ATTACHMENT_TEXTURE_LEVEL; | 110 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT
TACHMENT_TEXTURE_LEVEL; |
111 const int FRAMEBUFFER_BINDING = RenderingContextBase.FRAMEBUFFER_BINDING; | 111 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; |
112 const int FRAMEBUFFER_COMPLETE = RenderingContextBase.FRAMEBUFFER_COMPLETE; | 112 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; |
113 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContextBase.FRAMEBUFFER_I
NCOMPLETE_ATTACHMENT; | 113 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM
PLETE_ATTACHMENT; |
114 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContextBase.FRAMEBUFFER_I
NCOMPLETE_DIMENSIONS; | 114 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM
PLETE_DIMENSIONS; |
115 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContextBase.FRAME
BUFFER_INCOMPLETE_MISSING_ATTACHMENT; | 115 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF
ER_INCOMPLETE_MISSING_ATTACHMENT; |
116 const int FRAMEBUFFER_UNSUPPORTED = RenderingContextBase.FRAMEBUFFER_UNSUPPORTED
; | 116 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; |
117 const int FRONT = RenderingContextBase.FRONT; | 117 const int FRONT = RenderingContext.FRONT; |
118 const int FRONT_AND_BACK = RenderingContextBase.FRONT_AND_BACK; | 118 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; |
119 const int FRONT_FACE = RenderingContextBase.FRONT_FACE; | 119 const int FRONT_FACE = RenderingContext.FRONT_FACE; |
120 const int FUNC_ADD = RenderingContextBase.FUNC_ADD; | 120 const int FUNC_ADD = RenderingContext.FUNC_ADD; |
121 const int FUNC_REVERSE_SUBTRACT = RenderingContextBase.FUNC_REVERSE_SUBTRACT; | 121 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; |
122 const int FUNC_SUBTRACT = RenderingContextBase.FUNC_SUBTRACT; | 122 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; |
123 const int GENERATE_MIPMAP_HINT = RenderingContextBase.GENERATE_MIPMAP_HINT; | 123 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; |
124 const int GEQUAL = RenderingContextBase.GEQUAL; | 124 const int GEQUAL = RenderingContext.GEQUAL; |
125 const int GREATER = RenderingContextBase.GREATER; | 125 const int GREATER = RenderingContext.GREATER; |
126 const int GREEN_BITS = RenderingContextBase.GREEN_BITS; | 126 const int GREEN_BITS = RenderingContext.GREEN_BITS; |
127 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | 127 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; |
128 const int HIGH_FLOAT = RenderingContextBase.HIGH_FLOAT; | 128 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; |
129 const int HIGH_INT = RenderingContextBase.HIGH_INT; | 129 const int HIGH_INT = RenderingContext.HIGH_INT; |
130 const int INCR = RenderingContextBase.INCR; | 130 const int INCR = RenderingContext.INCR; |
131 const int INCR_WRAP = RenderingContextBase.INCR_WRAP; | 131 const int INCR_WRAP = RenderingContext.INCR_WRAP; |
132 const int INT = RenderingContextBase.INT; | 132 const int INT = RenderingContext.INT; |
133 const int INT_VEC2 = RenderingContextBase.INT_VEC2; | 133 const int INT_VEC2 = RenderingContext.INT_VEC2; |
134 const int INT_VEC3 = RenderingContextBase.INT_VEC3; | 134 const int INT_VEC3 = RenderingContext.INT_VEC3; |
135 const int INT_VEC4 = RenderingContextBase.INT_VEC4; | 135 const int INT_VEC4 = RenderingContext.INT_VEC4; |
136 const int INVALID_ENUM = RenderingContextBase.INVALID_ENUM; | 136 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; |
137 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContextBase.INVALID_FRAMEBUFF
ER_OPERATION; | 137 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; |
138 const int INVALID_OPERATION = RenderingContextBase.INVALID_OPERATION; | 138 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; |
139 const int INVALID_VALUE = RenderingContextBase.INVALID_VALUE; | 139 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; |
140 const int INVERT = RenderingContextBase.INVERT; | 140 const int INVERT = RenderingContext.INVERT; |
141 const int KEEP = RenderingContextBase.KEEP; | 141 const int KEEP = RenderingContext.KEEP; |
142 const int LEQUAL = RenderingContextBase.LEQUAL; | 142 const int LEQUAL = RenderingContext.LEQUAL; |
143 const int LESS = RenderingContextBase.LESS; | 143 const int LESS = RenderingContext.LESS; |
144 const int LINEAR = RenderingContextBase.LINEAR; | 144 const int LINEAR = RenderingContext.LINEAR; |
145 const int LINEAR_MIPMAP_LINEAR = RenderingContextBase.LINEAR_MIPMAP_LINEAR; | 145 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; |
146 const int LINEAR_MIPMAP_NEAREST = RenderingContextBase.LINEAR_MIPMAP_NEAREST; | 146 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; |
147 const int LINES = RenderingContextBase.LINES; | 147 const int LINES = RenderingContext.LINES; |
148 const int LINE_LOOP = RenderingContextBase.LINE_LOOP; | 148 const int LINE_LOOP = RenderingContext.LINE_LOOP; |
149 const int LINE_STRIP = RenderingContextBase.LINE_STRIP; | 149 const int LINE_STRIP = RenderingContext.LINE_STRIP; |
150 const int LINE_WIDTH = RenderingContextBase.LINE_WIDTH; | 150 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; |
151 const int LINK_STATUS = RenderingContextBase.LINK_STATUS; | 151 const int LINK_STATUS = RenderingContext.LINK_STATUS; |
152 const int LOW_FLOAT = RenderingContextBase.LOW_FLOAT; | 152 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; |
153 const int LOW_INT = RenderingContextBase.LOW_INT; | 153 const int LOW_INT = RenderingContext.LOW_INT; |
154 const int LUMINANCE = RenderingContextBase.LUMINANCE; | 154 const int LUMINANCE = RenderingContext.LUMINANCE; |
155 const int LUMINANCE_ALPHA = RenderingContextBase.LUMINANCE_ALPHA; | 155 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; |
156 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_COMBINED_T
EXTURE_IMAGE_UNITS; | 156 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU
RE_IMAGE_UNITS; |
157 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContextBase.MAX_CUBE_MAP_TEXTURE_
SIZE; | 157 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE
; |
158 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContextBase.MAX_FRAGMENT_UNIFO
RM_VECTORS; | 158 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V
ECTORS; |
159 const int MAX_RENDERBUFFER_SIZE = RenderingContextBase.MAX_RENDERBUFFER_SIZE; | 159 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; |
160 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_TEXTURE_IMAGE_UNITS
; | 160 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; |
161 const int MAX_TEXTURE_SIZE = RenderingContextBase.MAX_TEXTURE_SIZE; | 161 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; |
162 const int MAX_VARYING_VECTORS = RenderingContextBase.MAX_VARYING_VECTORS; | 162 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; |
163 const int MAX_VERTEX_ATTRIBS = RenderingContextBase.MAX_VERTEX_ATTRIBS; | 163 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; |
164 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_VERTEX_TEXTU
RE_IMAGE_UNITS; | 164 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I
MAGE_UNITS; |
165 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContextBase.MAX_VERTEX_UNIFORM_V
ECTORS; | 165 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO
RS; |
166 const int MAX_VIEWPORT_DIMS = RenderingContextBase.MAX_VIEWPORT_DIMS; | 166 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; |
167 const int MEDIUM_FLOAT = RenderingContextBase.MEDIUM_FLOAT; | 167 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; |
168 const int MEDIUM_INT = RenderingContextBase.MEDIUM_INT; | 168 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; |
169 const int MIRRORED_REPEAT = RenderingContextBase.MIRRORED_REPEAT; | 169 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; |
170 const int NEAREST = RenderingContextBase.NEAREST; | 170 const int NEAREST = RenderingContext.NEAREST; |
171 const int NEAREST_MIPMAP_LINEAR = RenderingContextBase.NEAREST_MIPMAP_LINEAR; | 171 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; |
172 const int NEAREST_MIPMAP_NEAREST = RenderingContextBase.NEAREST_MIPMAP_NEAREST; | 172 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; |
173 const int NEVER = RenderingContextBase.NEVER; | 173 const int NEVER = RenderingContext.NEVER; |
174 const int NICEST = RenderingContextBase.NICEST; | 174 const int NICEST = RenderingContext.NICEST; |
175 const int NONE = RenderingContextBase.NONE; | 175 const int NONE = RenderingContext.NONE; |
176 const int NOTEQUAL = RenderingContextBase.NOTEQUAL; | 176 const int NOTEQUAL = RenderingContext.NOTEQUAL; |
177 const int NO_ERROR = RenderingContextBase.NO_ERROR; | 177 const int NO_ERROR = RenderingContext.NO_ERROR; |
178 const int ONE = RenderingContextBase.ONE; | 178 const int ONE = RenderingContext.ONE; |
179 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContextBase.ONE_MINUS_CONSTANT_ALP
HA; | 179 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; |
180 const int ONE_MINUS_CONSTANT_COLOR = RenderingContextBase.ONE_MINUS_CONSTANT_COL
OR; | 180 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; |
181 const int ONE_MINUS_DST_ALPHA = RenderingContextBase.ONE_MINUS_DST_ALPHA; | 181 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; |
182 const int ONE_MINUS_DST_COLOR = RenderingContextBase.ONE_MINUS_DST_COLOR; | 182 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; |
183 const int ONE_MINUS_SRC_ALPHA = RenderingContextBase.ONE_MINUS_SRC_ALPHA; | 183 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; |
184 const int ONE_MINUS_SRC_COLOR = RenderingContextBase.ONE_MINUS_SRC_COLOR; | 184 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; |
185 const int OUT_OF_MEMORY = RenderingContextBase.OUT_OF_MEMORY; | 185 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; |
186 const int PACK_ALIGNMENT = RenderingContextBase.PACK_ALIGNMENT; | 186 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; |
187 const int POINTS = RenderingContextBase.POINTS; | 187 const int POINTS = RenderingContext.POINTS; |
188 const int POLYGON_OFFSET_FACTOR = RenderingContextBase.POLYGON_OFFSET_FACTOR; | 188 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; |
189 const int POLYGON_OFFSET_FILL = RenderingContextBase.POLYGON_OFFSET_FILL; | 189 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; |
190 const int POLYGON_OFFSET_UNITS = RenderingContextBase.POLYGON_OFFSET_UNITS; | 190 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; |
191 const int RED_BITS = RenderingContextBase.RED_BITS; | 191 const int RED_BITS = RenderingContext.RED_BITS; |
192 const int RENDERBUFFER = RenderingContextBase.RENDERBUFFER; | 192 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; |
193 const int RENDERBUFFER_ALPHA_SIZE = RenderingContextBase.RENDERBUFFER_ALPHA_SIZE
; | 193 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; |
194 const int RENDERBUFFER_BINDING = RenderingContextBase.RENDERBUFFER_BINDING; | 194 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; |
195 const int RENDERBUFFER_BLUE_SIZE = RenderingContextBase.RENDERBUFFER_BLUE_SIZE; | 195 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; |
196 const int RENDERBUFFER_DEPTH_SIZE = RenderingContextBase.RENDERBUFFER_DEPTH_SIZE
; | 196 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; |
197 const int RENDERBUFFER_GREEN_SIZE = RenderingContextBase.RENDERBUFFER_GREEN_SIZE
; | 197 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; |
198 const int RENDERBUFFER_HEIGHT = RenderingContextBase.RENDERBUFFER_HEIGHT; | 198 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; |
199 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContextBase.RENDERBUFFER_INTER
NAL_FORMAT; | 199 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_
FORMAT; |
200 const int RENDERBUFFER_RED_SIZE = RenderingContextBase.RENDERBUFFER_RED_SIZE; | 200 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; |
201 const int RENDERBUFFER_STENCIL_SIZE = RenderingContextBase.RENDERBUFFER_STENCIL_
SIZE; | 201 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE
; |
202 const int RENDERBUFFER_WIDTH = RenderingContextBase.RENDERBUFFER_WIDTH; | 202 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; |
203 const int RENDERER = RenderingContextBase.RENDERER; | 203 const int RENDERER = RenderingContext.RENDERER; |
204 const int REPEAT = RenderingContextBase.REPEAT; | 204 const int REPEAT = RenderingContext.REPEAT; |
205 const int REPLACE = RenderingContextBase.REPLACE; | 205 const int REPLACE = RenderingContext.REPLACE; |
206 const int RGB = RenderingContextBase.RGB; | 206 const int RGB = RenderingContext.RGB; |
207 const int RGB565 = RenderingContextBase.RGB565; | 207 const int RGB565 = RenderingContext.RGB565; |
208 const int RGB5_A1 = RenderingContextBase.RGB5_A1; | 208 const int RGB5_A1 = RenderingContext.RGB5_A1; |
209 const int RGBA = RenderingContextBase.RGBA; | 209 const int RGBA = RenderingContext.RGBA; |
210 const int RGBA4 = RenderingContextBase.RGBA4; | 210 const int RGBA4 = RenderingContext.RGBA4; |
211 const int SAMPLER_2D = RenderingContextBase.SAMPLER_2D; | 211 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; |
212 const int SAMPLER_CUBE = RenderingContextBase.SAMPLER_CUBE; | 212 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; |
213 const int SAMPLES = RenderingContextBase.SAMPLES; | 213 const int SAMPLES = RenderingContext.SAMPLES; |
214 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContextBase.SAMPLE_ALPHA_TO_COVERA
GE; | 214 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; |
215 const int SAMPLE_BUFFERS = RenderingContextBase.SAMPLE_BUFFERS; | 215 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; |
216 const int SAMPLE_COVERAGE = RenderingContextBase.SAMPLE_COVERAGE; | 216 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; |
217 const int SAMPLE_COVERAGE_INVERT = RenderingContextBase.SAMPLE_COVERAGE_INVERT; | 217 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; |
218 const int SAMPLE_COVERAGE_VALUE = RenderingContextBase.SAMPLE_COVERAGE_VALUE; | 218 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; |
219 const int SCISSOR_BOX = RenderingContextBase.SCISSOR_BOX; | 219 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; |
220 const int SCISSOR_TEST = RenderingContextBase.SCISSOR_TEST; | 220 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; |
221 const int SHADER_TYPE = RenderingContextBase.SHADER_TYPE; | 221 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; |
222 const int SHADING_LANGUAGE_VERSION = RenderingContextBase.SHADING_LANGUAGE_VERSI
ON; | 222 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; |
223 const int SHORT = RenderingContextBase.SHORT; | 223 const int SHORT = RenderingContext.SHORT; |
224 const int SRC_ALPHA = RenderingContextBase.SRC_ALPHA; | 224 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; |
225 const int SRC_ALPHA_SATURATE = RenderingContextBase.SRC_ALPHA_SATURATE; | 225 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; |
226 const int SRC_COLOR = RenderingContextBase.SRC_COLOR; | 226 const int SRC_COLOR = RenderingContext.SRC_COLOR; |
227 const int STATIC_DRAW = RenderingContextBase.STATIC_DRAW; | 227 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; |
228 const int STENCIL_ATTACHMENT = RenderingContextBase.STENCIL_ATTACHMENT; | 228 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; |
229 const int STENCIL_BACK_FAIL = RenderingContextBase.STENCIL_BACK_FAIL; | 229 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; |
230 const int STENCIL_BACK_FUNC = RenderingContextBase.STENCIL_BACK_FUNC; | 230 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; |
231 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_BACK_PASS_
DEPTH_FAIL; | 231 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT
H_FAIL; |
232 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_BACK_PASS_
DEPTH_PASS; | 232 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT
H_PASS; |
233 const int STENCIL_BACK_REF = RenderingContextBase.STENCIL_BACK_REF; | 233 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; |
234 const int STENCIL_BACK_VALUE_MASK = RenderingContextBase.STENCIL_BACK_VALUE_MASK
; | 234 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; |
235 const int STENCIL_BACK_WRITEMASK = RenderingContextBase.STENCIL_BACK_WRITEMASK; | 235 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; |
236 const int STENCIL_BITS = RenderingContextBase.STENCIL_BITS; | 236 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; |
237 const int STENCIL_BUFFER_BIT = RenderingContextBase.STENCIL_BUFFER_BIT; | 237 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; |
238 const int STENCIL_CLEAR_VALUE = RenderingContextBase.STENCIL_CLEAR_VALUE; | 238 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; |
239 const int STENCIL_FAIL = RenderingContextBase.STENCIL_FAIL; | 239 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; |
240 const int STENCIL_FUNC = RenderingContextBase.STENCIL_FUNC; | 240 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; |
241 const int STENCIL_INDEX = RenderingContextBase.STENCIL_INDEX; | 241 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; |
242 const int STENCIL_INDEX8 = RenderingContextBase.STENCIL_INDEX8; | 242 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; |
243 const int STENCIL_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_PASS_DEPTH_FAIL
; | 243 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; |
244 const int STENCIL_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_PASS_DEPTH_PASS
; | 244 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; |
245 const int STENCIL_REF = RenderingContextBase.STENCIL_REF; | 245 const int STENCIL_REF = RenderingContext.STENCIL_REF; |
246 const int STENCIL_TEST = RenderingContextBase.STENCIL_TEST; | 246 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; |
247 const int STENCIL_VALUE_MASK = RenderingContextBase.STENCIL_VALUE_MASK; | 247 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; |
248 const int STENCIL_WRITEMASK = RenderingContextBase.STENCIL_WRITEMASK; | 248 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; |
249 const int STREAM_DRAW = RenderingContextBase.STREAM_DRAW; | 249 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; |
250 const int SUBPIXEL_BITS = RenderingContextBase.SUBPIXEL_BITS; | 250 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; |
251 const int TEXTURE = RenderingContextBase.TEXTURE; | 251 const int TEXTURE = RenderingContext.TEXTURE; |
252 const int TEXTURE0 = RenderingContextBase.TEXTURE0; | 252 const int TEXTURE0 = RenderingContext.TEXTURE0; |
253 const int TEXTURE1 = RenderingContextBase.TEXTURE1; | 253 const int TEXTURE1 = RenderingContext.TEXTURE1; |
254 const int TEXTURE10 = RenderingContextBase.TEXTURE10; | 254 const int TEXTURE10 = RenderingContext.TEXTURE10; |
255 const int TEXTURE11 = RenderingContextBase.TEXTURE11; | 255 const int TEXTURE11 = RenderingContext.TEXTURE11; |
256 const int TEXTURE12 = RenderingContextBase.TEXTURE12; | 256 const int TEXTURE12 = RenderingContext.TEXTURE12; |
257 const int TEXTURE13 = RenderingContextBase.TEXTURE13; | 257 const int TEXTURE13 = RenderingContext.TEXTURE13; |
258 const int TEXTURE14 = RenderingContextBase.TEXTURE14; | 258 const int TEXTURE14 = RenderingContext.TEXTURE14; |
259 const int TEXTURE15 = RenderingContextBase.TEXTURE15; | 259 const int TEXTURE15 = RenderingContext.TEXTURE15; |
260 const int TEXTURE16 = RenderingContextBase.TEXTURE16; | 260 const int TEXTURE16 = RenderingContext.TEXTURE16; |
261 const int TEXTURE17 = RenderingContextBase.TEXTURE17; | 261 const int TEXTURE17 = RenderingContext.TEXTURE17; |
262 const int TEXTURE18 = RenderingContextBase.TEXTURE18; | 262 const int TEXTURE18 = RenderingContext.TEXTURE18; |
263 const int TEXTURE19 = RenderingContextBase.TEXTURE19; | 263 const int TEXTURE19 = RenderingContext.TEXTURE19; |
264 const int TEXTURE2 = RenderingContextBase.TEXTURE2; | 264 const int TEXTURE2 = RenderingContext.TEXTURE2; |
265 const int TEXTURE20 = RenderingContextBase.TEXTURE20; | 265 const int TEXTURE20 = RenderingContext.TEXTURE20; |
266 const int TEXTURE21 = RenderingContextBase.TEXTURE21; | 266 const int TEXTURE21 = RenderingContext.TEXTURE21; |
267 const int TEXTURE22 = RenderingContextBase.TEXTURE22; | 267 const int TEXTURE22 = RenderingContext.TEXTURE22; |
268 const int TEXTURE23 = RenderingContextBase.TEXTURE23; | 268 const int TEXTURE23 = RenderingContext.TEXTURE23; |
269 const int TEXTURE24 = RenderingContextBase.TEXTURE24; | 269 const int TEXTURE24 = RenderingContext.TEXTURE24; |
270 const int TEXTURE25 = RenderingContextBase.TEXTURE25; | 270 const int TEXTURE25 = RenderingContext.TEXTURE25; |
271 const int TEXTURE26 = RenderingContextBase.TEXTURE26; | 271 const int TEXTURE26 = RenderingContext.TEXTURE26; |
272 const int TEXTURE27 = RenderingContextBase.TEXTURE27; | 272 const int TEXTURE27 = RenderingContext.TEXTURE27; |
273 const int TEXTURE28 = RenderingContextBase.TEXTURE28; | 273 const int TEXTURE28 = RenderingContext.TEXTURE28; |
274 const int TEXTURE29 = RenderingContextBase.TEXTURE29; | 274 const int TEXTURE29 = RenderingContext.TEXTURE29; |
275 const int TEXTURE3 = RenderingContextBase.TEXTURE3; | 275 const int TEXTURE3 = RenderingContext.TEXTURE3; |
276 const int TEXTURE30 = RenderingContextBase.TEXTURE30; | 276 const int TEXTURE30 = RenderingContext.TEXTURE30; |
277 const int TEXTURE31 = RenderingContextBase.TEXTURE31; | 277 const int TEXTURE31 = RenderingContext.TEXTURE31; |
278 const int TEXTURE4 = RenderingContextBase.TEXTURE4; | 278 const int TEXTURE4 = RenderingContext.TEXTURE4; |
279 const int TEXTURE5 = RenderingContextBase.TEXTURE5; | 279 const int TEXTURE5 = RenderingContext.TEXTURE5; |
280 const int TEXTURE6 = RenderingContextBase.TEXTURE6; | 280 const int TEXTURE6 = RenderingContext.TEXTURE6; |
281 const int TEXTURE7 = RenderingContextBase.TEXTURE7; | 281 const int TEXTURE7 = RenderingContext.TEXTURE7; |
282 const int TEXTURE8 = RenderingContextBase.TEXTURE8; | 282 const int TEXTURE8 = RenderingContext.TEXTURE8; |
283 const int TEXTURE9 = RenderingContextBase.TEXTURE9; | 283 const int TEXTURE9 = RenderingContext.TEXTURE9; |
284 const int TEXTURE_2D = RenderingContextBase.TEXTURE_2D; | 284 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; |
285 const int TEXTURE_BINDING_2D = RenderingContextBase.TEXTURE_BINDING_2D; | 285 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; |
286 const int TEXTURE_BINDING_CUBE_MAP = RenderingContextBase.TEXTURE_BINDING_CUBE_M
AP; | 286 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; |
287 const int TEXTURE_CUBE_MAP = RenderingContextBase.TEXTURE_CUBE_MAP; | 287 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; |
288 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_NE
GATIVE_X; | 288 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_X; |
289 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_NE
GATIVE_Y; | 289 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Y; |
290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_NE
GATIVE_Z; | 290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Z; |
291 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_PO
SITIVE_X; | 291 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_X; |
292 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_PO
SITIVE_Y; | 292 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Y; |
293 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_PO
SITIVE_Z; | 293 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Z; |
294 const int TEXTURE_MAG_FILTER = RenderingContextBase.TEXTURE_MAG_FILTER; | 294 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; |
295 const int TEXTURE_MIN_FILTER = RenderingContextBase.TEXTURE_MIN_FILTER; | 295 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; |
296 const int TEXTURE_WRAP_S = RenderingContextBase.TEXTURE_WRAP_S; | 296 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; |
297 const int TEXTURE_WRAP_T = RenderingContextBase.TEXTURE_WRAP_T; | 297 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; |
298 const int TRIANGLES = RenderingContextBase.TRIANGLES; | 298 const int TRIANGLES = RenderingContext.TRIANGLES; |
299 const int TRIANGLE_FAN = RenderingContextBase.TRIANGLE_FAN; | 299 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; |
300 const int TRIANGLE_STRIP = RenderingContextBase.TRIANGLE_STRIP; | 300 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; |
301 const int UNPACK_ALIGNMENT = RenderingContextBase.UNPACK_ALIGNMENT; | 301 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; |
302 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContextBase.UNPACK_COLOR
SPACE_CONVERSION_WEBGL; | 302 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC
E_CONVERSION_WEBGL; |
303 const int UNPACK_FLIP_Y_WEBGL = RenderingContextBase.UNPACK_FLIP_Y_WEBGL; | 303 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; |
304 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContextBase.UNPACK_PREMULTIP
LY_ALPHA_WEBGL; | 304 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A
LPHA_WEBGL; |
305 const int UNSIGNED_BYTE = RenderingContextBase.UNSIGNED_BYTE; | 305 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; |
306 const int UNSIGNED_INT = RenderingContextBase.UNSIGNED_INT; | 306 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; |
307 const int UNSIGNED_SHORT = RenderingContextBase.UNSIGNED_SHORT; | 307 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; |
308 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContextBase.UNSIGNED_SHORT_4_4_4_4; | 308 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; |
309 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContextBase.UNSIGNED_SHORT_5_5_5_1; | 309 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; |
310 const int UNSIGNED_SHORT_5_6_5 = RenderingContextBase.UNSIGNED_SHORT_5_6_5; | 310 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; |
311 const int VALIDATE_STATUS = RenderingContextBase.VALIDATE_STATUS; | 311 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; |
312 const int VENDOR = RenderingContextBase.VENDOR; | 312 const int VENDOR = RenderingContext.VENDOR; |
313 const int VERSION = RenderingContextBase.VERSION; | 313 const int VERSION = RenderingContext.VERSION; |
314 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContextBase.VERTEX_ATTRI
B_ARRAY_BUFFER_BINDING; | 314 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR
RAY_BUFFER_BINDING; |
315 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContextBase.VERTEX_ATTRIB_ARRAY
_ENABLED; | 315 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA
BLED; |
316 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContextBase.VERTEX_ATTRIB_AR
RAY_NORMALIZED; | 316 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_
NORMALIZED; |
317 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContextBase.VERTEX_ATTRIB_ARRAY
_POINTER; | 317 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI
NTER; |
318 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_SI
ZE; | 318 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; |
319 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_
STRIDE; | 319 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI
DE; |
320 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_TY
PE; | 320 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; |
321 const int VERTEX_SHADER = RenderingContextBase.VERTEX_SHADER; | 321 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; |
322 const int VIEWPORT = RenderingContextBase.VIEWPORT; | 322 const int VIEWPORT = RenderingContext.VIEWPORT; |
323 const int ZERO = RenderingContextBase.ZERO; | 323 const int ZERO = RenderingContext.ZERO; |
324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
325 // for details. All rights reserved. Use of this source code is governed by a | 325 // for details. All rights reserved. Use of this source code is governed by a |
326 // BSD-style license that can be found in the LICENSE file. | 326 // BSD-style license that can be found in the LICENSE file. |
327 | 327 |
328 | 328 |
329 @DocsEditable() | 329 @DocsEditable() |
330 @DomName('WebGLActiveInfo') | 330 @DomName('WebGLActiveInfo') |
331 @Unstable() | 331 @Unstable() |
332 @Native("WebGLActiveInfo") | 332 @Native("WebGLActiveInfo") |
333 class ActiveInfo extends Interceptor { | 333 class ActiveInfo extends Interceptor { |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 @Experimental() | 1062 @Experimental() |
1063 @Unstable() | 1063 @Unstable() |
1064 @Native("WebGLRenderingContext") | 1064 @Native("WebGLRenderingContext") |
1065 class RenderingContext extends Interceptor implements CanvasRenderingContext { | 1065 class RenderingContext extends Interceptor implements CanvasRenderingContext { |
1066 // To suppress missing implicit constructor warnings. | 1066 // To suppress missing implicit constructor warnings. |
1067 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } | 1067 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } |
1068 | 1068 |
1069 /// Checks if this type is supported on the current platform. | 1069 /// Checks if this type is supported on the current platform. |
1070 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); | 1070 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); |
1071 | 1071 |
| 1072 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
| 1073 @DocsEditable() |
| 1074 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 1075 |
| 1076 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') |
| 1077 @DocsEditable() |
| 1078 static const int ACTIVE_TEXTURE = 0x84E0; |
| 1079 |
| 1080 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') |
| 1081 @DocsEditable() |
| 1082 static const int ACTIVE_UNIFORMS = 0x8B86; |
| 1083 |
| 1084 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE') |
| 1085 @DocsEditable() |
| 1086 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 1087 |
| 1088 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE') |
| 1089 @DocsEditable() |
| 1090 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 1091 |
| 1092 @DomName('WebGLRenderingContext.ALPHA') |
| 1093 @DocsEditable() |
| 1094 static const int ALPHA = 0x1906; |
| 1095 |
| 1096 @DomName('WebGLRenderingContext.ALPHA_BITS') |
| 1097 @DocsEditable() |
| 1098 static const int ALPHA_BITS = 0x0D55; |
| 1099 |
| 1100 @DomName('WebGLRenderingContext.ALWAYS') |
| 1101 @DocsEditable() |
| 1102 static const int ALWAYS = 0x0207; |
| 1103 |
| 1104 @DomName('WebGLRenderingContext.ARRAY_BUFFER') |
| 1105 @DocsEditable() |
| 1106 static const int ARRAY_BUFFER = 0x8892; |
| 1107 |
| 1108 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING') |
| 1109 @DocsEditable() |
| 1110 static const int ARRAY_BUFFER_BINDING = 0x8894; |
| 1111 |
| 1112 @DomName('WebGLRenderingContext.ATTACHED_SHADERS') |
| 1113 @DocsEditable() |
| 1114 static const int ATTACHED_SHADERS = 0x8B85; |
| 1115 |
| 1116 @DomName('WebGLRenderingContext.BACK') |
| 1117 @DocsEditable() |
| 1118 static const int BACK = 0x0405; |
| 1119 |
| 1120 @DomName('WebGLRenderingContext.BLEND') |
| 1121 @DocsEditable() |
| 1122 static const int BLEND = 0x0BE2; |
| 1123 |
| 1124 @DomName('WebGLRenderingContext.BLEND_COLOR') |
| 1125 @DocsEditable() |
| 1126 static const int BLEND_COLOR = 0x8005; |
| 1127 |
| 1128 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA') |
| 1129 @DocsEditable() |
| 1130 static const int BLEND_DST_ALPHA = 0x80CA; |
| 1131 |
| 1132 @DomName('WebGLRenderingContext.BLEND_DST_RGB') |
| 1133 @DocsEditable() |
| 1134 static const int BLEND_DST_RGB = 0x80C8; |
| 1135 |
| 1136 @DomName('WebGLRenderingContext.BLEND_EQUATION') |
| 1137 @DocsEditable() |
| 1138 static const int BLEND_EQUATION = 0x8009; |
| 1139 |
| 1140 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA') |
| 1141 @DocsEditable() |
| 1142 static const int BLEND_EQUATION_ALPHA = 0x883D; |
| 1143 |
| 1144 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB') |
| 1145 @DocsEditable() |
| 1146 static const int BLEND_EQUATION_RGB = 0x8009; |
| 1147 |
| 1148 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA') |
| 1149 @DocsEditable() |
| 1150 static const int BLEND_SRC_ALPHA = 0x80CB; |
| 1151 |
| 1152 @DomName('WebGLRenderingContext.BLEND_SRC_RGB') |
| 1153 @DocsEditable() |
| 1154 static const int BLEND_SRC_RGB = 0x80C9; |
| 1155 |
| 1156 @DomName('WebGLRenderingContext.BLUE_BITS') |
| 1157 @DocsEditable() |
| 1158 static const int BLUE_BITS = 0x0D54; |
| 1159 |
| 1160 @DomName('WebGLRenderingContext.BOOL') |
| 1161 @DocsEditable() |
| 1162 static const int BOOL = 0x8B56; |
| 1163 |
| 1164 @DomName('WebGLRenderingContext.BOOL_VEC2') |
| 1165 @DocsEditable() |
| 1166 static const int BOOL_VEC2 = 0x8B57; |
| 1167 |
| 1168 @DomName('WebGLRenderingContext.BOOL_VEC3') |
| 1169 @DocsEditable() |
| 1170 static const int BOOL_VEC3 = 0x8B58; |
| 1171 |
| 1172 @DomName('WebGLRenderingContext.BOOL_VEC4') |
| 1173 @DocsEditable() |
| 1174 static const int BOOL_VEC4 = 0x8B59; |
| 1175 |
| 1176 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL') |
| 1177 @DocsEditable() |
| 1178 static const int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 1179 |
| 1180 @DomName('WebGLRenderingContext.BUFFER_SIZE') |
| 1181 @DocsEditable() |
| 1182 static const int BUFFER_SIZE = 0x8764; |
| 1183 |
| 1184 @DomName('WebGLRenderingContext.BUFFER_USAGE') |
| 1185 @DocsEditable() |
| 1186 static const int BUFFER_USAGE = 0x8765; |
| 1187 |
| 1188 @DomName('WebGLRenderingContext.BYTE') |
| 1189 @DocsEditable() |
| 1190 static const int BYTE = 0x1400; |
| 1191 |
| 1192 @DomName('WebGLRenderingContext.CCW') |
| 1193 @DocsEditable() |
| 1194 static const int CCW = 0x0901; |
| 1195 |
| 1196 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE') |
| 1197 @DocsEditable() |
| 1198 static const int CLAMP_TO_EDGE = 0x812F; |
| 1199 |
| 1200 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0') |
| 1201 @DocsEditable() |
| 1202 static const int COLOR_ATTACHMENT0 = 0x8CE0; |
| 1203 |
| 1204 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT') |
| 1205 @DocsEditable() |
| 1206 static const int COLOR_BUFFER_BIT = 0x00004000; |
| 1207 |
| 1208 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE') |
| 1209 @DocsEditable() |
| 1210 static const int COLOR_CLEAR_VALUE = 0x0C22; |
| 1211 |
| 1212 @DomName('WebGLRenderingContext.COLOR_WRITEMASK') |
| 1213 @DocsEditable() |
| 1214 static const int COLOR_WRITEMASK = 0x0C23; |
| 1215 |
| 1216 @DomName('WebGLRenderingContext.COMPILE_STATUS') |
| 1217 @DocsEditable() |
| 1218 static const int COMPILE_STATUS = 0x8B81; |
| 1219 |
| 1220 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS') |
| 1221 @DocsEditable() |
| 1222 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 1223 |
| 1224 @DomName('WebGLRenderingContext.CONSTANT_ALPHA') |
| 1225 @DocsEditable() |
| 1226 static const int CONSTANT_ALPHA = 0x8003; |
| 1227 |
| 1228 @DomName('WebGLRenderingContext.CONSTANT_COLOR') |
| 1229 @DocsEditable() |
| 1230 static const int CONSTANT_COLOR = 0x8001; |
| 1231 |
| 1232 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL') |
| 1233 @DocsEditable() |
| 1234 static const int CONTEXT_LOST_WEBGL = 0x9242; |
| 1235 |
| 1236 @DomName('WebGLRenderingContext.CULL_FACE') |
| 1237 @DocsEditable() |
| 1238 static const int CULL_FACE = 0x0B44; |
| 1239 |
| 1240 @DomName('WebGLRenderingContext.CULL_FACE_MODE') |
| 1241 @DocsEditable() |
| 1242 static const int CULL_FACE_MODE = 0x0B45; |
| 1243 |
| 1244 @DomName('WebGLRenderingContext.CURRENT_PROGRAM') |
| 1245 @DocsEditable() |
| 1246 static const int CURRENT_PROGRAM = 0x8B8D; |
| 1247 |
| 1248 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB') |
| 1249 @DocsEditable() |
| 1250 static const int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 1251 |
| 1252 @DomName('WebGLRenderingContext.CW') |
| 1253 @DocsEditable() |
| 1254 static const int CW = 0x0900; |
| 1255 |
| 1256 @DomName('WebGLRenderingContext.DECR') |
| 1257 @DocsEditable() |
| 1258 static const int DECR = 0x1E03; |
| 1259 |
| 1260 @DomName('WebGLRenderingContext.DECR_WRAP') |
| 1261 @DocsEditable() |
| 1262 static const int DECR_WRAP = 0x8508; |
| 1263 |
| 1264 @DomName('WebGLRenderingContext.DELETE_STATUS') |
| 1265 @DocsEditable() |
| 1266 static const int DELETE_STATUS = 0x8B80; |
| 1267 |
| 1268 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT') |
| 1269 @DocsEditable() |
| 1270 static const int DEPTH_ATTACHMENT = 0x8D00; |
| 1271 |
| 1272 @DomName('WebGLRenderingContext.DEPTH_BITS') |
| 1273 @DocsEditable() |
| 1274 static const int DEPTH_BITS = 0x0D56; |
| 1275 |
| 1276 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT') |
| 1277 @DocsEditable() |
| 1278 static const int DEPTH_BUFFER_BIT = 0x00000100; |
| 1279 |
| 1280 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE') |
| 1281 @DocsEditable() |
| 1282 static const int DEPTH_CLEAR_VALUE = 0x0B73; |
| 1283 |
| 1284 @DomName('WebGLRenderingContext.DEPTH_COMPONENT') |
| 1285 @DocsEditable() |
| 1286 static const int DEPTH_COMPONENT = 0x1902; |
| 1287 |
| 1288 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16') |
| 1289 @DocsEditable() |
| 1290 static const int DEPTH_COMPONENT16 = 0x81A5; |
| 1291 |
| 1292 @DomName('WebGLRenderingContext.DEPTH_FUNC') |
| 1293 @DocsEditable() |
| 1294 static const int DEPTH_FUNC = 0x0B74; |
| 1295 |
| 1296 @DomName('WebGLRenderingContext.DEPTH_RANGE') |
| 1297 @DocsEditable() |
| 1298 static const int DEPTH_RANGE = 0x0B70; |
| 1299 |
| 1300 @DomName('WebGLRenderingContext.DEPTH_STENCIL') |
| 1301 @DocsEditable() |
| 1302 static const int DEPTH_STENCIL = 0x84F9; |
| 1303 |
| 1304 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT') |
| 1305 @DocsEditable() |
| 1306 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 1307 |
| 1308 @DomName('WebGLRenderingContext.DEPTH_TEST') |
| 1309 @DocsEditable() |
| 1310 static const int DEPTH_TEST = 0x0B71; |
| 1311 |
| 1312 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK') |
| 1313 @DocsEditable() |
| 1314 static const int DEPTH_WRITEMASK = 0x0B72; |
| 1315 |
| 1316 @DomName('WebGLRenderingContext.DITHER') |
| 1317 @DocsEditable() |
| 1318 static const int DITHER = 0x0BD0; |
| 1319 |
| 1320 @DomName('WebGLRenderingContext.DONT_CARE') |
| 1321 @DocsEditable() |
| 1322 static const int DONT_CARE = 0x1100; |
| 1323 |
| 1324 @DomName('WebGLRenderingContext.DST_ALPHA') |
| 1325 @DocsEditable() |
| 1326 static const int DST_ALPHA = 0x0304; |
| 1327 |
| 1328 @DomName('WebGLRenderingContext.DST_COLOR') |
| 1329 @DocsEditable() |
| 1330 static const int DST_COLOR = 0x0306; |
| 1331 |
| 1332 @DomName('WebGLRenderingContext.DYNAMIC_DRAW') |
| 1333 @DocsEditable() |
| 1334 static const int DYNAMIC_DRAW = 0x88E8; |
| 1335 |
| 1336 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER') |
| 1337 @DocsEditable() |
| 1338 static const int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 1339 |
| 1340 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') |
| 1341 @DocsEditable() |
| 1342 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 1343 |
| 1344 @DomName('WebGLRenderingContext.EQUAL') |
| 1345 @DocsEditable() |
| 1346 static const int EQUAL = 0x0202; |
| 1347 |
| 1348 @DomName('WebGLRenderingContext.FASTEST') |
| 1349 @DocsEditable() |
| 1350 static const int FASTEST = 0x1101; |
| 1351 |
| 1352 @DomName('WebGLRenderingContext.FLOAT') |
| 1353 @DocsEditable() |
| 1354 static const int FLOAT = 0x1406; |
| 1355 |
| 1356 @DomName('WebGLRenderingContext.FLOAT_MAT2') |
| 1357 @DocsEditable() |
| 1358 static const int FLOAT_MAT2 = 0x8B5A; |
| 1359 |
| 1360 @DomName('WebGLRenderingContext.FLOAT_MAT3') |
| 1361 @DocsEditable() |
| 1362 static const int FLOAT_MAT3 = 0x8B5B; |
| 1363 |
| 1364 @DomName('WebGLRenderingContext.FLOAT_MAT4') |
| 1365 @DocsEditable() |
| 1366 static const int FLOAT_MAT4 = 0x8B5C; |
| 1367 |
| 1368 @DomName('WebGLRenderingContext.FLOAT_VEC2') |
| 1369 @DocsEditable() |
| 1370 static const int FLOAT_VEC2 = 0x8B50; |
| 1371 |
| 1372 @DomName('WebGLRenderingContext.FLOAT_VEC3') |
| 1373 @DocsEditable() |
| 1374 static const int FLOAT_VEC3 = 0x8B51; |
| 1375 |
| 1376 @DomName('WebGLRenderingContext.FLOAT_VEC4') |
| 1377 @DocsEditable() |
| 1378 static const int FLOAT_VEC4 = 0x8B52; |
| 1379 |
| 1380 @DomName('WebGLRenderingContext.FRAGMENT_SHADER') |
| 1381 @DocsEditable() |
| 1382 static const int FRAGMENT_SHADER = 0x8B30; |
| 1383 |
| 1384 @DomName('WebGLRenderingContext.FRAMEBUFFER') |
| 1385 @DocsEditable() |
| 1386 static const int FRAMEBUFFER = 0x8D40; |
| 1387 |
| 1388 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') |
| 1389 @DocsEditable() |
| 1390 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 1391 |
| 1392 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') |
| 1393 @DocsEditable() |
| 1394 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 1395 |
| 1396 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') |
| 1397 @DocsEditable() |
| 1398 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 1399 |
| 1400 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') |
| 1401 @DocsEditable() |
| 1402 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 1403 |
| 1404 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING') |
| 1405 @DocsEditable() |
| 1406 static const int FRAMEBUFFER_BINDING = 0x8CA6; |
| 1407 |
| 1408 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE') |
| 1409 @DocsEditable() |
| 1410 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 1411 |
| 1412 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') |
| 1413 @DocsEditable() |
| 1414 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 1415 |
| 1416 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') |
| 1417 @DocsEditable() |
| 1418 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 1419 |
| 1420 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') |
| 1421 @DocsEditable() |
| 1422 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 1423 |
| 1424 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED') |
| 1425 @DocsEditable() |
| 1426 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 1427 |
| 1428 @DomName('WebGLRenderingContext.FRONT') |
| 1429 @DocsEditable() |
| 1430 static const int FRONT = 0x0404; |
| 1431 |
| 1432 @DomName('WebGLRenderingContext.FRONT_AND_BACK') |
| 1433 @DocsEditable() |
| 1434 static const int FRONT_AND_BACK = 0x0408; |
| 1435 |
| 1436 @DomName('WebGLRenderingContext.FRONT_FACE') |
| 1437 @DocsEditable() |
| 1438 static const int FRONT_FACE = 0x0B46; |
| 1439 |
| 1440 @DomName('WebGLRenderingContext.FUNC_ADD') |
| 1441 @DocsEditable() |
| 1442 static const int FUNC_ADD = 0x8006; |
| 1443 |
| 1444 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT') |
| 1445 @DocsEditable() |
| 1446 static const int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 1447 |
| 1448 @DomName('WebGLRenderingContext.FUNC_SUBTRACT') |
| 1449 @DocsEditable() |
| 1450 static const int FUNC_SUBTRACT = 0x800A; |
| 1451 |
| 1452 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT') |
| 1453 @DocsEditable() |
| 1454 static const int GENERATE_MIPMAP_HINT = 0x8192; |
| 1455 |
| 1456 @DomName('WebGLRenderingContext.GEQUAL') |
| 1457 @DocsEditable() |
| 1458 static const int GEQUAL = 0x0206; |
| 1459 |
| 1460 @DomName('WebGLRenderingContext.GREATER') |
| 1461 @DocsEditable() |
| 1462 static const int GREATER = 0x0204; |
| 1463 |
| 1464 @DomName('WebGLRenderingContext.GREEN_BITS') |
| 1465 @DocsEditable() |
| 1466 static const int GREEN_BITS = 0x0D53; |
| 1467 |
| 1468 @DomName('WebGLRenderingContext.HIGH_FLOAT') |
| 1469 @DocsEditable() |
| 1470 static const int HIGH_FLOAT = 0x8DF2; |
| 1471 |
| 1472 @DomName('WebGLRenderingContext.HIGH_INT') |
| 1473 @DocsEditable() |
| 1474 static const int HIGH_INT = 0x8DF5; |
| 1475 |
| 1476 @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT') |
| 1477 @DocsEditable() |
| 1478 @Experimental() // untriaged |
| 1479 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; |
| 1480 |
| 1481 @DomName('WebGLRenderingContext.IMPLEMENTATION_COLOR_READ_TYPE') |
| 1482 @DocsEditable() |
| 1483 @Experimental() // untriaged |
| 1484 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; |
| 1485 |
| 1486 @DomName('WebGLRenderingContext.INCR') |
| 1487 @DocsEditable() |
| 1488 static const int INCR = 0x1E02; |
| 1489 |
| 1490 @DomName('WebGLRenderingContext.INCR_WRAP') |
| 1491 @DocsEditable() |
| 1492 static const int INCR_WRAP = 0x8507; |
| 1493 |
| 1494 @DomName('WebGLRenderingContext.INT') |
| 1495 @DocsEditable() |
| 1496 static const int INT = 0x1404; |
| 1497 |
| 1498 @DomName('WebGLRenderingContext.INT_VEC2') |
| 1499 @DocsEditable() |
| 1500 static const int INT_VEC2 = 0x8B53; |
| 1501 |
| 1502 @DomName('WebGLRenderingContext.INT_VEC3') |
| 1503 @DocsEditable() |
| 1504 static const int INT_VEC3 = 0x8B54; |
| 1505 |
| 1506 @DomName('WebGLRenderingContext.INT_VEC4') |
| 1507 @DocsEditable() |
| 1508 static const int INT_VEC4 = 0x8B55; |
| 1509 |
| 1510 @DomName('WebGLRenderingContext.INVALID_ENUM') |
| 1511 @DocsEditable() |
| 1512 static const int INVALID_ENUM = 0x0500; |
| 1513 |
| 1514 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION') |
| 1515 @DocsEditable() |
| 1516 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 1517 |
| 1518 @DomName('WebGLRenderingContext.INVALID_OPERATION') |
| 1519 @DocsEditable() |
| 1520 static const int INVALID_OPERATION = 0x0502; |
| 1521 |
| 1522 @DomName('WebGLRenderingContext.INVALID_VALUE') |
| 1523 @DocsEditable() |
| 1524 static const int INVALID_VALUE = 0x0501; |
| 1525 |
| 1526 @DomName('WebGLRenderingContext.INVERT') |
| 1527 @DocsEditable() |
| 1528 static const int INVERT = 0x150A; |
| 1529 |
| 1530 @DomName('WebGLRenderingContext.KEEP') |
| 1531 @DocsEditable() |
| 1532 static const int KEEP = 0x1E00; |
| 1533 |
| 1534 @DomName('WebGLRenderingContext.LEQUAL') |
| 1535 @DocsEditable() |
| 1536 static const int LEQUAL = 0x0203; |
| 1537 |
| 1538 @DomName('WebGLRenderingContext.LESS') |
| 1539 @DocsEditable() |
| 1540 static const int LESS = 0x0201; |
| 1541 |
| 1542 @DomName('WebGLRenderingContext.LINEAR') |
| 1543 @DocsEditable() |
| 1544 static const int LINEAR = 0x2601; |
| 1545 |
| 1546 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR') |
| 1547 @DocsEditable() |
| 1548 static const int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 1549 |
| 1550 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST') |
| 1551 @DocsEditable() |
| 1552 static const int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 1553 |
| 1554 @DomName('WebGLRenderingContext.LINES') |
| 1555 @DocsEditable() |
| 1556 static const int LINES = 0x0001; |
| 1557 |
| 1558 @DomName('WebGLRenderingContext.LINE_LOOP') |
| 1559 @DocsEditable() |
| 1560 static const int LINE_LOOP = 0x0002; |
| 1561 |
| 1562 @DomName('WebGLRenderingContext.LINE_STRIP') |
| 1563 @DocsEditable() |
| 1564 static const int LINE_STRIP = 0x0003; |
| 1565 |
| 1566 @DomName('WebGLRenderingContext.LINE_WIDTH') |
| 1567 @DocsEditable() |
| 1568 static const int LINE_WIDTH = 0x0B21; |
| 1569 |
| 1570 @DomName('WebGLRenderingContext.LINK_STATUS') |
| 1571 @DocsEditable() |
| 1572 static const int LINK_STATUS = 0x8B82; |
| 1573 |
| 1574 @DomName('WebGLRenderingContext.LOW_FLOAT') |
| 1575 @DocsEditable() |
| 1576 static const int LOW_FLOAT = 0x8DF0; |
| 1577 |
| 1578 @DomName('WebGLRenderingContext.LOW_INT') |
| 1579 @DocsEditable() |
| 1580 static const int LOW_INT = 0x8DF3; |
| 1581 |
| 1582 @DomName('WebGLRenderingContext.LUMINANCE') |
| 1583 @DocsEditable() |
| 1584 static const int LUMINANCE = 0x1909; |
| 1585 |
| 1586 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA') |
| 1587 @DocsEditable() |
| 1588 static const int LUMINANCE_ALPHA = 0x190A; |
| 1589 |
| 1590 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') |
| 1591 @DocsEditable() |
| 1592 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 1593 |
| 1594 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') |
| 1595 @DocsEditable() |
| 1596 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 1597 |
| 1598 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') |
| 1599 @DocsEditable() |
| 1600 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 1601 |
| 1602 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE') |
| 1603 @DocsEditable() |
| 1604 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 1605 |
| 1606 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS') |
| 1607 @DocsEditable() |
| 1608 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 1609 |
| 1610 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE') |
| 1611 @DocsEditable() |
| 1612 static const int MAX_TEXTURE_SIZE = 0x0D33; |
| 1613 |
| 1614 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS') |
| 1615 @DocsEditable() |
| 1616 static const int MAX_VARYING_VECTORS = 0x8DFC; |
| 1617 |
| 1618 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS') |
| 1619 @DocsEditable() |
| 1620 static const int MAX_VERTEX_ATTRIBS = 0x8869; |
| 1621 |
| 1622 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') |
| 1623 @DocsEditable() |
| 1624 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 1625 |
| 1626 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS') |
| 1627 @DocsEditable() |
| 1628 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 1629 |
| 1630 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS') |
| 1631 @DocsEditable() |
| 1632 static const int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 1633 |
| 1634 @DomName('WebGLRenderingContext.MEDIUM_FLOAT') |
| 1635 @DocsEditable() |
| 1636 static const int MEDIUM_FLOAT = 0x8DF1; |
| 1637 |
| 1638 @DomName('WebGLRenderingContext.MEDIUM_INT') |
| 1639 @DocsEditable() |
| 1640 static const int MEDIUM_INT = 0x8DF4; |
| 1641 |
| 1642 @DomName('WebGLRenderingContext.MIRRORED_REPEAT') |
| 1643 @DocsEditable() |
| 1644 static const int MIRRORED_REPEAT = 0x8370; |
| 1645 |
| 1646 @DomName('WebGLRenderingContext.NEAREST') |
| 1647 @DocsEditable() |
| 1648 static const int NEAREST = 0x2600; |
| 1649 |
| 1650 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR') |
| 1651 @DocsEditable() |
| 1652 static const int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 1653 |
| 1654 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST') |
| 1655 @DocsEditable() |
| 1656 static const int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 1657 |
| 1658 @DomName('WebGLRenderingContext.NEVER') |
| 1659 @DocsEditable() |
| 1660 static const int NEVER = 0x0200; |
| 1661 |
| 1662 @DomName('WebGLRenderingContext.NICEST') |
| 1663 @DocsEditable() |
| 1664 static const int NICEST = 0x1102; |
| 1665 |
| 1666 @DomName('WebGLRenderingContext.NONE') |
| 1667 @DocsEditable() |
| 1668 static const int NONE = 0; |
| 1669 |
| 1670 @DomName('WebGLRenderingContext.NOTEQUAL') |
| 1671 @DocsEditable() |
| 1672 static const int NOTEQUAL = 0x0205; |
| 1673 |
| 1674 @DomName('WebGLRenderingContext.NO_ERROR') |
| 1675 @DocsEditable() |
| 1676 static const int NO_ERROR = 0; |
| 1677 |
| 1678 @DomName('WebGLRenderingContext.ONE') |
| 1679 @DocsEditable() |
| 1680 static const int ONE = 1; |
| 1681 |
| 1682 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA') |
| 1683 @DocsEditable() |
| 1684 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 1685 |
| 1686 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR') |
| 1687 @DocsEditable() |
| 1688 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 1689 |
| 1690 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA') |
| 1691 @DocsEditable() |
| 1692 static const int ONE_MINUS_DST_ALPHA = 0x0305; |
| 1693 |
| 1694 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR') |
| 1695 @DocsEditable() |
| 1696 static const int ONE_MINUS_DST_COLOR = 0x0307; |
| 1697 |
| 1698 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA') |
| 1699 @DocsEditable() |
| 1700 static const int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 1701 |
| 1702 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR') |
| 1703 @DocsEditable() |
| 1704 static const int ONE_MINUS_SRC_COLOR = 0x0301; |
| 1705 |
| 1706 @DomName('WebGLRenderingContext.OUT_OF_MEMORY') |
| 1707 @DocsEditable() |
| 1708 static const int OUT_OF_MEMORY = 0x0505; |
| 1709 |
| 1710 @DomName('WebGLRenderingContext.PACK_ALIGNMENT') |
| 1711 @DocsEditable() |
| 1712 static const int PACK_ALIGNMENT = 0x0D05; |
| 1713 |
| 1714 @DomName('WebGLRenderingContext.POINTS') |
| 1715 @DocsEditable() |
| 1716 static const int POINTS = 0x0000; |
| 1717 |
| 1718 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR') |
| 1719 @DocsEditable() |
| 1720 static const int POLYGON_OFFSET_FACTOR = 0x8038; |
| 1721 |
| 1722 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL') |
| 1723 @DocsEditable() |
| 1724 static const int POLYGON_OFFSET_FILL = 0x8037; |
| 1725 |
| 1726 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS') |
| 1727 @DocsEditable() |
| 1728 static const int POLYGON_OFFSET_UNITS = 0x2A00; |
| 1729 |
| 1730 @DomName('WebGLRenderingContext.RED_BITS') |
| 1731 @DocsEditable() |
| 1732 static const int RED_BITS = 0x0D52; |
| 1733 |
| 1734 @DomName('WebGLRenderingContext.RENDERBUFFER') |
| 1735 @DocsEditable() |
| 1736 static const int RENDERBUFFER = 0x8D41; |
| 1737 |
| 1738 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE') |
| 1739 @DocsEditable() |
| 1740 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 1741 |
| 1742 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING') |
| 1743 @DocsEditable() |
| 1744 static const int RENDERBUFFER_BINDING = 0x8CA7; |
| 1745 |
| 1746 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE') |
| 1747 @DocsEditable() |
| 1748 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 1749 |
| 1750 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE') |
| 1751 @DocsEditable() |
| 1752 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 1753 |
| 1754 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE') |
| 1755 @DocsEditable() |
| 1756 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 1757 |
| 1758 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT') |
| 1759 @DocsEditable() |
| 1760 static const int RENDERBUFFER_HEIGHT = 0x8D43; |
| 1761 |
| 1762 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT') |
| 1763 @DocsEditable() |
| 1764 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 1765 |
| 1766 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE') |
| 1767 @DocsEditable() |
| 1768 static const int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 1769 |
| 1770 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE') |
| 1771 @DocsEditable() |
| 1772 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 1773 |
| 1774 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH') |
| 1775 @DocsEditable() |
| 1776 static const int RENDERBUFFER_WIDTH = 0x8D42; |
| 1777 |
| 1778 @DomName('WebGLRenderingContext.RENDERER') |
| 1779 @DocsEditable() |
| 1780 static const int RENDERER = 0x1F01; |
| 1781 |
| 1782 @DomName('WebGLRenderingContext.REPEAT') |
| 1783 @DocsEditable() |
| 1784 static const int REPEAT = 0x2901; |
| 1785 |
| 1786 @DomName('WebGLRenderingContext.REPLACE') |
| 1787 @DocsEditable() |
| 1788 static const int REPLACE = 0x1E01; |
| 1789 |
| 1790 @DomName('WebGLRenderingContext.RGB') |
| 1791 @DocsEditable() |
| 1792 static const int RGB = 0x1907; |
| 1793 |
| 1794 @DomName('WebGLRenderingContext.RGB565') |
| 1795 @DocsEditable() |
| 1796 static const int RGB565 = 0x8D62; |
| 1797 |
| 1798 @DomName('WebGLRenderingContext.RGB5_A1') |
| 1799 @DocsEditable() |
| 1800 static const int RGB5_A1 = 0x8057; |
| 1801 |
| 1802 @DomName('WebGLRenderingContext.RGBA') |
| 1803 @DocsEditable() |
| 1804 static const int RGBA = 0x1908; |
| 1805 |
| 1806 @DomName('WebGLRenderingContext.RGBA4') |
| 1807 @DocsEditable() |
| 1808 static const int RGBA4 = 0x8056; |
| 1809 |
| 1810 @DomName('WebGLRenderingContext.SAMPLER_2D') |
| 1811 @DocsEditable() |
| 1812 static const int SAMPLER_2D = 0x8B5E; |
| 1813 |
| 1814 @DomName('WebGLRenderingContext.SAMPLER_CUBE') |
| 1815 @DocsEditable() |
| 1816 static const int SAMPLER_CUBE = 0x8B60; |
| 1817 |
| 1818 @DomName('WebGLRenderingContext.SAMPLES') |
| 1819 @DocsEditable() |
| 1820 static const int SAMPLES = 0x80A9; |
| 1821 |
| 1822 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE') |
| 1823 @DocsEditable() |
| 1824 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 1825 |
| 1826 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS') |
| 1827 @DocsEditable() |
| 1828 static const int SAMPLE_BUFFERS = 0x80A8; |
| 1829 |
| 1830 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE') |
| 1831 @DocsEditable() |
| 1832 static const int SAMPLE_COVERAGE = 0x80A0; |
| 1833 |
| 1834 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT') |
| 1835 @DocsEditable() |
| 1836 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 1837 |
| 1838 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE') |
| 1839 @DocsEditable() |
| 1840 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 1841 |
| 1842 @DomName('WebGLRenderingContext.SCISSOR_BOX') |
| 1843 @DocsEditable() |
| 1844 static const int SCISSOR_BOX = 0x0C10; |
| 1845 |
| 1846 @DomName('WebGLRenderingContext.SCISSOR_TEST') |
| 1847 @DocsEditable() |
| 1848 static const int SCISSOR_TEST = 0x0C11; |
| 1849 |
| 1850 @DomName('WebGLRenderingContext.SHADER_TYPE') |
| 1851 @DocsEditable() |
| 1852 static const int SHADER_TYPE = 0x8B4F; |
| 1853 |
| 1854 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION') |
| 1855 @DocsEditable() |
| 1856 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 1857 |
| 1858 @DomName('WebGLRenderingContext.SHORT') |
| 1859 @DocsEditable() |
| 1860 static const int SHORT = 0x1402; |
| 1861 |
| 1862 @DomName('WebGLRenderingContext.SRC_ALPHA') |
| 1863 @DocsEditable() |
| 1864 static const int SRC_ALPHA = 0x0302; |
| 1865 |
| 1866 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE') |
| 1867 @DocsEditable() |
| 1868 static const int SRC_ALPHA_SATURATE = 0x0308; |
| 1869 |
| 1870 @DomName('WebGLRenderingContext.SRC_COLOR') |
| 1871 @DocsEditable() |
| 1872 static const int SRC_COLOR = 0x0300; |
| 1873 |
| 1874 @DomName('WebGLRenderingContext.STATIC_DRAW') |
| 1875 @DocsEditable() |
| 1876 static const int STATIC_DRAW = 0x88E4; |
| 1877 |
| 1878 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT') |
| 1879 @DocsEditable() |
| 1880 static const int STENCIL_ATTACHMENT = 0x8D20; |
| 1881 |
| 1882 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL') |
| 1883 @DocsEditable() |
| 1884 static const int STENCIL_BACK_FAIL = 0x8801; |
| 1885 |
| 1886 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC') |
| 1887 @DocsEditable() |
| 1888 static const int STENCIL_BACK_FUNC = 0x8800; |
| 1889 |
| 1890 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') |
| 1891 @DocsEditable() |
| 1892 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 1893 |
| 1894 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') |
| 1895 @DocsEditable() |
| 1896 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 1897 |
| 1898 @DomName('WebGLRenderingContext.STENCIL_BACK_REF') |
| 1899 @DocsEditable() |
| 1900 static const int STENCIL_BACK_REF = 0x8CA3; |
| 1901 |
| 1902 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK') |
| 1903 @DocsEditable() |
| 1904 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 1905 |
| 1906 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK') |
| 1907 @DocsEditable() |
| 1908 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 1909 |
| 1910 @DomName('WebGLRenderingContext.STENCIL_BITS') |
| 1911 @DocsEditable() |
| 1912 static const int STENCIL_BITS = 0x0D57; |
| 1913 |
| 1914 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT') |
| 1915 @DocsEditable() |
| 1916 static const int STENCIL_BUFFER_BIT = 0x00000400; |
| 1917 |
| 1918 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE') |
| 1919 @DocsEditable() |
| 1920 static const int STENCIL_CLEAR_VALUE = 0x0B91; |
| 1921 |
| 1922 @DomName('WebGLRenderingContext.STENCIL_FAIL') |
| 1923 @DocsEditable() |
| 1924 static const int STENCIL_FAIL = 0x0B94; |
| 1925 |
| 1926 @DomName('WebGLRenderingContext.STENCIL_FUNC') |
| 1927 @DocsEditable() |
| 1928 static const int STENCIL_FUNC = 0x0B92; |
| 1929 |
| 1930 @DomName('WebGLRenderingContext.STENCIL_INDEX') |
| 1931 @DocsEditable() |
| 1932 static const int STENCIL_INDEX = 0x1901; |
| 1933 |
| 1934 @DomName('WebGLRenderingContext.STENCIL_INDEX8') |
| 1935 @DocsEditable() |
| 1936 static const int STENCIL_INDEX8 = 0x8D48; |
| 1937 |
| 1938 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL') |
| 1939 @DocsEditable() |
| 1940 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 1941 |
| 1942 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS') |
| 1943 @DocsEditable() |
| 1944 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 1945 |
| 1946 @DomName('WebGLRenderingContext.STENCIL_REF') |
| 1947 @DocsEditable() |
| 1948 static const int STENCIL_REF = 0x0B97; |
| 1949 |
| 1950 @DomName('WebGLRenderingContext.STENCIL_TEST') |
| 1951 @DocsEditable() |
| 1952 static const int STENCIL_TEST = 0x0B90; |
| 1953 |
| 1954 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK') |
| 1955 @DocsEditable() |
| 1956 static const int STENCIL_VALUE_MASK = 0x0B93; |
| 1957 |
| 1958 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK') |
| 1959 @DocsEditable() |
| 1960 static const int STENCIL_WRITEMASK = 0x0B98; |
| 1961 |
| 1962 @DomName('WebGLRenderingContext.STREAM_DRAW') |
| 1963 @DocsEditable() |
| 1964 static const int STREAM_DRAW = 0x88E0; |
| 1965 |
| 1966 @DomName('WebGLRenderingContext.SUBPIXEL_BITS') |
| 1967 @DocsEditable() |
| 1968 static const int SUBPIXEL_BITS = 0x0D50; |
| 1969 |
| 1970 @DomName('WebGLRenderingContext.TEXTURE') |
| 1971 @DocsEditable() |
| 1972 static const int TEXTURE = 0x1702; |
| 1973 |
| 1974 @DomName('WebGLRenderingContext.TEXTURE0') |
| 1975 @DocsEditable() |
| 1976 static const int TEXTURE0 = 0x84C0; |
| 1977 |
| 1978 @DomName('WebGLRenderingContext.TEXTURE1') |
| 1979 @DocsEditable() |
| 1980 static const int TEXTURE1 = 0x84C1; |
| 1981 |
| 1982 @DomName('WebGLRenderingContext.TEXTURE10') |
| 1983 @DocsEditable() |
| 1984 static const int TEXTURE10 = 0x84CA; |
| 1985 |
| 1986 @DomName('WebGLRenderingContext.TEXTURE11') |
| 1987 @DocsEditable() |
| 1988 static const int TEXTURE11 = 0x84CB; |
| 1989 |
| 1990 @DomName('WebGLRenderingContext.TEXTURE12') |
| 1991 @DocsEditable() |
| 1992 static const int TEXTURE12 = 0x84CC; |
| 1993 |
| 1994 @DomName('WebGLRenderingContext.TEXTURE13') |
| 1995 @DocsEditable() |
| 1996 static const int TEXTURE13 = 0x84CD; |
| 1997 |
| 1998 @DomName('WebGLRenderingContext.TEXTURE14') |
| 1999 @DocsEditable() |
| 2000 static const int TEXTURE14 = 0x84CE; |
| 2001 |
| 2002 @DomName('WebGLRenderingContext.TEXTURE15') |
| 2003 @DocsEditable() |
| 2004 static const int TEXTURE15 = 0x84CF; |
| 2005 |
| 2006 @DomName('WebGLRenderingContext.TEXTURE16') |
| 2007 @DocsEditable() |
| 2008 static const int TEXTURE16 = 0x84D0; |
| 2009 |
| 2010 @DomName('WebGLRenderingContext.TEXTURE17') |
| 2011 @DocsEditable() |
| 2012 static const int TEXTURE17 = 0x84D1; |
| 2013 |
| 2014 @DomName('WebGLRenderingContext.TEXTURE18') |
| 2015 @DocsEditable() |
| 2016 static const int TEXTURE18 = 0x84D2; |
| 2017 |
| 2018 @DomName('WebGLRenderingContext.TEXTURE19') |
| 2019 @DocsEditable() |
| 2020 static const int TEXTURE19 = 0x84D3; |
| 2021 |
| 2022 @DomName('WebGLRenderingContext.TEXTURE2') |
| 2023 @DocsEditable() |
| 2024 static const int TEXTURE2 = 0x84C2; |
| 2025 |
| 2026 @DomName('WebGLRenderingContext.TEXTURE20') |
| 2027 @DocsEditable() |
| 2028 static const int TEXTURE20 = 0x84D4; |
| 2029 |
| 2030 @DomName('WebGLRenderingContext.TEXTURE21') |
| 2031 @DocsEditable() |
| 2032 static const int TEXTURE21 = 0x84D5; |
| 2033 |
| 2034 @DomName('WebGLRenderingContext.TEXTURE22') |
| 2035 @DocsEditable() |
| 2036 static const int TEXTURE22 = 0x84D6; |
| 2037 |
| 2038 @DomName('WebGLRenderingContext.TEXTURE23') |
| 2039 @DocsEditable() |
| 2040 static const int TEXTURE23 = 0x84D7; |
| 2041 |
| 2042 @DomName('WebGLRenderingContext.TEXTURE24') |
| 2043 @DocsEditable() |
| 2044 static const int TEXTURE24 = 0x84D8; |
| 2045 |
| 2046 @DomName('WebGLRenderingContext.TEXTURE25') |
| 2047 @DocsEditable() |
| 2048 static const int TEXTURE25 = 0x84D9; |
| 2049 |
| 2050 @DomName('WebGLRenderingContext.TEXTURE26') |
| 2051 @DocsEditable() |
| 2052 static const int TEXTURE26 = 0x84DA; |
| 2053 |
| 2054 @DomName('WebGLRenderingContext.TEXTURE27') |
| 2055 @DocsEditable() |
| 2056 static const int TEXTURE27 = 0x84DB; |
| 2057 |
| 2058 @DomName('WebGLRenderingContext.TEXTURE28') |
| 2059 @DocsEditable() |
| 2060 static const int TEXTURE28 = 0x84DC; |
| 2061 |
| 2062 @DomName('WebGLRenderingContext.TEXTURE29') |
| 2063 @DocsEditable() |
| 2064 static const int TEXTURE29 = 0x84DD; |
| 2065 |
| 2066 @DomName('WebGLRenderingContext.TEXTURE3') |
| 2067 @DocsEditable() |
| 2068 static const int TEXTURE3 = 0x84C3; |
| 2069 |
| 2070 @DomName('WebGLRenderingContext.TEXTURE30') |
| 2071 @DocsEditable() |
| 2072 static const int TEXTURE30 = 0x84DE; |
| 2073 |
| 2074 @DomName('WebGLRenderingContext.TEXTURE31') |
| 2075 @DocsEditable() |
| 2076 static const int TEXTURE31 = 0x84DF; |
| 2077 |
| 2078 @DomName('WebGLRenderingContext.TEXTURE4') |
| 2079 @DocsEditable() |
| 2080 static const int TEXTURE4 = 0x84C4; |
| 2081 |
| 2082 @DomName('WebGLRenderingContext.TEXTURE5') |
| 2083 @DocsEditable() |
| 2084 static const int TEXTURE5 = 0x84C5; |
| 2085 |
| 2086 @DomName('WebGLRenderingContext.TEXTURE6') |
| 2087 @DocsEditable() |
| 2088 static const int TEXTURE6 = 0x84C6; |
| 2089 |
| 2090 @DomName('WebGLRenderingContext.TEXTURE7') |
| 2091 @DocsEditable() |
| 2092 static const int TEXTURE7 = 0x84C7; |
| 2093 |
| 2094 @DomName('WebGLRenderingContext.TEXTURE8') |
| 2095 @DocsEditable() |
| 2096 static const int TEXTURE8 = 0x84C8; |
| 2097 |
| 2098 @DomName('WebGLRenderingContext.TEXTURE9') |
| 2099 @DocsEditable() |
| 2100 static const int TEXTURE9 = 0x84C9; |
| 2101 |
| 2102 @DomName('WebGLRenderingContext.TEXTURE_2D') |
| 2103 @DocsEditable() |
| 2104 static const int TEXTURE_2D = 0x0DE1; |
| 2105 |
| 2106 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D') |
| 2107 @DocsEditable() |
| 2108 static const int TEXTURE_BINDING_2D = 0x8069; |
| 2109 |
| 2110 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP') |
| 2111 @DocsEditable() |
| 2112 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 2113 |
| 2114 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP') |
| 2115 @DocsEditable() |
| 2116 static const int TEXTURE_CUBE_MAP = 0x8513; |
| 2117 |
| 2118 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') |
| 2119 @DocsEditable() |
| 2120 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 2121 |
| 2122 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') |
| 2123 @DocsEditable() |
| 2124 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 2125 |
| 2126 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') |
| 2127 @DocsEditable() |
| 2128 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 2129 |
| 2130 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') |
| 2131 @DocsEditable() |
| 2132 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 2133 |
| 2134 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') |
| 2135 @DocsEditable() |
| 2136 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 2137 |
| 2138 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') |
| 2139 @DocsEditable() |
| 2140 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 2141 |
| 2142 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER') |
| 2143 @DocsEditable() |
| 2144 static const int TEXTURE_MAG_FILTER = 0x2800; |
| 2145 |
| 2146 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER') |
| 2147 @DocsEditable() |
| 2148 static const int TEXTURE_MIN_FILTER = 0x2801; |
| 2149 |
| 2150 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S') |
| 2151 @DocsEditable() |
| 2152 static const int TEXTURE_WRAP_S = 0x2802; |
| 2153 |
| 2154 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T') |
| 2155 @DocsEditable() |
| 2156 static const int TEXTURE_WRAP_T = 0x2803; |
| 2157 |
| 2158 @DomName('WebGLRenderingContext.TRIANGLES') |
| 2159 @DocsEditable() |
| 2160 static const int TRIANGLES = 0x0004; |
| 2161 |
| 2162 @DomName('WebGLRenderingContext.TRIANGLE_FAN') |
| 2163 @DocsEditable() |
| 2164 static const int TRIANGLE_FAN = 0x0006; |
| 2165 |
| 2166 @DomName('WebGLRenderingContext.TRIANGLE_STRIP') |
| 2167 @DocsEditable() |
| 2168 static const int TRIANGLE_STRIP = 0x0005; |
| 2169 |
| 2170 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT') |
| 2171 @DocsEditable() |
| 2172 static const int UNPACK_ALIGNMENT = 0x0CF5; |
| 2173 |
| 2174 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') |
| 2175 @DocsEditable() |
| 2176 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 2177 |
| 2178 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL') |
| 2179 @DocsEditable() |
| 2180 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 2181 |
| 2182 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') |
| 2183 @DocsEditable() |
| 2184 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 2185 |
| 2186 @DomName('WebGLRenderingContext.UNSIGNED_BYTE') |
| 2187 @DocsEditable() |
| 2188 static const int UNSIGNED_BYTE = 0x1401; |
| 2189 |
| 2190 @DomName('WebGLRenderingContext.UNSIGNED_INT') |
| 2191 @DocsEditable() |
| 2192 static const int UNSIGNED_INT = 0x1405; |
| 2193 |
| 2194 @DomName('WebGLRenderingContext.UNSIGNED_SHORT') |
| 2195 @DocsEditable() |
| 2196 static const int UNSIGNED_SHORT = 0x1403; |
| 2197 |
| 2198 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4') |
| 2199 @DocsEditable() |
| 2200 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 2201 |
| 2202 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1') |
| 2203 @DocsEditable() |
| 2204 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 2205 |
| 2206 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5') |
| 2207 @DocsEditable() |
| 2208 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 2209 |
| 2210 @DomName('WebGLRenderingContext.VALIDATE_STATUS') |
| 2211 @DocsEditable() |
| 2212 static const int VALIDATE_STATUS = 0x8B83; |
| 2213 |
| 2214 @DomName('WebGLRenderingContext.VENDOR') |
| 2215 @DocsEditable() |
| 2216 static const int VENDOR = 0x1F00; |
| 2217 |
| 2218 @DomName('WebGLRenderingContext.VERSION') |
| 2219 @DocsEditable() |
| 2220 static const int VERSION = 0x1F02; |
| 2221 |
| 2222 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') |
| 2223 @DocsEditable() |
| 2224 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 2225 |
| 2226 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') |
| 2227 @DocsEditable() |
| 2228 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 2229 |
| 2230 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') |
| 2231 @DocsEditable() |
| 2232 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 2233 |
| 2234 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') |
| 2235 @DocsEditable() |
| 2236 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 2237 |
| 2238 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') |
| 2239 @DocsEditable() |
| 2240 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 2241 |
| 2242 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') |
| 2243 @DocsEditable() |
| 2244 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 2245 |
| 2246 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') |
| 2247 @DocsEditable() |
| 2248 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 2249 |
| 2250 @DomName('WebGLRenderingContext.VERTEX_SHADER') |
| 2251 @DocsEditable() |
| 2252 static const int VERTEX_SHADER = 0x8B31; |
| 2253 |
| 2254 @DomName('WebGLRenderingContext.VIEWPORT') |
| 2255 @DocsEditable() |
| 2256 static const int VIEWPORT = 0x0BA2; |
| 2257 |
| 2258 @DomName('WebGLRenderingContext.ZERO') |
| 2259 @DocsEditable() |
| 2260 static const int ZERO = 0; |
| 2261 |
1072 // From WebGLRenderingContextBase | 2262 // From WebGLRenderingContextBase |
1073 | 2263 |
1074 @DomName('WebGLRenderingContext.canvas') | 2264 @DomName('WebGLRenderingContext.canvas') |
1075 @DocsEditable() | 2265 @DocsEditable() |
1076 @Experimental() // untriaged | 2266 @Experimental() // untriaged |
1077 final CanvasElement canvas; | 2267 final CanvasElement canvas; |
1078 | 2268 |
1079 @DomName('WebGLRenderingContext.drawingBufferHeight') | 2269 @DomName('WebGLRenderingContext.drawingBufferHeight') |
1080 @DocsEditable() | 2270 @DocsEditable() |
1081 final int drawingBufferHeight; | 2271 final int drawingBufferHeight; |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2070 /** | 3260 /** |
2071 * Updates a sub-rectangle of the currently bound texture to [data]. | 3261 * Updates a sub-rectangle of the currently bound texture to [data]. |
2072 */ | 3262 */ |
2073 @JSName('texSubImage2D') | 3263 @JSName('texSubImage2D') |
2074 void texSubImage2DTyped(int targetTexture, int levelOfDetail, | 3264 void texSubImage2DTyped(int targetTexture, int levelOfDetail, |
2075 int xOffset, int yOffset, int width, int height, int border, int format, | 3265 int xOffset, int yOffset, int width, int height, int border, int format, |
2076 int type, TypedData data) native; | 3266 int type, TypedData data) native; |
2077 } | 3267 } |
2078 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2079 // for details. All rights reserved. Use of this source code is governed by a | 3269 // for details. All rights reserved. Use of this source code is governed by a |
2080 // BSD-style license that can be found in the LICENSE file. | |
2081 | |
2082 | |
2083 @DocsEditable() | |
2084 @DomName('WebGLRenderingContextBase') | |
2085 @Experimental() // untriaged | |
2086 abstract class RenderingContextBase extends Interceptor { | |
2087 // To suppress missing implicit constructor warnings. | |
2088 factory RenderingContextBase._() { throw new UnsupportedError("Not supported")
; } | |
2089 | |
2090 @DomName('WebGLRenderingContextBase.ACTIVE_ATTRIBUTES') | |
2091 @DocsEditable() | |
2092 @Experimental() // untriaged | |
2093 static const int ACTIVE_ATTRIBUTES = 0x8B89; | |
2094 | |
2095 @DomName('WebGLRenderingContextBase.ACTIVE_TEXTURE') | |
2096 @DocsEditable() | |
2097 @Experimental() // untriaged | |
2098 static const int ACTIVE_TEXTURE = 0x84E0; | |
2099 | |
2100 @DomName('WebGLRenderingContextBase.ACTIVE_UNIFORMS') | |
2101 @DocsEditable() | |
2102 @Experimental() // untriaged | |
2103 static const int ACTIVE_UNIFORMS = 0x8B86; | |
2104 | |
2105 @DomName('WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE') | |
2106 @DocsEditable() | |
2107 @Experimental() // untriaged | |
2108 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
2109 | |
2110 @DomName('WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE') | |
2111 @DocsEditable() | |
2112 @Experimental() // untriaged | |
2113 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
2114 | |
2115 @DomName('WebGLRenderingContextBase.ALPHA') | |
2116 @DocsEditable() | |
2117 @Experimental() // untriaged | |
2118 static const int ALPHA = 0x1906; | |
2119 | |
2120 @DomName('WebGLRenderingContextBase.ALPHA_BITS') | |
2121 @DocsEditable() | |
2122 @Experimental() // untriaged | |
2123 static const int ALPHA_BITS = 0x0D55; | |
2124 | |
2125 @DomName('WebGLRenderingContextBase.ALWAYS') | |
2126 @DocsEditable() | |
2127 @Experimental() // untriaged | |
2128 static const int ALWAYS = 0x0207; | |
2129 | |
2130 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER') | |
2131 @DocsEditable() | |
2132 @Experimental() // untriaged | |
2133 static const int ARRAY_BUFFER = 0x8892; | |
2134 | |
2135 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER_BINDING') | |
2136 @DocsEditable() | |
2137 @Experimental() // untriaged | |
2138 static const int ARRAY_BUFFER_BINDING = 0x8894; | |
2139 | |
2140 @DomName('WebGLRenderingContextBase.ATTACHED_SHADERS') | |
2141 @DocsEditable() | |
2142 @Experimental() // untriaged | |
2143 static const int ATTACHED_SHADERS = 0x8B85; | |
2144 | |
2145 @DomName('WebGLRenderingContextBase.BACK') | |
2146 @DocsEditable() | |
2147 @Experimental() // untriaged | |
2148 static const int BACK = 0x0405; | |
2149 | |
2150 @DomName('WebGLRenderingContextBase.BLEND') | |
2151 @DocsEditable() | |
2152 @Experimental() // untriaged | |
2153 static const int BLEND = 0x0BE2; | |
2154 | |
2155 @DomName('WebGLRenderingContextBase.BLEND_COLOR') | |
2156 @DocsEditable() | |
2157 @Experimental() // untriaged | |
2158 static const int BLEND_COLOR = 0x8005; | |
2159 | |
2160 @DomName('WebGLRenderingContextBase.BLEND_DST_ALPHA') | |
2161 @DocsEditable() | |
2162 @Experimental() // untriaged | |
2163 static const int BLEND_DST_ALPHA = 0x80CA; | |
2164 | |
2165 @DomName('WebGLRenderingContextBase.BLEND_DST_RGB') | |
2166 @DocsEditable() | |
2167 @Experimental() // untriaged | |
2168 static const int BLEND_DST_RGB = 0x80C8; | |
2169 | |
2170 @DomName('WebGLRenderingContextBase.BLEND_EQUATION') | |
2171 @DocsEditable() | |
2172 @Experimental() // untriaged | |
2173 static const int BLEND_EQUATION = 0x8009; | |
2174 | |
2175 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_ALPHA') | |
2176 @DocsEditable() | |
2177 @Experimental() // untriaged | |
2178 static const int BLEND_EQUATION_ALPHA = 0x883D; | |
2179 | |
2180 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_RGB') | |
2181 @DocsEditable() | |
2182 @Experimental() // untriaged | |
2183 static const int BLEND_EQUATION_RGB = 0x8009; | |
2184 | |
2185 @DomName('WebGLRenderingContextBase.BLEND_SRC_ALPHA') | |
2186 @DocsEditable() | |
2187 @Experimental() // untriaged | |
2188 static const int BLEND_SRC_ALPHA = 0x80CB; | |
2189 | |
2190 @DomName('WebGLRenderingContextBase.BLEND_SRC_RGB') | |
2191 @DocsEditable() | |
2192 @Experimental() // untriaged | |
2193 static const int BLEND_SRC_RGB = 0x80C9; | |
2194 | |
2195 @DomName('WebGLRenderingContextBase.BLUE_BITS') | |
2196 @DocsEditable() | |
2197 @Experimental() // untriaged | |
2198 static const int BLUE_BITS = 0x0D54; | |
2199 | |
2200 @DomName('WebGLRenderingContextBase.BOOL') | |
2201 @DocsEditable() | |
2202 @Experimental() // untriaged | |
2203 static const int BOOL = 0x8B56; | |
2204 | |
2205 @DomName('WebGLRenderingContextBase.BOOL_VEC2') | |
2206 @DocsEditable() | |
2207 @Experimental() // untriaged | |
2208 static const int BOOL_VEC2 = 0x8B57; | |
2209 | |
2210 @DomName('WebGLRenderingContextBase.BOOL_VEC3') | |
2211 @DocsEditable() | |
2212 @Experimental() // untriaged | |
2213 static const int BOOL_VEC3 = 0x8B58; | |
2214 | |
2215 @DomName('WebGLRenderingContextBase.BOOL_VEC4') | |
2216 @DocsEditable() | |
2217 @Experimental() // untriaged | |
2218 static const int BOOL_VEC4 = 0x8B59; | |
2219 | |
2220 @DomName('WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL') | |
2221 @DocsEditable() | |
2222 @Experimental() // untriaged | |
2223 static const int BROWSER_DEFAULT_WEBGL = 0x9244; | |
2224 | |
2225 @DomName('WebGLRenderingContextBase.BUFFER_SIZE') | |
2226 @DocsEditable() | |
2227 @Experimental() // untriaged | |
2228 static const int BUFFER_SIZE = 0x8764; | |
2229 | |
2230 @DomName('WebGLRenderingContextBase.BUFFER_USAGE') | |
2231 @DocsEditable() | |
2232 @Experimental() // untriaged | |
2233 static const int BUFFER_USAGE = 0x8765; | |
2234 | |
2235 @DomName('WebGLRenderingContextBase.BYTE') | |
2236 @DocsEditable() | |
2237 @Experimental() // untriaged | |
2238 static const int BYTE = 0x1400; | |
2239 | |
2240 @DomName('WebGLRenderingContextBase.CCW') | |
2241 @DocsEditable() | |
2242 @Experimental() // untriaged | |
2243 static const int CCW = 0x0901; | |
2244 | |
2245 @DomName('WebGLRenderingContextBase.CLAMP_TO_EDGE') | |
2246 @DocsEditable() | |
2247 @Experimental() // untriaged | |
2248 static const int CLAMP_TO_EDGE = 0x812F; | |
2249 | |
2250 @DomName('WebGLRenderingContextBase.COLOR_ATTACHMENT0') | |
2251 @DocsEditable() | |
2252 @Experimental() // untriaged | |
2253 static const int COLOR_ATTACHMENT0 = 0x8CE0; | |
2254 | |
2255 @DomName('WebGLRenderingContextBase.COLOR_BUFFER_BIT') | |
2256 @DocsEditable() | |
2257 @Experimental() // untriaged | |
2258 static const int COLOR_BUFFER_BIT = 0x00004000; | |
2259 | |
2260 @DomName('WebGLRenderingContextBase.COLOR_CLEAR_VALUE') | |
2261 @DocsEditable() | |
2262 @Experimental() // untriaged | |
2263 static const int COLOR_CLEAR_VALUE = 0x0C22; | |
2264 | |
2265 @DomName('WebGLRenderingContextBase.COLOR_WRITEMASK') | |
2266 @DocsEditable() | |
2267 @Experimental() // untriaged | |
2268 static const int COLOR_WRITEMASK = 0x0C23; | |
2269 | |
2270 @DomName('WebGLRenderingContextBase.COMPILE_STATUS') | |
2271 @DocsEditable() | |
2272 @Experimental() // untriaged | |
2273 static const int COMPILE_STATUS = 0x8B81; | |
2274 | |
2275 @DomName('WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS') | |
2276 @DocsEditable() | |
2277 @Experimental() // untriaged | |
2278 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
2279 | |
2280 @DomName('WebGLRenderingContextBase.CONSTANT_ALPHA') | |
2281 @DocsEditable() | |
2282 @Experimental() // untriaged | |
2283 static const int CONSTANT_ALPHA = 0x8003; | |
2284 | |
2285 @DomName('WebGLRenderingContextBase.CONSTANT_COLOR') | |
2286 @DocsEditable() | |
2287 @Experimental() // untriaged | |
2288 static const int CONSTANT_COLOR = 0x8001; | |
2289 | |
2290 @DomName('WebGLRenderingContextBase.CONTEXT_LOST_WEBGL') | |
2291 @DocsEditable() | |
2292 @Experimental() // untriaged | |
2293 static const int CONTEXT_LOST_WEBGL = 0x9242; | |
2294 | |
2295 @DomName('WebGLRenderingContextBase.CULL_FACE') | |
2296 @DocsEditable() | |
2297 @Experimental() // untriaged | |
2298 static const int CULL_FACE = 0x0B44; | |
2299 | |
2300 @DomName('WebGLRenderingContextBase.CULL_FACE_MODE') | |
2301 @DocsEditable() | |
2302 @Experimental() // untriaged | |
2303 static const int CULL_FACE_MODE = 0x0B45; | |
2304 | |
2305 @DomName('WebGLRenderingContextBase.CURRENT_PROGRAM') | |
2306 @DocsEditable() | |
2307 @Experimental() // untriaged | |
2308 static const int CURRENT_PROGRAM = 0x8B8D; | |
2309 | |
2310 @DomName('WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB') | |
2311 @DocsEditable() | |
2312 @Experimental() // untriaged | |
2313 static const int CURRENT_VERTEX_ATTRIB = 0x8626; | |
2314 | |
2315 @DomName('WebGLRenderingContextBase.CW') | |
2316 @DocsEditable() | |
2317 @Experimental() // untriaged | |
2318 static const int CW = 0x0900; | |
2319 | |
2320 @DomName('WebGLRenderingContextBase.DECR') | |
2321 @DocsEditable() | |
2322 @Experimental() // untriaged | |
2323 static const int DECR = 0x1E03; | |
2324 | |
2325 @DomName('WebGLRenderingContextBase.DECR_WRAP') | |
2326 @DocsEditable() | |
2327 @Experimental() // untriaged | |
2328 static const int DECR_WRAP = 0x8508; | |
2329 | |
2330 @DomName('WebGLRenderingContextBase.DELETE_STATUS') | |
2331 @DocsEditable() | |
2332 @Experimental() // untriaged | |
2333 static const int DELETE_STATUS = 0x8B80; | |
2334 | |
2335 @DomName('WebGLRenderingContextBase.DEPTH_ATTACHMENT') | |
2336 @DocsEditable() | |
2337 @Experimental() // untriaged | |
2338 static const int DEPTH_ATTACHMENT = 0x8D00; | |
2339 | |
2340 @DomName('WebGLRenderingContextBase.DEPTH_BITS') | |
2341 @DocsEditable() | |
2342 @Experimental() // untriaged | |
2343 static const int DEPTH_BITS = 0x0D56; | |
2344 | |
2345 @DomName('WebGLRenderingContextBase.DEPTH_BUFFER_BIT') | |
2346 @DocsEditable() | |
2347 @Experimental() // untriaged | |
2348 static const int DEPTH_BUFFER_BIT = 0x00000100; | |
2349 | |
2350 @DomName('WebGLRenderingContextBase.DEPTH_CLEAR_VALUE') | |
2351 @DocsEditable() | |
2352 @Experimental() // untriaged | |
2353 static const int DEPTH_CLEAR_VALUE = 0x0B73; | |
2354 | |
2355 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT') | |
2356 @DocsEditable() | |
2357 @Experimental() // untriaged | |
2358 static const int DEPTH_COMPONENT = 0x1902; | |
2359 | |
2360 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT16') | |
2361 @DocsEditable() | |
2362 @Experimental() // untriaged | |
2363 static const int DEPTH_COMPONENT16 = 0x81A5; | |
2364 | |
2365 @DomName('WebGLRenderingContextBase.DEPTH_FUNC') | |
2366 @DocsEditable() | |
2367 @Experimental() // untriaged | |
2368 static const int DEPTH_FUNC = 0x0B74; | |
2369 | |
2370 @DomName('WebGLRenderingContextBase.DEPTH_RANGE') | |
2371 @DocsEditable() | |
2372 @Experimental() // untriaged | |
2373 static const int DEPTH_RANGE = 0x0B70; | |
2374 | |
2375 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL') | |
2376 @DocsEditable() | |
2377 @Experimental() // untriaged | |
2378 static const int DEPTH_STENCIL = 0x84F9; | |
2379 | |
2380 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT') | |
2381 @DocsEditable() | |
2382 @Experimental() // untriaged | |
2383 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
2384 | |
2385 @DomName('WebGLRenderingContextBase.DEPTH_TEST') | |
2386 @DocsEditable() | |
2387 @Experimental() // untriaged | |
2388 static const int DEPTH_TEST = 0x0B71; | |
2389 | |
2390 @DomName('WebGLRenderingContextBase.DEPTH_WRITEMASK') | |
2391 @DocsEditable() | |
2392 @Experimental() // untriaged | |
2393 static const int DEPTH_WRITEMASK = 0x0B72; | |
2394 | |
2395 @DomName('WebGLRenderingContextBase.DITHER') | |
2396 @DocsEditable() | |
2397 @Experimental() // untriaged | |
2398 static const int DITHER = 0x0BD0; | |
2399 | |
2400 @DomName('WebGLRenderingContextBase.DONT_CARE') | |
2401 @DocsEditable() | |
2402 @Experimental() // untriaged | |
2403 static const int DONT_CARE = 0x1100; | |
2404 | |
2405 @DomName('WebGLRenderingContextBase.DST_ALPHA') | |
2406 @DocsEditable() | |
2407 @Experimental() // untriaged | |
2408 static const int DST_ALPHA = 0x0304; | |
2409 | |
2410 @DomName('WebGLRenderingContextBase.DST_COLOR') | |
2411 @DocsEditable() | |
2412 @Experimental() // untriaged | |
2413 static const int DST_COLOR = 0x0306; | |
2414 | |
2415 @DomName('WebGLRenderingContextBase.DYNAMIC_DRAW') | |
2416 @DocsEditable() | |
2417 @Experimental() // untriaged | |
2418 static const int DYNAMIC_DRAW = 0x88E8; | |
2419 | |
2420 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER') | |
2421 @DocsEditable() | |
2422 @Experimental() // untriaged | |
2423 static const int ELEMENT_ARRAY_BUFFER = 0x8893; | |
2424 | |
2425 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING') | |
2426 @DocsEditable() | |
2427 @Experimental() // untriaged | |
2428 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
2429 | |
2430 @DomName('WebGLRenderingContextBase.EQUAL') | |
2431 @DocsEditable() | |
2432 @Experimental() // untriaged | |
2433 static const int EQUAL = 0x0202; | |
2434 | |
2435 @DomName('WebGLRenderingContextBase.FASTEST') | |
2436 @DocsEditable() | |
2437 @Experimental() // untriaged | |
2438 static const int FASTEST = 0x1101; | |
2439 | |
2440 @DomName('WebGLRenderingContextBase.FLOAT') | |
2441 @DocsEditable() | |
2442 @Experimental() // untriaged | |
2443 static const int FLOAT = 0x1406; | |
2444 | |
2445 @DomName('WebGLRenderingContextBase.FLOAT_MAT2') | |
2446 @DocsEditable() | |
2447 @Experimental() // untriaged | |
2448 static const int FLOAT_MAT2 = 0x8B5A; | |
2449 | |
2450 @DomName('WebGLRenderingContextBase.FLOAT_MAT3') | |
2451 @DocsEditable() | |
2452 @Experimental() // untriaged | |
2453 static const int FLOAT_MAT3 = 0x8B5B; | |
2454 | |
2455 @DomName('WebGLRenderingContextBase.FLOAT_MAT4') | |
2456 @DocsEditable() | |
2457 @Experimental() // untriaged | |
2458 static const int FLOAT_MAT4 = 0x8B5C; | |
2459 | |
2460 @DomName('WebGLRenderingContextBase.FLOAT_VEC2') | |
2461 @DocsEditable() | |
2462 @Experimental() // untriaged | |
2463 static const int FLOAT_VEC2 = 0x8B50; | |
2464 | |
2465 @DomName('WebGLRenderingContextBase.FLOAT_VEC3') | |
2466 @DocsEditable() | |
2467 @Experimental() // untriaged | |
2468 static const int FLOAT_VEC3 = 0x8B51; | |
2469 | |
2470 @DomName('WebGLRenderingContextBase.FLOAT_VEC4') | |
2471 @DocsEditable() | |
2472 @Experimental() // untriaged | |
2473 static const int FLOAT_VEC4 = 0x8B52; | |
2474 | |
2475 @DomName('WebGLRenderingContextBase.FRAGMENT_SHADER') | |
2476 @DocsEditable() | |
2477 @Experimental() // untriaged | |
2478 static const int FRAGMENT_SHADER = 0x8B30; | |
2479 | |
2480 @DomName('WebGLRenderingContextBase.FRAMEBUFFER') | |
2481 @DocsEditable() | |
2482 @Experimental() // untriaged | |
2483 static const int FRAMEBUFFER = 0x8D40; | |
2484 | |
2485 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') | |
2486 @DocsEditable() | |
2487 @Experimental() // untriaged | |
2488 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
2489 | |
2490 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') | |
2491 @DocsEditable() | |
2492 @Experimental() // untriaged | |
2493 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
2494 | |
2495 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FA
CE') | |
2496 @DocsEditable() | |
2497 @Experimental() // untriaged | |
2498 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
2499 | |
2500 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') | |
2501 @DocsEditable() | |
2502 @Experimental() // untriaged | |
2503 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
2504 | |
2505 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_BINDING') | |
2506 @DocsEditable() | |
2507 @Experimental() // untriaged | |
2508 static const int FRAMEBUFFER_BINDING = 0x8CA6; | |
2509 | |
2510 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE') | |
2511 @DocsEditable() | |
2512 @Experimental() // untriaged | |
2513 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
2514 | |
2515 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') | |
2516 @DocsEditable() | |
2517 @Experimental() // untriaged | |
2518 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
2519 | |
2520 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') | |
2521 @DocsEditable() | |
2522 @Experimental() // untriaged | |
2523 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
2524 | |
2525 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT'
) | |
2526 @DocsEditable() | |
2527 @Experimental() // untriaged | |
2528 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
2529 | |
2530 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED') | |
2531 @DocsEditable() | |
2532 @Experimental() // untriaged | |
2533 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
2534 | |
2535 @DomName('WebGLRenderingContextBase.FRONT') | |
2536 @DocsEditable() | |
2537 @Experimental() // untriaged | |
2538 static const int FRONT = 0x0404; | |
2539 | |
2540 @DomName('WebGLRenderingContextBase.FRONT_AND_BACK') | |
2541 @DocsEditable() | |
2542 @Experimental() // untriaged | |
2543 static const int FRONT_AND_BACK = 0x0408; | |
2544 | |
2545 @DomName('WebGLRenderingContextBase.FRONT_FACE') | |
2546 @DocsEditable() | |
2547 @Experimental() // untriaged | |
2548 static const int FRONT_FACE = 0x0B46; | |
2549 | |
2550 @DomName('WebGLRenderingContextBase.FUNC_ADD') | |
2551 @DocsEditable() | |
2552 @Experimental() // untriaged | |
2553 static const int FUNC_ADD = 0x8006; | |
2554 | |
2555 @DomName('WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT') | |
2556 @DocsEditable() | |
2557 @Experimental() // untriaged | |
2558 static const int FUNC_REVERSE_SUBTRACT = 0x800B; | |
2559 | |
2560 @DomName('WebGLRenderingContextBase.FUNC_SUBTRACT') | |
2561 @DocsEditable() | |
2562 @Experimental() // untriaged | |
2563 static const int FUNC_SUBTRACT = 0x800A; | |
2564 | |
2565 @DomName('WebGLRenderingContextBase.GENERATE_MIPMAP_HINT') | |
2566 @DocsEditable() | |
2567 @Experimental() // untriaged | |
2568 static const int GENERATE_MIPMAP_HINT = 0x8192; | |
2569 | |
2570 @DomName('WebGLRenderingContextBase.GEQUAL') | |
2571 @DocsEditable() | |
2572 @Experimental() // untriaged | |
2573 static const int GEQUAL = 0x0206; | |
2574 | |
2575 @DomName('WebGLRenderingContextBase.GREATER') | |
2576 @DocsEditable() | |
2577 @Experimental() // untriaged | |
2578 static const int GREATER = 0x0204; | |
2579 | |
2580 @DomName('WebGLRenderingContextBase.GREEN_BITS') | |
2581 @DocsEditable() | |
2582 @Experimental() // untriaged | |
2583 static const int GREEN_BITS = 0x0D53; | |
2584 | |
2585 @DomName('WebGLRenderingContextBase.HIGH_FLOAT') | |
2586 @DocsEditable() | |
2587 @Experimental() // untriaged | |
2588 static const int HIGH_FLOAT = 0x8DF2; | |
2589 | |
2590 @DomName('WebGLRenderingContextBase.HIGH_INT') | |
2591 @DocsEditable() | |
2592 @Experimental() // untriaged | |
2593 static const int HIGH_INT = 0x8DF5; | |
2594 | |
2595 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT') | |
2596 @DocsEditable() | |
2597 @Experimental() // untriaged | |
2598 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B; | |
2599 | |
2600 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE') | |
2601 @DocsEditable() | |
2602 @Experimental() // untriaged | |
2603 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A; | |
2604 | |
2605 @DomName('WebGLRenderingContextBase.INCR') | |
2606 @DocsEditable() | |
2607 @Experimental() // untriaged | |
2608 static const int INCR = 0x1E02; | |
2609 | |
2610 @DomName('WebGLRenderingContextBase.INCR_WRAP') | |
2611 @DocsEditable() | |
2612 @Experimental() // untriaged | |
2613 static const int INCR_WRAP = 0x8507; | |
2614 | |
2615 @DomName('WebGLRenderingContextBase.INT') | |
2616 @DocsEditable() | |
2617 @Experimental() // untriaged | |
2618 static const int INT = 0x1404; | |
2619 | |
2620 @DomName('WebGLRenderingContextBase.INT_VEC2') | |
2621 @DocsEditable() | |
2622 @Experimental() // untriaged | |
2623 static const int INT_VEC2 = 0x8B53; | |
2624 | |
2625 @DomName('WebGLRenderingContextBase.INT_VEC3') | |
2626 @DocsEditable() | |
2627 @Experimental() // untriaged | |
2628 static const int INT_VEC3 = 0x8B54; | |
2629 | |
2630 @DomName('WebGLRenderingContextBase.INT_VEC4') | |
2631 @DocsEditable() | |
2632 @Experimental() // untriaged | |
2633 static const int INT_VEC4 = 0x8B55; | |
2634 | |
2635 @DomName('WebGLRenderingContextBase.INVALID_ENUM') | |
2636 @DocsEditable() | |
2637 @Experimental() // untriaged | |
2638 static const int INVALID_ENUM = 0x0500; | |
2639 | |
2640 @DomName('WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION') | |
2641 @DocsEditable() | |
2642 @Experimental() // untriaged | |
2643 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
2644 | |
2645 @DomName('WebGLRenderingContextBase.INVALID_OPERATION') | |
2646 @DocsEditable() | |
2647 @Experimental() // untriaged | |
2648 static const int INVALID_OPERATION = 0x0502; | |
2649 | |
2650 @DomName('WebGLRenderingContextBase.INVALID_VALUE') | |
2651 @DocsEditable() | |
2652 @Experimental() // untriaged | |
2653 static const int INVALID_VALUE = 0x0501; | |
2654 | |
2655 @DomName('WebGLRenderingContextBase.INVERT') | |
2656 @DocsEditable() | |
2657 @Experimental() // untriaged | |
2658 static const int INVERT = 0x150A; | |
2659 | |
2660 @DomName('WebGLRenderingContextBase.KEEP') | |
2661 @DocsEditable() | |
2662 @Experimental() // untriaged | |
2663 static const int KEEP = 0x1E00; | |
2664 | |
2665 @DomName('WebGLRenderingContextBase.LEQUAL') | |
2666 @DocsEditable() | |
2667 @Experimental() // untriaged | |
2668 static const int LEQUAL = 0x0203; | |
2669 | |
2670 @DomName('WebGLRenderingContextBase.LESS') | |
2671 @DocsEditable() | |
2672 @Experimental() // untriaged | |
2673 static const int LESS = 0x0201; | |
2674 | |
2675 @DomName('WebGLRenderingContextBase.LINEAR') | |
2676 @DocsEditable() | |
2677 @Experimental() // untriaged | |
2678 static const int LINEAR = 0x2601; | |
2679 | |
2680 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR') | |
2681 @DocsEditable() | |
2682 @Experimental() // untriaged | |
2683 static const int LINEAR_MIPMAP_LINEAR = 0x2703; | |
2684 | |
2685 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST') | |
2686 @DocsEditable() | |
2687 @Experimental() // untriaged | |
2688 static const int LINEAR_MIPMAP_NEAREST = 0x2701; | |
2689 | |
2690 @DomName('WebGLRenderingContextBase.LINES') | |
2691 @DocsEditable() | |
2692 @Experimental() // untriaged | |
2693 static const int LINES = 0x0001; | |
2694 | |
2695 @DomName('WebGLRenderingContextBase.LINE_LOOP') | |
2696 @DocsEditable() | |
2697 @Experimental() // untriaged | |
2698 static const int LINE_LOOP = 0x0002; | |
2699 | |
2700 @DomName('WebGLRenderingContextBase.LINE_STRIP') | |
2701 @DocsEditable() | |
2702 @Experimental() // untriaged | |
2703 static const int LINE_STRIP = 0x0003; | |
2704 | |
2705 @DomName('WebGLRenderingContextBase.LINE_WIDTH') | |
2706 @DocsEditable() | |
2707 @Experimental() // untriaged | |
2708 static const int LINE_WIDTH = 0x0B21; | |
2709 | |
2710 @DomName('WebGLRenderingContextBase.LINK_STATUS') | |
2711 @DocsEditable() | |
2712 @Experimental() // untriaged | |
2713 static const int LINK_STATUS = 0x8B82; | |
2714 | |
2715 @DomName('WebGLRenderingContextBase.LOW_FLOAT') | |
2716 @DocsEditable() | |
2717 @Experimental() // untriaged | |
2718 static const int LOW_FLOAT = 0x8DF0; | |
2719 | |
2720 @DomName('WebGLRenderingContextBase.LOW_INT') | |
2721 @DocsEditable() | |
2722 @Experimental() // untriaged | |
2723 static const int LOW_INT = 0x8DF3; | |
2724 | |
2725 @DomName('WebGLRenderingContextBase.LUMINANCE') | |
2726 @DocsEditable() | |
2727 @Experimental() // untriaged | |
2728 static const int LUMINANCE = 0x1909; | |
2729 | |
2730 @DomName('WebGLRenderingContextBase.LUMINANCE_ALPHA') | |
2731 @DocsEditable() | |
2732 @Experimental() // untriaged | |
2733 static const int LUMINANCE_ALPHA = 0x190A; | |
2734 | |
2735 @DomName('WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS') | |
2736 @DocsEditable() | |
2737 @Experimental() // untriaged | |
2738 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
2739 | |
2740 @DomName('WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE') | |
2741 @DocsEditable() | |
2742 @Experimental() // untriaged | |
2743 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
2744 | |
2745 @DomName('WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS') | |
2746 @DocsEditable() | |
2747 @Experimental() // untriaged | |
2748 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
2749 | |
2750 @DomName('WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE') | |
2751 @DocsEditable() | |
2752 @Experimental() // untriaged | |
2753 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
2754 | |
2755 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS') | |
2756 @DocsEditable() | |
2757 @Experimental() // untriaged | |
2758 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
2759 | |
2760 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_SIZE') | |
2761 @DocsEditable() | |
2762 @Experimental() // untriaged | |
2763 static const int MAX_TEXTURE_SIZE = 0x0D33; | |
2764 | |
2765 @DomName('WebGLRenderingContextBase.MAX_VARYING_VECTORS') | |
2766 @DocsEditable() | |
2767 @Experimental() // untriaged | |
2768 static const int MAX_VARYING_VECTORS = 0x8DFC; | |
2769 | |
2770 @DomName('WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS') | |
2771 @DocsEditable() | |
2772 @Experimental() // untriaged | |
2773 static const int MAX_VERTEX_ATTRIBS = 0x8869; | |
2774 | |
2775 @DomName('WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS') | |
2776 @DocsEditable() | |
2777 @Experimental() // untriaged | |
2778 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
2779 | |
2780 @DomName('WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS') | |
2781 @DocsEditable() | |
2782 @Experimental() // untriaged | |
2783 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
2784 | |
2785 @DomName('WebGLRenderingContextBase.MAX_VIEWPORT_DIMS') | |
2786 @DocsEditable() | |
2787 @Experimental() // untriaged | |
2788 static const int MAX_VIEWPORT_DIMS = 0x0D3A; | |
2789 | |
2790 @DomName('WebGLRenderingContextBase.MEDIUM_FLOAT') | |
2791 @DocsEditable() | |
2792 @Experimental() // untriaged | |
2793 static const int MEDIUM_FLOAT = 0x8DF1; | |
2794 | |
2795 @DomName('WebGLRenderingContextBase.MEDIUM_INT') | |
2796 @DocsEditable() | |
2797 @Experimental() // untriaged | |
2798 static const int MEDIUM_INT = 0x8DF4; | |
2799 | |
2800 @DomName('WebGLRenderingContextBase.MIRRORED_REPEAT') | |
2801 @DocsEditable() | |
2802 @Experimental() // untriaged | |
2803 static const int MIRRORED_REPEAT = 0x8370; | |
2804 | |
2805 @DomName('WebGLRenderingContextBase.NEAREST') | |
2806 @DocsEditable() | |
2807 @Experimental() // untriaged | |
2808 static const int NEAREST = 0x2600; | |
2809 | |
2810 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR') | |
2811 @DocsEditable() | |
2812 @Experimental() // untriaged | |
2813 static const int NEAREST_MIPMAP_LINEAR = 0x2702; | |
2814 | |
2815 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST') | |
2816 @DocsEditable() | |
2817 @Experimental() // untriaged | |
2818 static const int NEAREST_MIPMAP_NEAREST = 0x2700; | |
2819 | |
2820 @DomName('WebGLRenderingContextBase.NEVER') | |
2821 @DocsEditable() | |
2822 @Experimental() // untriaged | |
2823 static const int NEVER = 0x0200; | |
2824 | |
2825 @DomName('WebGLRenderingContextBase.NICEST') | |
2826 @DocsEditable() | |
2827 @Experimental() // untriaged | |
2828 static const int NICEST = 0x1102; | |
2829 | |
2830 @DomName('WebGLRenderingContextBase.NONE') | |
2831 @DocsEditable() | |
2832 @Experimental() // untriaged | |
2833 static const int NONE = 0; | |
2834 | |
2835 @DomName('WebGLRenderingContextBase.NOTEQUAL') | |
2836 @DocsEditable() | |
2837 @Experimental() // untriaged | |
2838 static const int NOTEQUAL = 0x0205; | |
2839 | |
2840 @DomName('WebGLRenderingContextBase.NO_ERROR') | |
2841 @DocsEditable() | |
2842 @Experimental() // untriaged | |
2843 static const int NO_ERROR = 0; | |
2844 | |
2845 @DomName('WebGLRenderingContextBase.ONE') | |
2846 @DocsEditable() | |
2847 @Experimental() // untriaged | |
2848 static const int ONE = 1; | |
2849 | |
2850 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA') | |
2851 @DocsEditable() | |
2852 @Experimental() // untriaged | |
2853 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
2854 | |
2855 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR') | |
2856 @DocsEditable() | |
2857 @Experimental() // untriaged | |
2858 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
2859 | |
2860 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA') | |
2861 @DocsEditable() | |
2862 @Experimental() // untriaged | |
2863 static const int ONE_MINUS_DST_ALPHA = 0x0305; | |
2864 | |
2865 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_COLOR') | |
2866 @DocsEditable() | |
2867 @Experimental() // untriaged | |
2868 static const int ONE_MINUS_DST_COLOR = 0x0307; | |
2869 | |
2870 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA') | |
2871 @DocsEditable() | |
2872 @Experimental() // untriaged | |
2873 static const int ONE_MINUS_SRC_ALPHA = 0x0303; | |
2874 | |
2875 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR') | |
2876 @DocsEditable() | |
2877 @Experimental() // untriaged | |
2878 static const int ONE_MINUS_SRC_COLOR = 0x0301; | |
2879 | |
2880 @DomName('WebGLRenderingContextBase.OUT_OF_MEMORY') | |
2881 @DocsEditable() | |
2882 @Experimental() // untriaged | |
2883 static const int OUT_OF_MEMORY = 0x0505; | |
2884 | |
2885 @DomName('WebGLRenderingContextBase.PACK_ALIGNMENT') | |
2886 @DocsEditable() | |
2887 @Experimental() // untriaged | |
2888 static const int PACK_ALIGNMENT = 0x0D05; | |
2889 | |
2890 @DomName('WebGLRenderingContextBase.POINTS') | |
2891 @DocsEditable() | |
2892 @Experimental() // untriaged | |
2893 static const int POINTS = 0x0000; | |
2894 | |
2895 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR') | |
2896 @DocsEditable() | |
2897 @Experimental() // untriaged | |
2898 static const int POLYGON_OFFSET_FACTOR = 0x8038; | |
2899 | |
2900 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FILL') | |
2901 @DocsEditable() | |
2902 @Experimental() // untriaged | |
2903 static const int POLYGON_OFFSET_FILL = 0x8037; | |
2904 | |
2905 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_UNITS') | |
2906 @DocsEditable() | |
2907 @Experimental() // untriaged | |
2908 static const int POLYGON_OFFSET_UNITS = 0x2A00; | |
2909 | |
2910 @DomName('WebGLRenderingContextBase.RED_BITS') | |
2911 @DocsEditable() | |
2912 @Experimental() // untriaged | |
2913 static const int RED_BITS = 0x0D52; | |
2914 | |
2915 @DomName('WebGLRenderingContextBase.RENDERBUFFER') | |
2916 @DocsEditable() | |
2917 @Experimental() // untriaged | |
2918 static const int RENDERBUFFER = 0x8D41; | |
2919 | |
2920 @DomName('WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE') | |
2921 @DocsEditable() | |
2922 @Experimental() // untriaged | |
2923 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
2924 | |
2925 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BINDING') | |
2926 @DocsEditable() | |
2927 @Experimental() // untriaged | |
2928 static const int RENDERBUFFER_BINDING = 0x8CA7; | |
2929 | |
2930 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE') | |
2931 @DocsEditable() | |
2932 @Experimental() // untriaged | |
2933 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
2934 | |
2935 @DomName('WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE') | |
2936 @DocsEditable() | |
2937 @Experimental() // untriaged | |
2938 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
2939 | |
2940 @DomName('WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE') | |
2941 @DocsEditable() | |
2942 @Experimental() // untriaged | |
2943 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
2944 | |
2945 @DomName('WebGLRenderingContextBase.RENDERBUFFER_HEIGHT') | |
2946 @DocsEditable() | |
2947 @Experimental() // untriaged | |
2948 static const int RENDERBUFFER_HEIGHT = 0x8D43; | |
2949 | |
2950 @DomName('WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT') | |
2951 @DocsEditable() | |
2952 @Experimental() // untriaged | |
2953 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
2954 | |
2955 @DomName('WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE') | |
2956 @DocsEditable() | |
2957 @Experimental() // untriaged | |
2958 static const int RENDERBUFFER_RED_SIZE = 0x8D50; | |
2959 | |
2960 @DomName('WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE') | |
2961 @DocsEditable() | |
2962 @Experimental() // untriaged | |
2963 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
2964 | |
2965 @DomName('WebGLRenderingContextBase.RENDERBUFFER_WIDTH') | |
2966 @DocsEditable() | |
2967 @Experimental() // untriaged | |
2968 static const int RENDERBUFFER_WIDTH = 0x8D42; | |
2969 | |
2970 @DomName('WebGLRenderingContextBase.RENDERER') | |
2971 @DocsEditable() | |
2972 @Experimental() // untriaged | |
2973 static const int RENDERER = 0x1F01; | |
2974 | |
2975 @DomName('WebGLRenderingContextBase.REPEAT') | |
2976 @DocsEditable() | |
2977 @Experimental() // untriaged | |
2978 static const int REPEAT = 0x2901; | |
2979 | |
2980 @DomName('WebGLRenderingContextBase.REPLACE') | |
2981 @DocsEditable() | |
2982 @Experimental() // untriaged | |
2983 static const int REPLACE = 0x1E01; | |
2984 | |
2985 @DomName('WebGLRenderingContextBase.RGB') | |
2986 @DocsEditable() | |
2987 @Experimental() // untriaged | |
2988 static const int RGB = 0x1907; | |
2989 | |
2990 @DomName('WebGLRenderingContextBase.RGB565') | |
2991 @DocsEditable() | |
2992 @Experimental() // untriaged | |
2993 static const int RGB565 = 0x8D62; | |
2994 | |
2995 @DomName('WebGLRenderingContextBase.RGB5_A1') | |
2996 @DocsEditable() | |
2997 @Experimental() // untriaged | |
2998 static const int RGB5_A1 = 0x8057; | |
2999 | |
3000 @DomName('WebGLRenderingContextBase.RGBA') | |
3001 @DocsEditable() | |
3002 @Experimental() // untriaged | |
3003 static const int RGBA = 0x1908; | |
3004 | |
3005 @DomName('WebGLRenderingContextBase.RGBA4') | |
3006 @DocsEditable() | |
3007 @Experimental() // untriaged | |
3008 static const int RGBA4 = 0x8056; | |
3009 | |
3010 @DomName('WebGLRenderingContextBase.SAMPLER_2D') | |
3011 @DocsEditable() | |
3012 @Experimental() // untriaged | |
3013 static const int SAMPLER_2D = 0x8B5E; | |
3014 | |
3015 @DomName('WebGLRenderingContextBase.SAMPLER_CUBE') | |
3016 @DocsEditable() | |
3017 @Experimental() // untriaged | |
3018 static const int SAMPLER_CUBE = 0x8B60; | |
3019 | |
3020 @DomName('WebGLRenderingContextBase.SAMPLES') | |
3021 @DocsEditable() | |
3022 @Experimental() // untriaged | |
3023 static const int SAMPLES = 0x80A9; | |
3024 | |
3025 @DomName('WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE') | |
3026 @DocsEditable() | |
3027 @Experimental() // untriaged | |
3028 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
3029 | |
3030 @DomName('WebGLRenderingContextBase.SAMPLE_BUFFERS') | |
3031 @DocsEditable() | |
3032 @Experimental() // untriaged | |
3033 static const int SAMPLE_BUFFERS = 0x80A8; | |
3034 | |
3035 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE') | |
3036 @DocsEditable() | |
3037 @Experimental() // untriaged | |
3038 static const int SAMPLE_COVERAGE = 0x80A0; | |
3039 | |
3040 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT') | |
3041 @DocsEditable() | |
3042 @Experimental() // untriaged | |
3043 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
3044 | |
3045 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE') | |
3046 @DocsEditable() | |
3047 @Experimental() // untriaged | |
3048 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
3049 | |
3050 @DomName('WebGLRenderingContextBase.SCISSOR_BOX') | |
3051 @DocsEditable() | |
3052 @Experimental() // untriaged | |
3053 static const int SCISSOR_BOX = 0x0C10; | |
3054 | |
3055 @DomName('WebGLRenderingContextBase.SCISSOR_TEST') | |
3056 @DocsEditable() | |
3057 @Experimental() // untriaged | |
3058 static const int SCISSOR_TEST = 0x0C11; | |
3059 | |
3060 @DomName('WebGLRenderingContextBase.SHADER_TYPE') | |
3061 @DocsEditable() | |
3062 @Experimental() // untriaged | |
3063 static const int SHADER_TYPE = 0x8B4F; | |
3064 | |
3065 @DomName('WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION') | |
3066 @DocsEditable() | |
3067 @Experimental() // untriaged | |
3068 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
3069 | |
3070 @DomName('WebGLRenderingContextBase.SHORT') | |
3071 @DocsEditable() | |
3072 @Experimental() // untriaged | |
3073 static const int SHORT = 0x1402; | |
3074 | |
3075 @DomName('WebGLRenderingContextBase.SRC_ALPHA') | |
3076 @DocsEditable() | |
3077 @Experimental() // untriaged | |
3078 static const int SRC_ALPHA = 0x0302; | |
3079 | |
3080 @DomName('WebGLRenderingContextBase.SRC_ALPHA_SATURATE') | |
3081 @DocsEditable() | |
3082 @Experimental() // untriaged | |
3083 static const int SRC_ALPHA_SATURATE = 0x0308; | |
3084 | |
3085 @DomName('WebGLRenderingContextBase.SRC_COLOR') | |
3086 @DocsEditable() | |
3087 @Experimental() // untriaged | |
3088 static const int SRC_COLOR = 0x0300; | |
3089 | |
3090 @DomName('WebGLRenderingContextBase.STATIC_DRAW') | |
3091 @DocsEditable() | |
3092 @Experimental() // untriaged | |
3093 static const int STATIC_DRAW = 0x88E4; | |
3094 | |
3095 @DomName('WebGLRenderingContextBase.STENCIL_ATTACHMENT') | |
3096 @DocsEditable() | |
3097 @Experimental() // untriaged | |
3098 static const int STENCIL_ATTACHMENT = 0x8D20; | |
3099 | |
3100 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FAIL') | |
3101 @DocsEditable() | |
3102 @Experimental() // untriaged | |
3103 static const int STENCIL_BACK_FAIL = 0x8801; | |
3104 | |
3105 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FUNC') | |
3106 @DocsEditable() | |
3107 @Experimental() // untriaged | |
3108 static const int STENCIL_BACK_FUNC = 0x8800; | |
3109 | |
3110 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL') | |
3111 @DocsEditable() | |
3112 @Experimental() // untriaged | |
3113 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
3114 | |
3115 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS') | |
3116 @DocsEditable() | |
3117 @Experimental() // untriaged | |
3118 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
3119 | |
3120 @DomName('WebGLRenderingContextBase.STENCIL_BACK_REF') | |
3121 @DocsEditable() | |
3122 @Experimental() // untriaged | |
3123 static const int STENCIL_BACK_REF = 0x8CA3; | |
3124 | |
3125 @DomName('WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK') | |
3126 @DocsEditable() | |
3127 @Experimental() // untriaged | |
3128 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
3129 | |
3130 @DomName('WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK') | |
3131 @DocsEditable() | |
3132 @Experimental() // untriaged | |
3133 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
3134 | |
3135 @DomName('WebGLRenderingContextBase.STENCIL_BITS') | |
3136 @DocsEditable() | |
3137 @Experimental() // untriaged | |
3138 static const int STENCIL_BITS = 0x0D57; | |
3139 | |
3140 @DomName('WebGLRenderingContextBase.STENCIL_BUFFER_BIT') | |
3141 @DocsEditable() | |
3142 @Experimental() // untriaged | |
3143 static const int STENCIL_BUFFER_BIT = 0x00000400; | |
3144 | |
3145 @DomName('WebGLRenderingContextBase.STENCIL_CLEAR_VALUE') | |
3146 @DocsEditable() | |
3147 @Experimental() // untriaged | |
3148 static const int STENCIL_CLEAR_VALUE = 0x0B91; | |
3149 | |
3150 @DomName('WebGLRenderingContextBase.STENCIL_FAIL') | |
3151 @DocsEditable() | |
3152 @Experimental() // untriaged | |
3153 static const int STENCIL_FAIL = 0x0B94; | |
3154 | |
3155 @DomName('WebGLRenderingContextBase.STENCIL_FUNC') | |
3156 @DocsEditable() | |
3157 @Experimental() // untriaged | |
3158 static const int STENCIL_FUNC = 0x0B92; | |
3159 | |
3160 @DomName('WebGLRenderingContextBase.STENCIL_INDEX') | |
3161 @DocsEditable() | |
3162 @Experimental() // untriaged | |
3163 static const int STENCIL_INDEX = 0x1901; | |
3164 | |
3165 @DomName('WebGLRenderingContextBase.STENCIL_INDEX8') | |
3166 @DocsEditable() | |
3167 @Experimental() // untriaged | |
3168 static const int STENCIL_INDEX8 = 0x8D48; | |
3169 | |
3170 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL') | |
3171 @DocsEditable() | |
3172 @Experimental() // untriaged | |
3173 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
3174 | |
3175 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS') | |
3176 @DocsEditable() | |
3177 @Experimental() // untriaged | |
3178 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
3179 | |
3180 @DomName('WebGLRenderingContextBase.STENCIL_REF') | |
3181 @DocsEditable() | |
3182 @Experimental() // untriaged | |
3183 static const int STENCIL_REF = 0x0B97; | |
3184 | |
3185 @DomName('WebGLRenderingContextBase.STENCIL_TEST') | |
3186 @DocsEditable() | |
3187 @Experimental() // untriaged | |
3188 static const int STENCIL_TEST = 0x0B90; | |
3189 | |
3190 @DomName('WebGLRenderingContextBase.STENCIL_VALUE_MASK') | |
3191 @DocsEditable() | |
3192 @Experimental() // untriaged | |
3193 static const int STENCIL_VALUE_MASK = 0x0B93; | |
3194 | |
3195 @DomName('WebGLRenderingContextBase.STENCIL_WRITEMASK') | |
3196 @DocsEditable() | |
3197 @Experimental() // untriaged | |
3198 static const int STENCIL_WRITEMASK = 0x0B98; | |
3199 | |
3200 @DomName('WebGLRenderingContextBase.STREAM_DRAW') | |
3201 @DocsEditable() | |
3202 @Experimental() // untriaged | |
3203 static const int STREAM_DRAW = 0x88E0; | |
3204 | |
3205 @DomName('WebGLRenderingContextBase.SUBPIXEL_BITS') | |
3206 @DocsEditable() | |
3207 @Experimental() // untriaged | |
3208 static const int SUBPIXEL_BITS = 0x0D50; | |
3209 | |
3210 @DomName('WebGLRenderingContextBase.TEXTURE') | |
3211 @DocsEditable() | |
3212 @Experimental() // untriaged | |
3213 static const int TEXTURE = 0x1702; | |
3214 | |
3215 @DomName('WebGLRenderingContextBase.TEXTURE0') | |
3216 @DocsEditable() | |
3217 @Experimental() // untriaged | |
3218 static const int TEXTURE0 = 0x84C0; | |
3219 | |
3220 @DomName('WebGLRenderingContextBase.TEXTURE1') | |
3221 @DocsEditable() | |
3222 @Experimental() // untriaged | |
3223 static const int TEXTURE1 = 0x84C1; | |
3224 | |
3225 @DomName('WebGLRenderingContextBase.TEXTURE10') | |
3226 @DocsEditable() | |
3227 @Experimental() // untriaged | |
3228 static const int TEXTURE10 = 0x84CA; | |
3229 | |
3230 @DomName('WebGLRenderingContextBase.TEXTURE11') | |
3231 @DocsEditable() | |
3232 @Experimental() // untriaged | |
3233 static const int TEXTURE11 = 0x84CB; | |
3234 | |
3235 @DomName('WebGLRenderingContextBase.TEXTURE12') | |
3236 @DocsEditable() | |
3237 @Experimental() // untriaged | |
3238 static const int TEXTURE12 = 0x84CC; | |
3239 | |
3240 @DomName('WebGLRenderingContextBase.TEXTURE13') | |
3241 @DocsEditable() | |
3242 @Experimental() // untriaged | |
3243 static const int TEXTURE13 = 0x84CD; | |
3244 | |
3245 @DomName('WebGLRenderingContextBase.TEXTURE14') | |
3246 @DocsEditable() | |
3247 @Experimental() // untriaged | |
3248 static const int TEXTURE14 = 0x84CE; | |
3249 | |
3250 @DomName('WebGLRenderingContextBase.TEXTURE15') | |
3251 @DocsEditable() | |
3252 @Experimental() // untriaged | |
3253 static const int TEXTURE15 = 0x84CF; | |
3254 | |
3255 @DomName('WebGLRenderingContextBase.TEXTURE16') | |
3256 @DocsEditable() | |
3257 @Experimental() // untriaged | |
3258 static const int TEXTURE16 = 0x84D0; | |
3259 | |
3260 @DomName('WebGLRenderingContextBase.TEXTURE17') | |
3261 @DocsEditable() | |
3262 @Experimental() // untriaged | |
3263 static const int TEXTURE17 = 0x84D1; | |
3264 | |
3265 @DomName('WebGLRenderingContextBase.TEXTURE18') | |
3266 @DocsEditable() | |
3267 @Experimental() // untriaged | |
3268 static const int TEXTURE18 = 0x84D2; | |
3269 | |
3270 @DomName('WebGLRenderingContextBase.TEXTURE19') | |
3271 @DocsEditable() | |
3272 @Experimental() // untriaged | |
3273 static const int TEXTURE19 = 0x84D3; | |
3274 | |
3275 @DomName('WebGLRenderingContextBase.TEXTURE2') | |
3276 @DocsEditable() | |
3277 @Experimental() // untriaged | |
3278 static const int TEXTURE2 = 0x84C2; | |
3279 | |
3280 @DomName('WebGLRenderingContextBase.TEXTURE20') | |
3281 @DocsEditable() | |
3282 @Experimental() // untriaged | |
3283 static const int TEXTURE20 = 0x84D4; | |
3284 | |
3285 @DomName('WebGLRenderingContextBase.TEXTURE21') | |
3286 @DocsEditable() | |
3287 @Experimental() // untriaged | |
3288 static const int TEXTURE21 = 0x84D5; | |
3289 | |
3290 @DomName('WebGLRenderingContextBase.TEXTURE22') | |
3291 @DocsEditable() | |
3292 @Experimental() // untriaged | |
3293 static const int TEXTURE22 = 0x84D6; | |
3294 | |
3295 @DomName('WebGLRenderingContextBase.TEXTURE23') | |
3296 @DocsEditable() | |
3297 @Experimental() // untriaged | |
3298 static const int TEXTURE23 = 0x84D7; | |
3299 | |
3300 @DomName('WebGLRenderingContextBase.TEXTURE24') | |
3301 @DocsEditable() | |
3302 @Experimental() // untriaged | |
3303 static const int TEXTURE24 = 0x84D8; | |
3304 | |
3305 @DomName('WebGLRenderingContextBase.TEXTURE25') | |
3306 @DocsEditable() | |
3307 @Experimental() // untriaged | |
3308 static const int TEXTURE25 = 0x84D9; | |
3309 | |
3310 @DomName('WebGLRenderingContextBase.TEXTURE26') | |
3311 @DocsEditable() | |
3312 @Experimental() // untriaged | |
3313 static const int TEXTURE26 = 0x84DA; | |
3314 | |
3315 @DomName('WebGLRenderingContextBase.TEXTURE27') | |
3316 @DocsEditable() | |
3317 @Experimental() // untriaged | |
3318 static const int TEXTURE27 = 0x84DB; | |
3319 | |
3320 @DomName('WebGLRenderingContextBase.TEXTURE28') | |
3321 @DocsEditable() | |
3322 @Experimental() // untriaged | |
3323 static const int TEXTURE28 = 0x84DC; | |
3324 | |
3325 @DomName('WebGLRenderingContextBase.TEXTURE29') | |
3326 @DocsEditable() | |
3327 @Experimental() // untriaged | |
3328 static const int TEXTURE29 = 0x84DD; | |
3329 | |
3330 @DomName('WebGLRenderingContextBase.TEXTURE3') | |
3331 @DocsEditable() | |
3332 @Experimental() // untriaged | |
3333 static const int TEXTURE3 = 0x84C3; | |
3334 | |
3335 @DomName('WebGLRenderingContextBase.TEXTURE30') | |
3336 @DocsEditable() | |
3337 @Experimental() // untriaged | |
3338 static const int TEXTURE30 = 0x84DE; | |
3339 | |
3340 @DomName('WebGLRenderingContextBase.TEXTURE31') | |
3341 @DocsEditable() | |
3342 @Experimental() // untriaged | |
3343 static const int TEXTURE31 = 0x84DF; | |
3344 | |
3345 @DomName('WebGLRenderingContextBase.TEXTURE4') | |
3346 @DocsEditable() | |
3347 @Experimental() // untriaged | |
3348 static const int TEXTURE4 = 0x84C4; | |
3349 | |
3350 @DomName('WebGLRenderingContextBase.TEXTURE5') | |
3351 @DocsEditable() | |
3352 @Experimental() // untriaged | |
3353 static const int TEXTURE5 = 0x84C5; | |
3354 | |
3355 @DomName('WebGLRenderingContextBase.TEXTURE6') | |
3356 @DocsEditable() | |
3357 @Experimental() // untriaged | |
3358 static const int TEXTURE6 = 0x84C6; | |
3359 | |
3360 @DomName('WebGLRenderingContextBase.TEXTURE7') | |
3361 @DocsEditable() | |
3362 @Experimental() // untriaged | |
3363 static const int TEXTURE7 = 0x84C7; | |
3364 | |
3365 @DomName('WebGLRenderingContextBase.TEXTURE8') | |
3366 @DocsEditable() | |
3367 @Experimental() // untriaged | |
3368 static const int TEXTURE8 = 0x84C8; | |
3369 | |
3370 @DomName('WebGLRenderingContextBase.TEXTURE9') | |
3371 @DocsEditable() | |
3372 @Experimental() // untriaged | |
3373 static const int TEXTURE9 = 0x84C9; | |
3374 | |
3375 @DomName('WebGLRenderingContextBase.TEXTURE_2D') | |
3376 @DocsEditable() | |
3377 @Experimental() // untriaged | |
3378 static const int TEXTURE_2D = 0x0DE1; | |
3379 | |
3380 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_2D') | |
3381 @DocsEditable() | |
3382 @Experimental() // untriaged | |
3383 static const int TEXTURE_BINDING_2D = 0x8069; | |
3384 | |
3385 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP') | |
3386 @DocsEditable() | |
3387 @Experimental() // untriaged | |
3388 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
3389 | |
3390 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP') | |
3391 @DocsEditable() | |
3392 @Experimental() // untriaged | |
3393 static const int TEXTURE_CUBE_MAP = 0x8513; | |
3394 | |
3395 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X') | |
3396 @DocsEditable() | |
3397 @Experimental() // untriaged | |
3398 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
3399 | |
3400 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y') | |
3401 @DocsEditable() | |
3402 @Experimental() // untriaged | |
3403 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
3404 | |
3405 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z') | |
3406 @DocsEditable() | |
3407 @Experimental() // untriaged | |
3408 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
3409 | |
3410 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X') | |
3411 @DocsEditable() | |
3412 @Experimental() // untriaged | |
3413 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
3414 | |
3415 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y') | |
3416 @DocsEditable() | |
3417 @Experimental() // untriaged | |
3418 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
3419 | |
3420 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z') | |
3421 @DocsEditable() | |
3422 @Experimental() // untriaged | |
3423 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
3424 | |
3425 @DomName('WebGLRenderingContextBase.TEXTURE_MAG_FILTER') | |
3426 @DocsEditable() | |
3427 @Experimental() // untriaged | |
3428 static const int TEXTURE_MAG_FILTER = 0x2800; | |
3429 | |
3430 @DomName('WebGLRenderingContextBase.TEXTURE_MIN_FILTER') | |
3431 @DocsEditable() | |
3432 @Experimental() // untriaged | |
3433 static const int TEXTURE_MIN_FILTER = 0x2801; | |
3434 | |
3435 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_S') | |
3436 @DocsEditable() | |
3437 @Experimental() // untriaged | |
3438 static const int TEXTURE_WRAP_S = 0x2802; | |
3439 | |
3440 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_T') | |
3441 @DocsEditable() | |
3442 @Experimental() // untriaged | |
3443 static const int TEXTURE_WRAP_T = 0x2803; | |
3444 | |
3445 @DomName('WebGLRenderingContextBase.TRIANGLES') | |
3446 @DocsEditable() | |
3447 @Experimental() // untriaged | |
3448 static const int TRIANGLES = 0x0004; | |
3449 | |
3450 @DomName('WebGLRenderingContextBase.TRIANGLE_FAN') | |
3451 @DocsEditable() | |
3452 @Experimental() // untriaged | |
3453 static const int TRIANGLE_FAN = 0x0006; | |
3454 | |
3455 @DomName('WebGLRenderingContextBase.TRIANGLE_STRIP') | |
3456 @DocsEditable() | |
3457 @Experimental() // untriaged | |
3458 static const int TRIANGLE_STRIP = 0x0005; | |
3459 | |
3460 @DomName('WebGLRenderingContextBase.UNPACK_ALIGNMENT') | |
3461 @DocsEditable() | |
3462 @Experimental() // untriaged | |
3463 static const int UNPACK_ALIGNMENT = 0x0CF5; | |
3464 | |
3465 @DomName('WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL') | |
3466 @DocsEditable() | |
3467 @Experimental() // untriaged | |
3468 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
3469 | |
3470 @DomName('WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL') | |
3471 @DocsEditable() | |
3472 @Experimental() // untriaged | |
3473 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
3474 | |
3475 @DomName('WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL') | |
3476 @DocsEditable() | |
3477 @Experimental() // untriaged | |
3478 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
3479 | |
3480 @DomName('WebGLRenderingContextBase.UNSIGNED_BYTE') | |
3481 @DocsEditable() | |
3482 @Experimental() // untriaged | |
3483 static const int UNSIGNED_BYTE = 0x1401; | |
3484 | |
3485 @DomName('WebGLRenderingContextBase.UNSIGNED_INT') | |
3486 @DocsEditable() | |
3487 @Experimental() // untriaged | |
3488 static const int UNSIGNED_INT = 0x1405; | |
3489 | |
3490 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT') | |
3491 @DocsEditable() | |
3492 @Experimental() // untriaged | |
3493 static const int UNSIGNED_SHORT = 0x1403; | |
3494 | |
3495 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4') | |
3496 @DocsEditable() | |
3497 @Experimental() // untriaged | |
3498 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
3499 | |
3500 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1') | |
3501 @DocsEditable() | |
3502 @Experimental() // untriaged | |
3503 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
3504 | |
3505 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5') | |
3506 @DocsEditable() | |
3507 @Experimental() // untriaged | |
3508 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
3509 | |
3510 @DomName('WebGLRenderingContextBase.VALIDATE_STATUS') | |
3511 @DocsEditable() | |
3512 @Experimental() // untriaged | |
3513 static const int VALIDATE_STATUS = 0x8B83; | |
3514 | |
3515 @DomName('WebGLRenderingContextBase.VENDOR') | |
3516 @DocsEditable() | |
3517 @Experimental() // untriaged | |
3518 static const int VENDOR = 0x1F00; | |
3519 | |
3520 @DomName('WebGLRenderingContextBase.VERSION') | |
3521 @DocsEditable() | |
3522 @Experimental() // untriaged | |
3523 static const int VERSION = 0x1F02; | |
3524 | |
3525 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') | |
3526 @DocsEditable() | |
3527 @Experimental() // untriaged | |
3528 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
3529 | |
3530 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED') | |
3531 @DocsEditable() | |
3532 @Experimental() // untriaged | |
3533 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
3534 | |
3535 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED') | |
3536 @DocsEditable() | |
3537 @Experimental() // untriaged | |
3538 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
3539 | |
3540 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER') | |
3541 @DocsEditable() | |
3542 @Experimental() // untriaged | |
3543 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
3544 | |
3545 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE') | |
3546 @DocsEditable() | |
3547 @Experimental() // untriaged | |
3548 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
3549 | |
3550 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE') | |
3551 @DocsEditable() | |
3552 @Experimental() // untriaged | |
3553 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
3554 | |
3555 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE') | |
3556 @DocsEditable() | |
3557 @Experimental() // untriaged | |
3558 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
3559 | |
3560 @DomName('WebGLRenderingContextBase.VERTEX_SHADER') | |
3561 @DocsEditable() | |
3562 @Experimental() // untriaged | |
3563 static const int VERTEX_SHADER = 0x8B31; | |
3564 | |
3565 @DomName('WebGLRenderingContextBase.VIEWPORT') | |
3566 @DocsEditable() | |
3567 @Experimental() // untriaged | |
3568 static const int VIEWPORT = 0x0BA2; | |
3569 | |
3570 @DomName('WebGLRenderingContextBase.ZERO') | |
3571 @DocsEditable() | |
3572 @Experimental() // untriaged | |
3573 static const int ZERO = 0; | |
3574 | |
3575 final CanvasElement canvas; | |
3576 | |
3577 final int drawingBufferHeight; | |
3578 | |
3579 final int drawingBufferWidth; | |
3580 | |
3581 void activeTexture(int texture); | |
3582 | |
3583 void attachShader(Program program, Shader shader); | |
3584 | |
3585 void bindAttribLocation(Program program, int index, String name); | |
3586 | |
3587 void bindBuffer(int target, Buffer buffer); | |
3588 | |
3589 void bindFramebuffer(int target, Framebuffer framebuffer); | |
3590 | |
3591 void bindRenderbuffer(int target, Renderbuffer renderbuffer); | |
3592 | |
3593 void bindTexture(int target, Texture texture); | |
3594 | |
3595 void blendColor(num red, num green, num blue, num alpha); | |
3596 | |
3597 void blendEquation(int mode); | |
3598 | |
3599 void blendEquationSeparate(int modeRGB, int modeAlpha); | |
3600 | |
3601 void blendFunc(int sfactor, int dfactor); | |
3602 | |
3603 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); | |
3604 | |
3605 void bufferByteData(int target, ByteBuffer data, int usage); | |
3606 | |
3607 void bufferData(int target, data_OR_size, int usage); | |
3608 | |
3609 void bufferDataTyped(int target, TypedData data, int usage); | |
3610 | |
3611 void bufferSubByteData(int target, int offset, ByteBuffer data); | |
3612 | |
3613 void bufferSubData(int target, int offset, data); | |
3614 | |
3615 void bufferSubDataTyped(int target, int offset, TypedData data); | |
3616 | |
3617 int checkFramebufferStatus(int target); | |
3618 | |
3619 void clear(int mask); | |
3620 | |
3621 void clearColor(num red, num green, num blue, num alpha); | |
3622 | |
3623 void clearDepth(num depth); | |
3624 | |
3625 void clearStencil(int s); | |
3626 | |
3627 void colorMask(bool red, bool green, bool blue, bool alpha); | |
3628 | |
3629 void compileShader(Shader shader); | |
3630 | |
3631 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, TypedData data); | |
3632 | |
3633 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, TypedData data); | |
3634 | |
3635 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); | |
3636 | |
3637 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); | |
3638 | |
3639 Buffer createBuffer(); | |
3640 | |
3641 Framebuffer createFramebuffer(); | |
3642 | |
3643 Program createProgram(); | |
3644 | |
3645 Renderbuffer createRenderbuffer(); | |
3646 | |
3647 Shader createShader(int type); | |
3648 | |
3649 Texture createTexture(); | |
3650 | |
3651 void cullFace(int mode); | |
3652 | |
3653 void deleteBuffer(Buffer buffer); | |
3654 | |
3655 void deleteFramebuffer(Framebuffer framebuffer); | |
3656 | |
3657 void deleteProgram(Program program); | |
3658 | |
3659 void deleteRenderbuffer(Renderbuffer renderbuffer); | |
3660 | |
3661 void deleteShader(Shader shader); | |
3662 | |
3663 void deleteTexture(Texture texture); | |
3664 | |
3665 void depthFunc(int func); | |
3666 | |
3667 void depthMask(bool flag); | |
3668 | |
3669 void depthRange(num zNear, num zFar); | |
3670 | |
3671 void detachShader(Program program, Shader shader); | |
3672 | |
3673 void disable(int cap); | |
3674 | |
3675 void disableVertexAttribArray(int index); | |
3676 | |
3677 void drawArrays(int mode, int first, int count); | |
3678 | |
3679 void drawElements(int mode, int count, int type, int offset); | |
3680 | |
3681 void enable(int cap); | |
3682 | |
3683 void enableVertexAttribArray(int index); | |
3684 | |
3685 void finish(); | |
3686 | |
3687 void flush(); | |
3688 | |
3689 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer); | |
3690 | |
3691 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level); | |
3692 | |
3693 void frontFace(int mode); | |
3694 | |
3695 void generateMipmap(int target); | |
3696 | |
3697 ActiveInfo getActiveAttrib(Program program, int index); | |
3698 | |
3699 ActiveInfo getActiveUniform(Program program, int index); | |
3700 | |
3701 void getAttachedShaders(Program program); | |
3702 | |
3703 int getAttribLocation(Program program, String name); | |
3704 | |
3705 Object getBufferParameter(int target, int pname); | |
3706 | |
3707 ContextAttributes getContextAttributes(); | |
3708 | |
3709 int getError(); | |
3710 | |
3711 Object getExtension(String name); | |
3712 | |
3713 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
); | |
3714 | |
3715 Object getParameter(int pname); | |
3716 | |
3717 String getProgramInfoLog(Program program); | |
3718 | |
3719 Object getProgramParameter(Program program, int pname); | |
3720 | |
3721 Object getRenderbufferParameter(int target, int pname); | |
3722 | |
3723 String getShaderInfoLog(Shader shader); | |
3724 | |
3725 Object getShaderParameter(Shader shader, int pname); | |
3726 | |
3727 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe); | |
3728 | |
3729 String getShaderSource(Shader shader); | |
3730 | |
3731 List<String> getSupportedExtensions(); | |
3732 | |
3733 Object getTexParameter(int target, int pname); | |
3734 | |
3735 Object getUniform(Program program, UniformLocation location); | |
3736 | |
3737 UniformLocation getUniformLocation(Program program, String name); | |
3738 | |
3739 Object getVertexAttrib(int index, int pname); | |
3740 | |
3741 int getVertexAttribOffset(int index, int pname); | |
3742 | |
3743 void hint(int target, int mode); | |
3744 | |
3745 bool isBuffer(Buffer buffer); | |
3746 | |
3747 bool isContextLost(); | |
3748 | |
3749 bool isEnabled(int cap); | |
3750 | |
3751 bool isFramebuffer(Framebuffer framebuffer); | |
3752 | |
3753 bool isProgram(Program program); | |
3754 | |
3755 bool isRenderbuffer(Renderbuffer renderbuffer); | |
3756 | |
3757 bool isShader(Shader shader); | |
3758 | |
3759 bool isTexture(Texture texture); | |
3760 | |
3761 void lineWidth(num width); | |
3762 | |
3763 void linkProgram(Program program); | |
3764 | |
3765 void pixelStorei(int pname, int param); | |
3766 | |
3767 void polygonOffset(num factor, num units); | |
3768 | |
3769 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels); | |
3770 | |
3771 void renderbufferStorage(int target, int internalformat, int width, int height
); | |
3772 | |
3773 void sampleCoverage(num value, bool invert); | |
3774 | |
3775 void scissor(int x, int y, int width, int height); | |
3776 | |
3777 void shaderSource(Shader shader, String string); | |
3778 | |
3779 void stencilFunc(int func, int ref, int mask); | |
3780 | |
3781 void stencilFuncSeparate(int face, int func, int ref, int mask); | |
3782 | |
3783 void stencilMask(int mask); | |
3784 | |
3785 void stencilMaskSeparate(int face, int mask); | |
3786 | |
3787 void stencilOp(int fail, int zfail, int zpass); | |
3788 | |
3789 void stencilOpSeparate(int face, int fail, int zfail, int zpass); | |
3790 | |
3791 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format,
int type, TypedData pixels]); | |
3792 | |
3793 void texImage2DCanvas(int target, int level, int internalformat, int format, i
nt type, CanvasElement canvas); | |
3794 | |
3795 void texImage2DImage(int target, int level, int internalformat, int format, in
t type, ImageElement image); | |
3796 | |
3797 void texImage2DImageData(int target, int level, int internalformat, int format
, int type, ImageData pixels); | |
3798 | |
3799 void texImage2DVideo(int target, int level, int internalformat, int format, in
t type, VideoElement video); | |
3800 | |
3801 void texParameterf(int target, int pname, num param); | |
3802 | |
3803 void texParameteri(int target, int pname, int param); | |
3804 | |
3805 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]); | |
3806 | |
3807 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int
format, int type, CanvasElement canvas); | |
3808 | |
3809 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f
ormat, int type, ImageElement image); | |
3810 | |
3811 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i
nt format, int type, ImageData pixels); | |
3812 | |
3813 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f
ormat, int type, VideoElement video); | |
3814 | |
3815 void uniform1f(UniformLocation location, num x); | |
3816 | |
3817 void uniform1fv(UniformLocation location, Float32List v); | |
3818 | |
3819 void uniform1i(UniformLocation location, int x); | |
3820 | |
3821 void uniform1iv(UniformLocation location, Int32List v); | |
3822 | |
3823 void uniform2f(UniformLocation location, num x, num y); | |
3824 | |
3825 void uniform2fv(UniformLocation location, Float32List v); | |
3826 | |
3827 void uniform2i(UniformLocation location, int x, int y); | |
3828 | |
3829 void uniform2iv(UniformLocation location, Int32List v); | |
3830 | |
3831 void uniform3f(UniformLocation location, num x, num y, num z); | |
3832 | |
3833 void uniform3fv(UniformLocation location, Float32List v); | |
3834 | |
3835 void uniform3i(UniformLocation location, int x, int y, int z); | |
3836 | |
3837 void uniform3iv(UniformLocation location, Int32List v); | |
3838 | |
3839 void uniform4f(UniformLocation location, num x, num y, num z, num w); | |
3840 | |
3841 void uniform4fv(UniformLocation location, Float32List v); | |
3842 | |
3843 void uniform4i(UniformLocation location, int x, int y, int z, int w); | |
3844 | |
3845 void uniform4iv(UniformLocation location, Int32List v); | |
3846 | |
3847 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar
ray); | |
3848 | |
3849 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar
ray); | |
3850 | |
3851 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar
ray); | |
3852 | |
3853 void useProgram(Program program); | |
3854 | |
3855 void validateProgram(Program program); | |
3856 | |
3857 void vertexAttrib1f(int indx, num x); | |
3858 | |
3859 void vertexAttrib1fv(int indx, Float32List values); | |
3860 | |
3861 void vertexAttrib2f(int indx, num x, num y); | |
3862 | |
3863 void vertexAttrib2fv(int indx, Float32List values); | |
3864 | |
3865 void vertexAttrib3f(int indx, num x, num y, num z); | |
3866 | |
3867 void vertexAttrib3fv(int indx, Float32List values); | |
3868 | |
3869 void vertexAttrib4f(int indx, num x, num y, num z, num w); | |
3870 | |
3871 void vertexAttrib4fv(int indx, Float32List values); | |
3872 | |
3873 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); | |
3874 | |
3875 void viewport(int x, int y, int width, int height); | |
3876 } | |
3877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3878 // for details. All rights reserved. Use of this source code is governed by a | |
3879 // BSD-style license that can be found in the LICENSE file. | 3270 // BSD-style license that can be found in the LICENSE file. |
3880 | 3271 |
3881 | 3272 |
3882 @DocsEditable() | 3273 @DocsEditable() |
3883 @DomName('WebGLShader') | 3274 @DomName('WebGLShader') |
3884 @Native("WebGLShader") | 3275 @Native("WebGLShader") |
3885 class Shader extends Interceptor { | 3276 class Shader extends Interceptor { |
3886 // To suppress missing implicit constructor warnings. | 3277 // To suppress missing implicit constructor warnings. |
3887 factory Shader._() { throw new UnsupportedError("Not supported"); } | 3278 factory Shader._() { throw new UnsupportedError("Not supported"); } |
3888 } | 3279 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3941 | 3332 |
3942 @DocsEditable() | 3333 @DocsEditable() |
3943 @DomName('WebGLVertexArrayObjectOES') | 3334 @DomName('WebGLVertexArrayObjectOES') |
3944 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3335 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
3945 @Experimental() // experimental | 3336 @Experimental() // experimental |
3946 @Native("WebGLVertexArrayObjectOES") | 3337 @Native("WebGLVertexArrayObjectOES") |
3947 class VertexArrayObject extends Interceptor { | 3338 class VertexArrayObject extends Interceptor { |
3948 // To suppress missing implicit constructor warnings. | 3339 // To suppress missing implicit constructor warnings. |
3949 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3340 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
3950 } | 3341 } |
| 3342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3343 // for details. All rights reserved. Use of this source code is governed by a |
| 3344 // BSD-style license that can be found in the LICENSE file. |
| 3345 |
| 3346 |
| 3347 @DocsEditable() |
| 3348 @DomName('WebGLRenderingContextBase') |
| 3349 @Experimental() // untriaged |
| 3350 abstract class _WebGLRenderingContextBase extends Interceptor { |
| 3351 // To suppress missing implicit constructor warnings. |
| 3352 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
| 3353 } |
OLD | NEW |