| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName WebGLRenderingContext | |
| 10 interface WebGLRenderingContext extends CanvasRenderingContext { | |
| 11 | |
| 12 static final int ACTIVE_ATTRIBUTES = 0x8B89; | |
| 13 | |
| 14 static final int ACTIVE_TEXTURE = 0x84E0; | |
| 15 | |
| 16 static final int ACTIVE_UNIFORMS = 0x8B86; | |
| 17 | |
| 18 static final int ALIASED_LINE_WIDTH_RANGE = 0x846E; | |
| 19 | |
| 20 static final int ALIASED_POINT_SIZE_RANGE = 0x846D; | |
| 21 | |
| 22 static final int ALPHA = 0x1906; | |
| 23 | |
| 24 static final int ALPHA_BITS = 0x0D55; | |
| 25 | |
| 26 static final int ALWAYS = 0x0207; | |
| 27 | |
| 28 static final int ARRAY_BUFFER = 0x8892; | |
| 29 | |
| 30 static final int ARRAY_BUFFER_BINDING = 0x8894; | |
| 31 | |
| 32 static final int ATTACHED_SHADERS = 0x8B85; | |
| 33 | |
| 34 static final int BACK = 0x0405; | |
| 35 | |
| 36 static final int BLEND = 0x0BE2; | |
| 37 | |
| 38 static final int BLEND_COLOR = 0x8005; | |
| 39 | |
| 40 static final int BLEND_DST_ALPHA = 0x80CA; | |
| 41 | |
| 42 static final int BLEND_DST_RGB = 0x80C8; | |
| 43 | |
| 44 static final int BLEND_EQUATION = 0x8009; | |
| 45 | |
| 46 static final int BLEND_EQUATION_ALPHA = 0x883D; | |
| 47 | |
| 48 static final int BLEND_EQUATION_RGB = 0x8009; | |
| 49 | |
| 50 static final int BLEND_SRC_ALPHA = 0x80CB; | |
| 51 | |
| 52 static final int BLEND_SRC_RGB = 0x80C9; | |
| 53 | |
| 54 static final int BLUE_BITS = 0x0D54; | |
| 55 | |
| 56 static final int BOOL = 0x8B56; | |
| 57 | |
| 58 static final int BOOL_VEC2 = 0x8B57; | |
| 59 | |
| 60 static final int BOOL_VEC3 = 0x8B58; | |
| 61 | |
| 62 static final int BOOL_VEC4 = 0x8B59; | |
| 63 | |
| 64 static final int BROWSER_DEFAULT_WEBGL = 0x9244; | |
| 65 | |
| 66 static final int BUFFER_SIZE = 0x8764; | |
| 67 | |
| 68 static final int BUFFER_USAGE = 0x8765; | |
| 69 | |
| 70 static final int BYTE = 0x1400; | |
| 71 | |
| 72 static final int CCW = 0x0901; | |
| 73 | |
| 74 static final int CLAMP_TO_EDGE = 0x812F; | |
| 75 | |
| 76 static final int COLOR_ATTACHMENT0 = 0x8CE0; | |
| 77 | |
| 78 static final int COLOR_BUFFER_BIT = 0x00004000; | |
| 79 | |
| 80 static final int COLOR_CLEAR_VALUE = 0x0C22; | |
| 81 | |
| 82 static final int COLOR_WRITEMASK = 0x0C23; | |
| 83 | |
| 84 static final int COMPILE_STATUS = 0x8B81; | |
| 85 | |
| 86 static final int COMPRESSED_TEXTURE_FORMATS = 0x86A3; | |
| 87 | |
| 88 static final int CONSTANT_ALPHA = 0x8003; | |
| 89 | |
| 90 static final int CONSTANT_COLOR = 0x8001; | |
| 91 | |
| 92 static final int CONTEXT_LOST_WEBGL = 0x9242; | |
| 93 | |
| 94 static final int CULL_FACE = 0x0B44; | |
| 95 | |
| 96 static final int CULL_FACE_MODE = 0x0B45; | |
| 97 | |
| 98 static final int CURRENT_PROGRAM = 0x8B8D; | |
| 99 | |
| 100 static final int CURRENT_VERTEX_ATTRIB = 0x8626; | |
| 101 | |
| 102 static final int CW = 0x0900; | |
| 103 | |
| 104 static final int DECR = 0x1E03; | |
| 105 | |
| 106 static final int DECR_WRAP = 0x8508; | |
| 107 | |
| 108 static final int DELETE_STATUS = 0x8B80; | |
| 109 | |
| 110 static final int DEPTH_ATTACHMENT = 0x8D00; | |
| 111 | |
| 112 static final int DEPTH_BITS = 0x0D56; | |
| 113 | |
| 114 static final int DEPTH_BUFFER_BIT = 0x00000100; | |
| 115 | |
| 116 static final int DEPTH_CLEAR_VALUE = 0x0B73; | |
| 117 | |
| 118 static final int DEPTH_COMPONENT = 0x1902; | |
| 119 | |
| 120 static final int DEPTH_COMPONENT16 = 0x81A5; | |
| 121 | |
| 122 static final int DEPTH_FUNC = 0x0B74; | |
| 123 | |
| 124 static final int DEPTH_RANGE = 0x0B70; | |
| 125 | |
| 126 static final int DEPTH_STENCIL = 0x84F9; | |
| 127 | |
| 128 static final int DEPTH_STENCIL_ATTACHMENT = 0x821A; | |
| 129 | |
| 130 static final int DEPTH_TEST = 0x0B71; | |
| 131 | |
| 132 static final int DEPTH_WRITEMASK = 0x0B72; | |
| 133 | |
| 134 static final int DITHER = 0x0BD0; | |
| 135 | |
| 136 static final int DONT_CARE = 0x1100; | |
| 137 | |
| 138 static final int DST_ALPHA = 0x0304; | |
| 139 | |
| 140 static final int DST_COLOR = 0x0306; | |
| 141 | |
| 142 static final int DYNAMIC_DRAW = 0x88E8; | |
| 143 | |
| 144 static final int ELEMENT_ARRAY_BUFFER = 0x8893; | |
| 145 | |
| 146 static final int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; | |
| 147 | |
| 148 static final int EQUAL = 0x0202; | |
| 149 | |
| 150 static final int FASTEST = 0x1101; | |
| 151 | |
| 152 static final int FLOAT = 0x1406; | |
| 153 | |
| 154 static final int FLOAT_MAT2 = 0x8B5A; | |
| 155 | |
| 156 static final int FLOAT_MAT3 = 0x8B5B; | |
| 157 | |
| 158 static final int FLOAT_MAT4 = 0x8B5C; | |
| 159 | |
| 160 static final int FLOAT_VEC2 = 0x8B50; | |
| 161 | |
| 162 static final int FLOAT_VEC3 = 0x8B51; | |
| 163 | |
| 164 static final int FLOAT_VEC4 = 0x8B52; | |
| 165 | |
| 166 static final int FRAGMENT_SHADER = 0x8B30; | |
| 167 | |
| 168 static final int FRAMEBUFFER = 0x8D40; | |
| 169 | |
| 170 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; | |
| 171 | |
| 172 static final int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; | |
| 173 | |
| 174 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; | |
| 175 | |
| 176 static final int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; | |
| 177 | |
| 178 static final int FRAMEBUFFER_BINDING = 0x8CA6; | |
| 179 | |
| 180 static final int FRAMEBUFFER_COMPLETE = 0x8CD5; | |
| 181 | |
| 182 static final int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; | |
| 183 | |
| 184 static final int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; | |
| 185 | |
| 186 static final int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; | |
| 187 | |
| 188 static final int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; | |
| 189 | |
| 190 static final int FRONT = 0x0404; | |
| 191 | |
| 192 static final int FRONT_AND_BACK = 0x0408; | |
| 193 | |
| 194 static final int FRONT_FACE = 0x0B46; | |
| 195 | |
| 196 static final int FUNC_ADD = 0x8006; | |
| 197 | |
| 198 static final int FUNC_REVERSE_SUBTRACT = 0x800B; | |
| 199 | |
| 200 static final int FUNC_SUBTRACT = 0x800A; | |
| 201 | |
| 202 static final int GENERATE_MIPMAP_HINT = 0x8192; | |
| 203 | |
| 204 static final int GEQUAL = 0x0206; | |
| 205 | |
| 206 static final int GREATER = 0x0204; | |
| 207 | |
| 208 static final int GREEN_BITS = 0x0D53; | |
| 209 | |
| 210 static final int HIGH_FLOAT = 0x8DF2; | |
| 211 | |
| 212 static final int HIGH_INT = 0x8DF5; | |
| 213 | |
| 214 static final int INCR = 0x1E02; | |
| 215 | |
| 216 static final int INCR_WRAP = 0x8507; | |
| 217 | |
| 218 static final int INT = 0x1404; | |
| 219 | |
| 220 static final int INT_VEC2 = 0x8B53; | |
| 221 | |
| 222 static final int INT_VEC3 = 0x8B54; | |
| 223 | |
| 224 static final int INT_VEC4 = 0x8B55; | |
| 225 | |
| 226 static final int INVALID_ENUM = 0x0500; | |
| 227 | |
| 228 static final int INVALID_FRAMEBUFFER_OPERATION = 0x0506; | |
| 229 | |
| 230 static final int INVALID_OPERATION = 0x0502; | |
| 231 | |
| 232 static final int INVALID_VALUE = 0x0501; | |
| 233 | |
| 234 static final int INVERT = 0x150A; | |
| 235 | |
| 236 static final int KEEP = 0x1E00; | |
| 237 | |
| 238 static final int LEQUAL = 0x0203; | |
| 239 | |
| 240 static final int LESS = 0x0201; | |
| 241 | |
| 242 static final int LINEAR = 0x2601; | |
| 243 | |
| 244 static final int LINEAR_MIPMAP_LINEAR = 0x2703; | |
| 245 | |
| 246 static final int LINEAR_MIPMAP_NEAREST = 0x2701; | |
| 247 | |
| 248 static final int LINES = 0x0001; | |
| 249 | |
| 250 static final int LINE_LOOP = 0x0002; | |
| 251 | |
| 252 static final int LINE_STRIP = 0x0003; | |
| 253 | |
| 254 static final int LINE_WIDTH = 0x0B21; | |
| 255 | |
| 256 static final int LINK_STATUS = 0x8B82; | |
| 257 | |
| 258 static final int LOW_FLOAT = 0x8DF0; | |
| 259 | |
| 260 static final int LOW_INT = 0x8DF3; | |
| 261 | |
| 262 static final int LUMINANCE = 0x1909; | |
| 263 | |
| 264 static final int LUMINANCE_ALPHA = 0x190A; | |
| 265 | |
| 266 static final int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; | |
| 267 | |
| 268 static final int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; | |
| 269 | |
| 270 static final int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; | |
| 271 | |
| 272 static final int MAX_RENDERBUFFER_SIZE = 0x84E8; | |
| 273 | |
| 274 static final int MAX_TEXTURE_IMAGE_UNITS = 0x8872; | |
| 275 | |
| 276 static final int MAX_TEXTURE_SIZE = 0x0D33; | |
| 277 | |
| 278 static final int MAX_VARYING_VECTORS = 0x8DFC; | |
| 279 | |
| 280 static final int MAX_VERTEX_ATTRIBS = 0x8869; | |
| 281 | |
| 282 static final int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; | |
| 283 | |
| 284 static final int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; | |
| 285 | |
| 286 static final int MAX_VIEWPORT_DIMS = 0x0D3A; | |
| 287 | |
| 288 static final int MEDIUM_FLOAT = 0x8DF1; | |
| 289 | |
| 290 static final int MEDIUM_INT = 0x8DF4; | |
| 291 | |
| 292 static final int MIRRORED_REPEAT = 0x8370; | |
| 293 | |
| 294 static final int NEAREST = 0x2600; | |
| 295 | |
| 296 static final int NEAREST_MIPMAP_LINEAR = 0x2702; | |
| 297 | |
| 298 static final int NEAREST_MIPMAP_NEAREST = 0x2700; | |
| 299 | |
| 300 static final int NEVER = 0x0200; | |
| 301 | |
| 302 static final int NICEST = 0x1102; | |
| 303 | |
| 304 static final int NONE = 0; | |
| 305 | |
| 306 static final int NOTEQUAL = 0x0205; | |
| 307 | |
| 308 static final int NO_ERROR = 0; | |
| 309 | |
| 310 static final int ONE = 1; | |
| 311 | |
| 312 static final int ONE_MINUS_CONSTANT_ALPHA = 0x8004; | |
| 313 | |
| 314 static final int ONE_MINUS_CONSTANT_COLOR = 0x8002; | |
| 315 | |
| 316 static final int ONE_MINUS_DST_ALPHA = 0x0305; | |
| 317 | |
| 318 static final int ONE_MINUS_DST_COLOR = 0x0307; | |
| 319 | |
| 320 static final int ONE_MINUS_SRC_ALPHA = 0x0303; | |
| 321 | |
| 322 static final int ONE_MINUS_SRC_COLOR = 0x0301; | |
| 323 | |
| 324 static final int OUT_OF_MEMORY = 0x0505; | |
| 325 | |
| 326 static final int PACK_ALIGNMENT = 0x0D05; | |
| 327 | |
| 328 static final int POINTS = 0x0000; | |
| 329 | |
| 330 static final int POLYGON_OFFSET_FACTOR = 0x8038; | |
| 331 | |
| 332 static final int POLYGON_OFFSET_FILL = 0x8037; | |
| 333 | |
| 334 static final int POLYGON_OFFSET_UNITS = 0x2A00; | |
| 335 | |
| 336 static final int RED_BITS = 0x0D52; | |
| 337 | |
| 338 static final int RENDERBUFFER = 0x8D41; | |
| 339 | |
| 340 static final int RENDERBUFFER_ALPHA_SIZE = 0x8D53; | |
| 341 | |
| 342 static final int RENDERBUFFER_BINDING = 0x8CA7; | |
| 343 | |
| 344 static final int RENDERBUFFER_BLUE_SIZE = 0x8D52; | |
| 345 | |
| 346 static final int RENDERBUFFER_DEPTH_SIZE = 0x8D54; | |
| 347 | |
| 348 static final int RENDERBUFFER_GREEN_SIZE = 0x8D51; | |
| 349 | |
| 350 static final int RENDERBUFFER_HEIGHT = 0x8D43; | |
| 351 | |
| 352 static final int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; | |
| 353 | |
| 354 static final int RENDERBUFFER_RED_SIZE = 0x8D50; | |
| 355 | |
| 356 static final int RENDERBUFFER_STENCIL_SIZE = 0x8D55; | |
| 357 | |
| 358 static final int RENDERBUFFER_WIDTH = 0x8D42; | |
| 359 | |
| 360 static final int RENDERER = 0x1F01; | |
| 361 | |
| 362 static final int REPEAT = 0x2901; | |
| 363 | |
| 364 static final int REPLACE = 0x1E01; | |
| 365 | |
| 366 static final int RGB = 0x1907; | |
| 367 | |
| 368 static final int RGB565 = 0x8D62; | |
| 369 | |
| 370 static final int RGB5_A1 = 0x8057; | |
| 371 | |
| 372 static final int RGBA = 0x1908; | |
| 373 | |
| 374 static final int RGBA4 = 0x8056; | |
| 375 | |
| 376 static final int SAMPLER_2D = 0x8B5E; | |
| 377 | |
| 378 static final int SAMPLER_CUBE = 0x8B60; | |
| 379 | |
| 380 static final int SAMPLES = 0x80A9; | |
| 381 | |
| 382 static final int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; | |
| 383 | |
| 384 static final int SAMPLE_BUFFERS = 0x80A8; | |
| 385 | |
| 386 static final int SAMPLE_COVERAGE = 0x80A0; | |
| 387 | |
| 388 static final int SAMPLE_COVERAGE_INVERT = 0x80AB; | |
| 389 | |
| 390 static final int SAMPLE_COVERAGE_VALUE = 0x80AA; | |
| 391 | |
| 392 static final int SCISSOR_BOX = 0x0C10; | |
| 393 | |
| 394 static final int SCISSOR_TEST = 0x0C11; | |
| 395 | |
| 396 static final int SHADER_TYPE = 0x8B4F; | |
| 397 | |
| 398 static final int SHADING_LANGUAGE_VERSION = 0x8B8C; | |
| 399 | |
| 400 static final int SHORT = 0x1402; | |
| 401 | |
| 402 static final int SRC_ALPHA = 0x0302; | |
| 403 | |
| 404 static final int SRC_ALPHA_SATURATE = 0x0308; | |
| 405 | |
| 406 static final int SRC_COLOR = 0x0300; | |
| 407 | |
| 408 static final int STATIC_DRAW = 0x88E4; | |
| 409 | |
| 410 static final int STENCIL_ATTACHMENT = 0x8D20; | |
| 411 | |
| 412 static final int STENCIL_BACK_FAIL = 0x8801; | |
| 413 | |
| 414 static final int STENCIL_BACK_FUNC = 0x8800; | |
| 415 | |
| 416 static final int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; | |
| 417 | |
| 418 static final int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; | |
| 419 | |
| 420 static final int STENCIL_BACK_REF = 0x8CA3; | |
| 421 | |
| 422 static final int STENCIL_BACK_VALUE_MASK = 0x8CA4; | |
| 423 | |
| 424 static final int STENCIL_BACK_WRITEMASK = 0x8CA5; | |
| 425 | |
| 426 static final int STENCIL_BITS = 0x0D57; | |
| 427 | |
| 428 static final int STENCIL_BUFFER_BIT = 0x00000400; | |
| 429 | |
| 430 static final int STENCIL_CLEAR_VALUE = 0x0B91; | |
| 431 | |
| 432 static final int STENCIL_FAIL = 0x0B94; | |
| 433 | |
| 434 static final int STENCIL_FUNC = 0x0B92; | |
| 435 | |
| 436 static final int STENCIL_INDEX = 0x1901; | |
| 437 | |
| 438 static final int STENCIL_INDEX8 = 0x8D48; | |
| 439 | |
| 440 static final int STENCIL_PASS_DEPTH_FAIL = 0x0B95; | |
| 441 | |
| 442 static final int STENCIL_PASS_DEPTH_PASS = 0x0B96; | |
| 443 | |
| 444 static final int STENCIL_REF = 0x0B97; | |
| 445 | |
| 446 static final int STENCIL_TEST = 0x0B90; | |
| 447 | |
| 448 static final int STENCIL_VALUE_MASK = 0x0B93; | |
| 449 | |
| 450 static final int STENCIL_WRITEMASK = 0x0B98; | |
| 451 | |
| 452 static final int STREAM_DRAW = 0x88E0; | |
| 453 | |
| 454 static final int SUBPIXEL_BITS = 0x0D50; | |
| 455 | |
| 456 static final int TEXTURE = 0x1702; | |
| 457 | |
| 458 static final int TEXTURE0 = 0x84C0; | |
| 459 | |
| 460 static final int TEXTURE1 = 0x84C1; | |
| 461 | |
| 462 static final int TEXTURE10 = 0x84CA; | |
| 463 | |
| 464 static final int TEXTURE11 = 0x84CB; | |
| 465 | |
| 466 static final int TEXTURE12 = 0x84CC; | |
| 467 | |
| 468 static final int TEXTURE13 = 0x84CD; | |
| 469 | |
| 470 static final int TEXTURE14 = 0x84CE; | |
| 471 | |
| 472 static final int TEXTURE15 = 0x84CF; | |
| 473 | |
| 474 static final int TEXTURE16 = 0x84D0; | |
| 475 | |
| 476 static final int TEXTURE17 = 0x84D1; | |
| 477 | |
| 478 static final int TEXTURE18 = 0x84D2; | |
| 479 | |
| 480 static final int TEXTURE19 = 0x84D3; | |
| 481 | |
| 482 static final int TEXTURE2 = 0x84C2; | |
| 483 | |
| 484 static final int TEXTURE20 = 0x84D4; | |
| 485 | |
| 486 static final int TEXTURE21 = 0x84D5; | |
| 487 | |
| 488 static final int TEXTURE22 = 0x84D6; | |
| 489 | |
| 490 static final int TEXTURE23 = 0x84D7; | |
| 491 | |
| 492 static final int TEXTURE24 = 0x84D8; | |
| 493 | |
| 494 static final int TEXTURE25 = 0x84D9; | |
| 495 | |
| 496 static final int TEXTURE26 = 0x84DA; | |
| 497 | |
| 498 static final int TEXTURE27 = 0x84DB; | |
| 499 | |
| 500 static final int TEXTURE28 = 0x84DC; | |
| 501 | |
| 502 static final int TEXTURE29 = 0x84DD; | |
| 503 | |
| 504 static final int TEXTURE3 = 0x84C3; | |
| 505 | |
| 506 static final int TEXTURE30 = 0x84DE; | |
| 507 | |
| 508 static final int TEXTURE31 = 0x84DF; | |
| 509 | |
| 510 static final int TEXTURE4 = 0x84C4; | |
| 511 | |
| 512 static final int TEXTURE5 = 0x84C5; | |
| 513 | |
| 514 static final int TEXTURE6 = 0x84C6; | |
| 515 | |
| 516 static final int TEXTURE7 = 0x84C7; | |
| 517 | |
| 518 static final int TEXTURE8 = 0x84C8; | |
| 519 | |
| 520 static final int TEXTURE9 = 0x84C9; | |
| 521 | |
| 522 static final int TEXTURE_2D = 0x0DE1; | |
| 523 | |
| 524 static final int TEXTURE_BINDING_2D = 0x8069; | |
| 525 | |
| 526 static final int TEXTURE_BINDING_CUBE_MAP = 0x8514; | |
| 527 | |
| 528 static final int TEXTURE_CUBE_MAP = 0x8513; | |
| 529 | |
| 530 static final int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; | |
| 531 | |
| 532 static final int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; | |
| 533 | |
| 534 static final int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; | |
| 535 | |
| 536 static final int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; | |
| 537 | |
| 538 static final int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; | |
| 539 | |
| 540 static final int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; | |
| 541 | |
| 542 static final int TEXTURE_MAG_FILTER = 0x2800; | |
| 543 | |
| 544 static final int TEXTURE_MIN_FILTER = 0x2801; | |
| 545 | |
| 546 static final int TEXTURE_WRAP_S = 0x2802; | |
| 547 | |
| 548 static final int TEXTURE_WRAP_T = 0x2803; | |
| 549 | |
| 550 static final int TRIANGLES = 0x0004; | |
| 551 | |
| 552 static final int TRIANGLE_FAN = 0x0006; | |
| 553 | |
| 554 static final int TRIANGLE_STRIP = 0x0005; | |
| 555 | |
| 556 static final int UNPACK_ALIGNMENT = 0x0CF5; | |
| 557 | |
| 558 static final int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; | |
| 559 | |
| 560 static final int UNPACK_FLIP_Y_WEBGL = 0x9240; | |
| 561 | |
| 562 static final int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; | |
| 563 | |
| 564 static final int UNSIGNED_BYTE = 0x1401; | |
| 565 | |
| 566 static final int UNSIGNED_INT = 0x1405; | |
| 567 | |
| 568 static final int UNSIGNED_SHORT = 0x1403; | |
| 569 | |
| 570 static final int UNSIGNED_SHORT_4_4_4_4 = 0x8033; | |
| 571 | |
| 572 static final int UNSIGNED_SHORT_5_5_5_1 = 0x8034; | |
| 573 | |
| 574 static final int UNSIGNED_SHORT_5_6_5 = 0x8363; | |
| 575 | |
| 576 static final int VALIDATE_STATUS = 0x8B83; | |
| 577 | |
| 578 static final int VENDOR = 0x1F00; | |
| 579 | |
| 580 static final int VERSION = 0x1F02; | |
| 581 | |
| 582 static final int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; | |
| 583 | |
| 584 static final int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; | |
| 585 | |
| 586 static final int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; | |
| 587 | |
| 588 static final int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; | |
| 589 | |
| 590 static final int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; | |
| 591 | |
| 592 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | |
| 593 | |
| 594 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | |
| 595 | |
| 596 static final int VERTEX_SHADER = 0x8B31; | |
| 597 | |
| 598 static final int VIEWPORT = 0x0BA2; | |
| 599 | |
| 600 static final int ZERO = 0; | |
| 601 | |
| 602 /** @domName WebGLRenderingContext.drawingBufferHeight */ | |
| 603 final int drawingBufferHeight; | |
| 604 | |
| 605 /** @domName WebGLRenderingContext.drawingBufferWidth */ | |
| 606 final int drawingBufferWidth; | |
| 607 | |
| 608 /** @domName WebGLRenderingContext.activeTexture */ | |
| 609 void activeTexture(int texture); | |
| 610 | |
| 611 /** @domName WebGLRenderingContext.attachShader */ | |
| 612 void attachShader(WebGLProgram program, WebGLShader shader); | |
| 613 | |
| 614 /** @domName WebGLRenderingContext.bindAttribLocation */ | |
| 615 void bindAttribLocation(WebGLProgram program, int index, String name); | |
| 616 | |
| 617 /** @domName WebGLRenderingContext.bindBuffer */ | |
| 618 void bindBuffer(int target, WebGLBuffer buffer); | |
| 619 | |
| 620 /** @domName WebGLRenderingContext.bindFramebuffer */ | |
| 621 void bindFramebuffer(int target, WebGLFramebuffer framebuffer); | |
| 622 | |
| 623 /** @domName WebGLRenderingContext.bindRenderbuffer */ | |
| 624 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer); | |
| 625 | |
| 626 /** @domName WebGLRenderingContext.bindTexture */ | |
| 627 void bindTexture(int target, WebGLTexture texture); | |
| 628 | |
| 629 /** @domName WebGLRenderingContext.blendColor */ | |
| 630 void blendColor(num red, num green, num blue, num alpha); | |
| 631 | |
| 632 /** @domName WebGLRenderingContext.blendEquation */ | |
| 633 void blendEquation(int mode); | |
| 634 | |
| 635 /** @domName WebGLRenderingContext.blendEquationSeparate */ | |
| 636 void blendEquationSeparate(int modeRGB, int modeAlpha); | |
| 637 | |
| 638 /** @domName WebGLRenderingContext.blendFunc */ | |
| 639 void blendFunc(int sfactor, int dfactor); | |
| 640 | |
| 641 /** @domName WebGLRenderingContext.blendFuncSeparate */ | |
| 642 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); | |
| 643 | |
| 644 /** @domName WebGLRenderingContext.bufferData */ | |
| 645 void bufferData(int target, data_OR_size, int usage); | |
| 646 | |
| 647 /** @domName WebGLRenderingContext.bufferSubData */ | |
| 648 void bufferSubData(int target, int offset, data); | |
| 649 | |
| 650 /** @domName WebGLRenderingContext.checkFramebufferStatus */ | |
| 651 int checkFramebufferStatus(int target); | |
| 652 | |
| 653 /** @domName WebGLRenderingContext.clear */ | |
| 654 void clear(int mask); | |
| 655 | |
| 656 /** @domName WebGLRenderingContext.clearColor */ | |
| 657 void clearColor(num red, num green, num blue, num alpha); | |
| 658 | |
| 659 /** @domName WebGLRenderingContext.clearDepth */ | |
| 660 void clearDepth(num depth); | |
| 661 | |
| 662 /** @domName WebGLRenderingContext.clearStencil */ | |
| 663 void clearStencil(int s); | |
| 664 | |
| 665 /** @domName WebGLRenderingContext.colorMask */ | |
| 666 void colorMask(bool red, bool green, bool blue, bool alpha); | |
| 667 | |
| 668 /** @domName WebGLRenderingContext.compileShader */ | |
| 669 void compileShader(WebGLShader shader); | |
| 670 | |
| 671 /** @domName WebGLRenderingContext.compressedTexImage2D */ | |
| 672 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data); | |
| 673 | |
| 674 /** @domName WebGLRenderingContext.compressedTexSubImage2D */ | |
| 675 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data); | |
| 676 | |
| 677 /** @domName WebGLRenderingContext.copyTexImage2D */ | |
| 678 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); | |
| 679 | |
| 680 /** @domName WebGLRenderingContext.copyTexSubImage2D */ | |
| 681 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); | |
| 682 | |
| 683 /** @domName WebGLRenderingContext.createBuffer */ | |
| 684 WebGLBuffer createBuffer(); | |
| 685 | |
| 686 /** @domName WebGLRenderingContext.createFramebuffer */ | |
| 687 WebGLFramebuffer createFramebuffer(); | |
| 688 | |
| 689 /** @domName WebGLRenderingContext.createProgram */ | |
| 690 WebGLProgram createProgram(); | |
| 691 | |
| 692 /** @domName WebGLRenderingContext.createRenderbuffer */ | |
| 693 WebGLRenderbuffer createRenderbuffer(); | |
| 694 | |
| 695 /** @domName WebGLRenderingContext.createShader */ | |
| 696 WebGLShader createShader(int type); | |
| 697 | |
| 698 /** @domName WebGLRenderingContext.createTexture */ | |
| 699 WebGLTexture createTexture(); | |
| 700 | |
| 701 /** @domName WebGLRenderingContext.cullFace */ | |
| 702 void cullFace(int mode); | |
| 703 | |
| 704 /** @domName WebGLRenderingContext.deleteBuffer */ | |
| 705 void deleteBuffer(WebGLBuffer buffer); | |
| 706 | |
| 707 /** @domName WebGLRenderingContext.deleteFramebuffer */ | |
| 708 void deleteFramebuffer(WebGLFramebuffer framebuffer); | |
| 709 | |
| 710 /** @domName WebGLRenderingContext.deleteProgram */ | |
| 711 void deleteProgram(WebGLProgram program); | |
| 712 | |
| 713 /** @domName WebGLRenderingContext.deleteRenderbuffer */ | |
| 714 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer); | |
| 715 | |
| 716 /** @domName WebGLRenderingContext.deleteShader */ | |
| 717 void deleteShader(WebGLShader shader); | |
| 718 | |
| 719 /** @domName WebGLRenderingContext.deleteTexture */ | |
| 720 void deleteTexture(WebGLTexture texture); | |
| 721 | |
| 722 /** @domName WebGLRenderingContext.depthFunc */ | |
| 723 void depthFunc(int func); | |
| 724 | |
| 725 /** @domName WebGLRenderingContext.depthMask */ | |
| 726 void depthMask(bool flag); | |
| 727 | |
| 728 /** @domName WebGLRenderingContext.depthRange */ | |
| 729 void depthRange(num zNear, num zFar); | |
| 730 | |
| 731 /** @domName WebGLRenderingContext.detachShader */ | |
| 732 void detachShader(WebGLProgram program, WebGLShader shader); | |
| 733 | |
| 734 /** @domName WebGLRenderingContext.disable */ | |
| 735 void disable(int cap); | |
| 736 | |
| 737 /** @domName WebGLRenderingContext.disableVertexAttribArray */ | |
| 738 void disableVertexAttribArray(int index); | |
| 739 | |
| 740 /** @domName WebGLRenderingContext.drawArrays */ | |
| 741 void drawArrays(int mode, int first, int count); | |
| 742 | |
| 743 /** @domName WebGLRenderingContext.drawElements */ | |
| 744 void drawElements(int mode, int count, int type, int offset); | |
| 745 | |
| 746 /** @domName WebGLRenderingContext.enable */ | |
| 747 void enable(int cap); | |
| 748 | |
| 749 /** @domName WebGLRenderingContext.enableVertexAttribArray */ | |
| 750 void enableVertexAttribArray(int index); | |
| 751 | |
| 752 /** @domName WebGLRenderingContext.finish */ | |
| 753 void finish(); | |
| 754 | |
| 755 /** @domName WebGLRenderingContext.flush */ | |
| 756 void flush(); | |
| 757 | |
| 758 /** @domName WebGLRenderingContext.framebufferRenderbuffer */ | |
| 759 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, WebGLRenderbuffer renderbuffer); | |
| 760 | |
| 761 /** @domName WebGLRenderingContext.framebufferTexture2D */ | |
| 762 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText
ure texture, int level); | |
| 763 | |
| 764 /** @domName WebGLRenderingContext.frontFace */ | |
| 765 void frontFace(int mode); | |
| 766 | |
| 767 /** @domName WebGLRenderingContext.generateMipmap */ | |
| 768 void generateMipmap(int target); | |
| 769 | |
| 770 /** @domName WebGLRenderingContext.getActiveAttrib */ | |
| 771 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); | |
| 772 | |
| 773 /** @domName WebGLRenderingContext.getActiveUniform */ | |
| 774 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); | |
| 775 | |
| 776 /** @domName WebGLRenderingContext.getAttachedShaders */ | |
| 777 List getAttachedShaders(WebGLProgram program); | |
| 778 | |
| 779 /** @domName WebGLRenderingContext.getAttribLocation */ | |
| 780 int getAttribLocation(WebGLProgram program, String name); | |
| 781 | |
| 782 /** @domName WebGLRenderingContext.getBufferParameter */ | |
| 783 Object getBufferParameter(int target, int pname); | |
| 784 | |
| 785 /** @domName WebGLRenderingContext.getContextAttributes */ | |
| 786 WebGLContextAttributes getContextAttributes(); | |
| 787 | |
| 788 /** @domName WebGLRenderingContext.getError */ | |
| 789 int getError(); | |
| 790 | |
| 791 /** @domName WebGLRenderingContext.getExtension */ | |
| 792 Object getExtension(String name); | |
| 793 | |
| 794 /** @domName WebGLRenderingContext.getFramebufferAttachmentParameter */ | |
| 795 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
); | |
| 796 | |
| 797 /** @domName WebGLRenderingContext.getParameter */ | |
| 798 Object getParameter(int pname); | |
| 799 | |
| 800 /** @domName WebGLRenderingContext.getProgramInfoLog */ | |
| 801 String getProgramInfoLog(WebGLProgram program); | |
| 802 | |
| 803 /** @domName WebGLRenderingContext.getProgramParameter */ | |
| 804 Object getProgramParameter(WebGLProgram program, int pname); | |
| 805 | |
| 806 /** @domName WebGLRenderingContext.getRenderbufferParameter */ | |
| 807 Object getRenderbufferParameter(int target, int pname); | |
| 808 | |
| 809 /** @domName WebGLRenderingContext.getShaderInfoLog */ | |
| 810 String getShaderInfoLog(WebGLShader shader); | |
| 811 | |
| 812 /** @domName WebGLRenderingContext.getShaderParameter */ | |
| 813 Object getShaderParameter(WebGLShader shader, int pname); | |
| 814 | |
| 815 /** @domName WebGLRenderingContext.getShaderPrecisionFormat */ | |
| 816 WebGLShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precis
iontype); | |
| 817 | |
| 818 /** @domName WebGLRenderingContext.getShaderSource */ | |
| 819 String getShaderSource(WebGLShader shader); | |
| 820 | |
| 821 /** @domName WebGLRenderingContext.getTexParameter */ | |
| 822 Object getTexParameter(int target, int pname); | |
| 823 | |
| 824 /** @domName WebGLRenderingContext.getUniform */ | |
| 825 Object getUniform(WebGLProgram program, WebGLUniformLocation location); | |
| 826 | |
| 827 /** @domName WebGLRenderingContext.getUniformLocation */ | |
| 828 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); | |
| 829 | |
| 830 /** @domName WebGLRenderingContext.getVertexAttrib */ | |
| 831 Object getVertexAttrib(int index, int pname); | |
| 832 | |
| 833 /** @domName WebGLRenderingContext.getVertexAttribOffset */ | |
| 834 int getVertexAttribOffset(int index, int pname); | |
| 835 | |
| 836 /** @domName WebGLRenderingContext.hint */ | |
| 837 void hint(int target, int mode); | |
| 838 | |
| 839 /** @domName WebGLRenderingContext.isBuffer */ | |
| 840 bool isBuffer(WebGLBuffer buffer); | |
| 841 | |
| 842 /** @domName WebGLRenderingContext.isContextLost */ | |
| 843 bool isContextLost(); | |
| 844 | |
| 845 /** @domName WebGLRenderingContext.isEnabled */ | |
| 846 bool isEnabled(int cap); | |
| 847 | |
| 848 /** @domName WebGLRenderingContext.isFramebuffer */ | |
| 849 bool isFramebuffer(WebGLFramebuffer framebuffer); | |
| 850 | |
| 851 /** @domName WebGLRenderingContext.isProgram */ | |
| 852 bool isProgram(WebGLProgram program); | |
| 853 | |
| 854 /** @domName WebGLRenderingContext.isRenderbuffer */ | |
| 855 bool isRenderbuffer(WebGLRenderbuffer renderbuffer); | |
| 856 | |
| 857 /** @domName WebGLRenderingContext.isShader */ | |
| 858 bool isShader(WebGLShader shader); | |
| 859 | |
| 860 /** @domName WebGLRenderingContext.isTexture */ | |
| 861 bool isTexture(WebGLTexture texture); | |
| 862 | |
| 863 /** @domName WebGLRenderingContext.lineWidth */ | |
| 864 void lineWidth(num width); | |
| 865 | |
| 866 /** @domName WebGLRenderingContext.linkProgram */ | |
| 867 void linkProgram(WebGLProgram program); | |
| 868 | |
| 869 /** @domName WebGLRenderingContext.pixelStorei */ | |
| 870 void pixelStorei(int pname, int param); | |
| 871 | |
| 872 /** @domName WebGLRenderingContext.polygonOffset */ | |
| 873 void polygonOffset(num factor, num units); | |
| 874 | |
| 875 /** @domName WebGLRenderingContext.readPixels */ | |
| 876 void readPixels(int x, int y, int width, int height, int format, int type, Arr
ayBufferView pixels); | |
| 877 | |
| 878 /** @domName WebGLRenderingContext.releaseShaderCompiler */ | |
| 879 void releaseShaderCompiler(); | |
| 880 | |
| 881 /** @domName WebGLRenderingContext.renderbufferStorage */ | |
| 882 void renderbufferStorage(int target, int internalformat, int width, int height
); | |
| 883 | |
| 884 /** @domName WebGLRenderingContext.sampleCoverage */ | |
| 885 void sampleCoverage(num value, bool invert); | |
| 886 | |
| 887 /** @domName WebGLRenderingContext.scissor */ | |
| 888 void scissor(int x, int y, int width, int height); | |
| 889 | |
| 890 /** @domName WebGLRenderingContext.shaderSource */ | |
| 891 void shaderSource(WebGLShader shader, String string); | |
| 892 | |
| 893 /** @domName WebGLRenderingContext.stencilFunc */ | |
| 894 void stencilFunc(int func, int ref, int mask); | |
| 895 | |
| 896 /** @domName WebGLRenderingContext.stencilFuncSeparate */ | |
| 897 void stencilFuncSeparate(int face, int func, int ref, int mask); | |
| 898 | |
| 899 /** @domName WebGLRenderingContext.stencilMask */ | |
| 900 void stencilMask(int mask); | |
| 901 | |
| 902 /** @domName WebGLRenderingContext.stencilMaskSeparate */ | |
| 903 void stencilMaskSeparate(int face, int mask); | |
| 904 | |
| 905 /** @domName WebGLRenderingContext.stencilOp */ | |
| 906 void stencilOp(int fail, int zfail, int zpass); | |
| 907 | |
| 908 /** @domName WebGLRenderingContext.stencilOpSeparate */ | |
| 909 void stencilOpSeparate(int face, int fail, int zfail, int zpass); | |
| 910 | |
| 911 /** @domName WebGLRenderingContext.texImage2D */ | |
| 912 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, ArrayBufferView pixels]); | |
| 913 | |
| 914 /** @domName WebGLRenderingContext.texParameterf */ | |
| 915 void texParameterf(int target, int pname, num param); | |
| 916 | |
| 917 /** @domName WebGLRenderingContext.texParameteri */ | |
| 918 void texParameteri(int target, int pname, int param); | |
| 919 | |
| 920 /** @domName WebGLRenderingContext.texSubImage2D */ | |
| 921 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, ArrayBufferView pixels]); | |
| 922 | |
| 923 /** @domName WebGLRenderingContext.uniform1f */ | |
| 924 void uniform1f(WebGLUniformLocation location, num x); | |
| 925 | |
| 926 /** @domName WebGLRenderingContext.uniform1fv */ | |
| 927 void uniform1fv(WebGLUniformLocation location, Float32Array v); | |
| 928 | |
| 929 /** @domName WebGLRenderingContext.uniform1i */ | |
| 930 void uniform1i(WebGLUniformLocation location, int x); | |
| 931 | |
| 932 /** @domName WebGLRenderingContext.uniform1iv */ | |
| 933 void uniform1iv(WebGLUniformLocation location, Int32Array v); | |
| 934 | |
| 935 /** @domName WebGLRenderingContext.uniform2f */ | |
| 936 void uniform2f(WebGLUniformLocation location, num x, num y); | |
| 937 | |
| 938 /** @domName WebGLRenderingContext.uniform2fv */ | |
| 939 void uniform2fv(WebGLUniformLocation location, Float32Array v); | |
| 940 | |
| 941 /** @domName WebGLRenderingContext.uniform2i */ | |
| 942 void uniform2i(WebGLUniformLocation location, int x, int y); | |
| 943 | |
| 944 /** @domName WebGLRenderingContext.uniform2iv */ | |
| 945 void uniform2iv(WebGLUniformLocation location, Int32Array v); | |
| 946 | |
| 947 /** @domName WebGLRenderingContext.uniform3f */ | |
| 948 void uniform3f(WebGLUniformLocation location, num x, num y, num z); | |
| 949 | |
| 950 /** @domName WebGLRenderingContext.uniform3fv */ | |
| 951 void uniform3fv(WebGLUniformLocation location, Float32Array v); | |
| 952 | |
| 953 /** @domName WebGLRenderingContext.uniform3i */ | |
| 954 void uniform3i(WebGLUniformLocation location, int x, int y, int z); | |
| 955 | |
| 956 /** @domName WebGLRenderingContext.uniform3iv */ | |
| 957 void uniform3iv(WebGLUniformLocation location, Int32Array v); | |
| 958 | |
| 959 /** @domName WebGLRenderingContext.uniform4f */ | |
| 960 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w); | |
| 961 | |
| 962 /** @domName WebGLRenderingContext.uniform4fv */ | |
| 963 void uniform4fv(WebGLUniformLocation location, Float32Array v); | |
| 964 | |
| 965 /** @domName WebGLRenderingContext.uniform4i */ | |
| 966 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w); | |
| 967 | |
| 968 /** @domName WebGLRenderingContext.uniform4iv */ | |
| 969 void uniform4iv(WebGLUniformLocation location, Int32Array v); | |
| 970 | |
| 971 /** @domName WebGLRenderingContext.uniformMatrix2fv */ | |
| 972 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); | |
| 973 | |
| 974 /** @domName WebGLRenderingContext.uniformMatrix3fv */ | |
| 975 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); | |
| 976 | |
| 977 /** @domName WebGLRenderingContext.uniformMatrix4fv */ | |
| 978 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array); | |
| 979 | |
| 980 /** @domName WebGLRenderingContext.useProgram */ | |
| 981 void useProgram(WebGLProgram program); | |
| 982 | |
| 983 /** @domName WebGLRenderingContext.validateProgram */ | |
| 984 void validateProgram(WebGLProgram program); | |
| 985 | |
| 986 /** @domName WebGLRenderingContext.vertexAttrib1f */ | |
| 987 void vertexAttrib1f(int indx, num x); | |
| 988 | |
| 989 /** @domName WebGLRenderingContext.vertexAttrib1fv */ | |
| 990 void vertexAttrib1fv(int indx, Float32Array values); | |
| 991 | |
| 992 /** @domName WebGLRenderingContext.vertexAttrib2f */ | |
| 993 void vertexAttrib2f(int indx, num x, num y); | |
| 994 | |
| 995 /** @domName WebGLRenderingContext.vertexAttrib2fv */ | |
| 996 void vertexAttrib2fv(int indx, Float32Array values); | |
| 997 | |
| 998 /** @domName WebGLRenderingContext.vertexAttrib3f */ | |
| 999 void vertexAttrib3f(int indx, num x, num y, num z); | |
| 1000 | |
| 1001 /** @domName WebGLRenderingContext.vertexAttrib3fv */ | |
| 1002 void vertexAttrib3fv(int indx, Float32Array values); | |
| 1003 | |
| 1004 /** @domName WebGLRenderingContext.vertexAttrib4f */ | |
| 1005 void vertexAttrib4f(int indx, num x, num y, num z, num w); | |
| 1006 | |
| 1007 /** @domName WebGLRenderingContext.vertexAttrib4fv */ | |
| 1008 void vertexAttrib4fv(int indx, Float32Array values); | |
| 1009 | |
| 1010 /** @domName WebGLRenderingContext.vertexAttribPointer */ | |
| 1011 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); | |
| 1012 | |
| 1013 /** @domName WebGLRenderingContext.viewport */ | |
| 1014 void viewport(int x, int y, int width, int height); | |
| 1015 } | |
| OLD | NEW |