0 | module Web.Raw.Webgl
   1 |
   2 | import JS
   3 | import Web.Internal.WebglPrim
   4 | import Web.Internal.Types
   5 |
   6 | %default total
   7 |
   8 |
   9 | --------------------------------------------------------------------------------
  10 | --          Interfaces
  11 | --------------------------------------------------------------------------------
  12 |
  13 |
  14 | namespace WebGLActiveInfo
  15 |
  16 |   export
  17 |   name : (obj : WebGLActiveInfo) -> JSIO String
  18 |   name a = primJS $ WebGLActiveInfo.prim__name a
  19 |
  20 |
  21 |   export
  22 |   size : (obj : WebGLActiveInfo) -> JSIO Int32
  23 |   size a = primJS $ WebGLActiveInfo.prim__size a
  24 |
  25 |
  26 |   export
  27 |   type : (obj : WebGLActiveInfo) -> JSIO Bits32
  28 |   type a = primJS $ WebGLActiveInfo.prim__type a
  29 |
  30 |
  31 |
  32 |
  33 |
  34 |
  35 |
  36 |
  37 |
  38 |
  39 |
  40 |
  41 | namespace WebGLShaderPrecisionFormat
  42 |
  43 |   export
  44 |   precision : (obj : WebGLShaderPrecisionFormat) -> JSIO Int32
  45 |   precision a = primJS $ WebGLShaderPrecisionFormat.prim__precision a
  46 |
  47 |
  48 |   export
  49 |   rangeMax : (obj : WebGLShaderPrecisionFormat) -> JSIO Int32
  50 |   rangeMax a = primJS $ WebGLShaderPrecisionFormat.prim__rangeMax a
  51 |
  52 |
  53 |   export
  54 |   rangeMin : (obj : WebGLShaderPrecisionFormat) -> JSIO Int32
  55 |   rangeMin a = primJS $ WebGLShaderPrecisionFormat.prim__rangeMin a
  56 |
  57 |
  58 |
  59 |
  60 |
  61 |
  62 |
  63 |
  64 |
  65 | --------------------------------------------------------------------------------
  66 | --          Mixins
  67 | --------------------------------------------------------------------------------
  68 |
  69 | namespace WebGL2RenderingContextBase
  70 |
  71 |   public export
  72 |   ACTIVE_UNIFORM_BLOCKS : Bits32
  73 |   ACTIVE_UNIFORM_BLOCKS = 0x8a36
  74 |
  75 |
  76 |   public export
  77 |   ALREADY_SIGNALED : Bits32
  78 |   ALREADY_SIGNALED = 0x911a
  79 |
  80 |
  81 |   public export
  82 |   ANY_SAMPLES_PASSED : Bits32
  83 |   ANY_SAMPLES_PASSED = 0x8c2f
  84 |
  85 |
  86 |   public export
  87 |   ANY_SAMPLES_PASSED_CONSERVATIVE : Bits32
  88 |   ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8d6a
  89 |
  90 |
  91 |   public export
  92 |   COLOR : Bits32
  93 |   COLOR = 0x1800
  94 |
  95 |
  96 |   public export
  97 |   COLOR_ATTACHMENT1 : Bits32
  98 |   COLOR_ATTACHMENT1 = 0x8ce1
  99 |
 100 |
 101 |   public export
 102 |   COLOR_ATTACHMENT10 : Bits32
 103 |   COLOR_ATTACHMENT10 = 0x8cea
 104 |
 105 |
 106 |   public export
 107 |   COLOR_ATTACHMENT11 : Bits32
 108 |   COLOR_ATTACHMENT11 = 0x8ceb
 109 |
 110 |
 111 |   public export
 112 |   COLOR_ATTACHMENT12 : Bits32
 113 |   COLOR_ATTACHMENT12 = 0x8cec
 114 |
 115 |
 116 |   public export
 117 |   COLOR_ATTACHMENT13 : Bits32
 118 |   COLOR_ATTACHMENT13 = 0x8ced
 119 |
 120 |
 121 |   public export
 122 |   COLOR_ATTACHMENT14 : Bits32
 123 |   COLOR_ATTACHMENT14 = 0x8cee
 124 |
 125 |
 126 |   public export
 127 |   COLOR_ATTACHMENT15 : Bits32
 128 |   COLOR_ATTACHMENT15 = 0x8cef
 129 |
 130 |
 131 |   public export
 132 |   COLOR_ATTACHMENT2 : Bits32
 133 |   COLOR_ATTACHMENT2 = 0x8ce2
 134 |
 135 |
 136 |   public export
 137 |   COLOR_ATTACHMENT3 : Bits32
 138 |   COLOR_ATTACHMENT3 = 0x8ce3
 139 |
 140 |
 141 |   public export
 142 |   COLOR_ATTACHMENT4 : Bits32
 143 |   COLOR_ATTACHMENT4 = 0x8ce4
 144 |
 145 |
 146 |   public export
 147 |   COLOR_ATTACHMENT5 : Bits32
 148 |   COLOR_ATTACHMENT5 = 0x8ce5
 149 |
 150 |
 151 |   public export
 152 |   COLOR_ATTACHMENT6 : Bits32
 153 |   COLOR_ATTACHMENT6 = 0x8ce6
 154 |
 155 |
 156 |   public export
 157 |   COLOR_ATTACHMENT7 : Bits32
 158 |   COLOR_ATTACHMENT7 = 0x8ce7
 159 |
 160 |
 161 |   public export
 162 |   COLOR_ATTACHMENT8 : Bits32
 163 |   COLOR_ATTACHMENT8 = 0x8ce8
 164 |
 165 |
 166 |   public export
 167 |   COLOR_ATTACHMENT9 : Bits32
 168 |   COLOR_ATTACHMENT9 = 0x8ce9
 169 |
 170 |
 171 |   public export
 172 |   COMPARE_REF_TO_TEXTURE : Bits32
 173 |   COMPARE_REF_TO_TEXTURE = 0x884e
 174 |
 175 |
 176 |   public export
 177 |   CONDITION_SATISFIED : Bits32
 178 |   CONDITION_SATISFIED = 0x911c
 179 |
 180 |
 181 |   public export
 182 |   COPY_READ_BUFFER : Bits32
 183 |   COPY_READ_BUFFER = 0x8f36
 184 |
 185 |
 186 |   public export
 187 |   COPY_READ_BUFFER_BINDING : Bits32
 188 |   COPY_READ_BUFFER_BINDING = 0x8f36
 189 |
 190 |
 191 |   public export
 192 |   COPY_WRITE_BUFFER : Bits32
 193 |   COPY_WRITE_BUFFER = 0x8f37
 194 |
 195 |
 196 |   public export
 197 |   COPY_WRITE_BUFFER_BINDING : Bits32
 198 |   COPY_WRITE_BUFFER_BINDING = 0x8f37
 199 |
 200 |
 201 |   public export
 202 |   CURRENT_QUERY : Bits32
 203 |   CURRENT_QUERY = 0x8865
 204 |
 205 |
 206 |   public export
 207 |   DEPTH : Bits32
 208 |   DEPTH = 0x1801
 209 |
 210 |
 211 |   public export
 212 |   DEPTH24_STENCIL8 : Bits32
 213 |   DEPTH24_STENCIL8 = 0x88f0
 214 |
 215 |
 216 |   public export
 217 |   DEPTH32F_STENCIL8 : Bits32
 218 |   DEPTH32F_STENCIL8 = 0x8cad
 219 |
 220 |
 221 |   public export
 222 |   DEPTH_COMPONENT24 : Bits32
 223 |   DEPTH_COMPONENT24 = 0x81a6
 224 |
 225 |
 226 |   public export
 227 |   DEPTH_COMPONENT32F : Bits32
 228 |   DEPTH_COMPONENT32F = 0x8cac
 229 |
 230 |
 231 |   public export
 232 |   DRAW_BUFFER0 : Bits32
 233 |   DRAW_BUFFER0 = 0x8825
 234 |
 235 |
 236 |   public export
 237 |   DRAW_BUFFER1 : Bits32
 238 |   DRAW_BUFFER1 = 0x8826
 239 |
 240 |
 241 |   public export
 242 |   DRAW_BUFFER10 : Bits32
 243 |   DRAW_BUFFER10 = 0x882f
 244 |
 245 |
 246 |   public export
 247 |   DRAW_BUFFER11 : Bits32
 248 |   DRAW_BUFFER11 = 0x8830
 249 |
 250 |
 251 |   public export
 252 |   DRAW_BUFFER12 : Bits32
 253 |   DRAW_BUFFER12 = 0x8831
 254 |
 255 |
 256 |   public export
 257 |   DRAW_BUFFER13 : Bits32
 258 |   DRAW_BUFFER13 = 0x8832
 259 |
 260 |
 261 |   public export
 262 |   DRAW_BUFFER14 : Bits32
 263 |   DRAW_BUFFER14 = 0x8833
 264 |
 265 |
 266 |   public export
 267 |   DRAW_BUFFER15 : Bits32
 268 |   DRAW_BUFFER15 = 0x8834
 269 |
 270 |
 271 |   public export
 272 |   DRAW_BUFFER2 : Bits32
 273 |   DRAW_BUFFER2 = 0x8827
 274 |
 275 |
 276 |   public export
 277 |   DRAW_BUFFER3 : Bits32
 278 |   DRAW_BUFFER3 = 0x8828
 279 |
 280 |
 281 |   public export
 282 |   DRAW_BUFFER4 : Bits32
 283 |   DRAW_BUFFER4 = 0x8829
 284 |
 285 |
 286 |   public export
 287 |   DRAW_BUFFER5 : Bits32
 288 |   DRAW_BUFFER5 = 0x882a
 289 |
 290 |
 291 |   public export
 292 |   DRAW_BUFFER6 : Bits32
 293 |   DRAW_BUFFER6 = 0x882b
 294 |
 295 |
 296 |   public export
 297 |   DRAW_BUFFER7 : Bits32
 298 |   DRAW_BUFFER7 = 0x882c
 299 |
 300 |
 301 |   public export
 302 |   DRAW_BUFFER8 : Bits32
 303 |   DRAW_BUFFER8 = 0x882d
 304 |
 305 |
 306 |   public export
 307 |   DRAW_BUFFER9 : Bits32
 308 |   DRAW_BUFFER9 = 0x882e
 309 |
 310 |
 311 |   public export
 312 |   DRAW_FRAMEBUFFER : Bits32
 313 |   DRAW_FRAMEBUFFER = 0x8ca9
 314 |
 315 |
 316 |   public export
 317 |   DRAW_FRAMEBUFFER_BINDING : Bits32
 318 |   DRAW_FRAMEBUFFER_BINDING = 0x8ca6
 319 |
 320 |
 321 |   public export
 322 |   DYNAMIC_COPY : Bits32
 323 |   DYNAMIC_COPY = 0x88ea
 324 |
 325 |
 326 |   public export
 327 |   DYNAMIC_READ : Bits32
 328 |   DYNAMIC_READ = 0x88e9
 329 |
 330 |
 331 |   public export
 332 |   FLOAT_32_UNSIGNED_INT_24_8_REV : Bits32
 333 |   FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8dad
 334 |
 335 |
 336 |   public export
 337 |   FLOAT_MAT2x3 : Bits32
 338 |   FLOAT_MAT2x3 = 0x8b65
 339 |
 340 |
 341 |   public export
 342 |   FLOAT_MAT2x4 : Bits32
 343 |   FLOAT_MAT2x4 = 0x8b66
 344 |
 345 |
 346 |   public export
 347 |   FLOAT_MAT3x2 : Bits32
 348 |   FLOAT_MAT3x2 = 0x8b67
 349 |
 350 |
 351 |   public export
 352 |   FLOAT_MAT3x4 : Bits32
 353 |   FLOAT_MAT3x4 = 0x8b68
 354 |
 355 |
 356 |   public export
 357 |   FLOAT_MAT4x2 : Bits32
 358 |   FLOAT_MAT4x2 = 0x8b69
 359 |
 360 |
 361 |   public export
 362 |   FLOAT_MAT4x3 : Bits32
 363 |   FLOAT_MAT4x3 = 0x8b6a
 364 |
 365 |
 366 |   public export
 367 |   FRAGMENT_SHADER_DERIVATIVE_HINT : Bits32
 368 |   FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8b8b
 369 |
 370 |
 371 |   public export
 372 |   FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE : Bits32
 373 |   FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215
 374 |
 375 |
 376 |   public export
 377 |   FRAMEBUFFER_ATTACHMENT_BLUE_SIZE : Bits32
 378 |   FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214
 379 |
 380 |
 381 |   public export
 382 |   FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING : Bits32
 383 |   FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210
 384 |
 385 |
 386 |   public export
 387 |   FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE : Bits32
 388 |   FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211
 389 |
 390 |
 391 |   public export
 392 |   FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE : Bits32
 393 |   FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216
 394 |
 395 |
 396 |   public export
 397 |   FRAMEBUFFER_ATTACHMENT_GREEN_SIZE : Bits32
 398 |   FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213
 399 |
 400 |
 401 |   public export
 402 |   FRAMEBUFFER_ATTACHMENT_RED_SIZE : Bits32
 403 |   FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212
 404 |
 405 |
 406 |   public export
 407 |   FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE : Bits32
 408 |   FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217
 409 |
 410 |
 411 |   public export
 412 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER : Bits32
 413 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8cd4
 414 |
 415 |
 416 |   public export
 417 |   FRAMEBUFFER_DEFAULT : Bits32
 418 |   FRAMEBUFFER_DEFAULT = 0x8218
 419 |
 420 |
 421 |   public export
 422 |   FRAMEBUFFER_INCOMPLETE_MULTISAMPLE : Bits32
 423 |   FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8d56
 424 |
 425 |
 426 |   public export
 427 |   HALF_FLOAT : Bits32
 428 |   HALF_FLOAT = 0x140b
 429 |
 430 |
 431 |   public export
 432 |   INTERLEAVED_ATTRIBS : Bits32
 433 |   INTERLEAVED_ATTRIBS = 0x8c8c
 434 |
 435 |
 436 |   public export
 437 |   INT_2_10_10_10_REV : Bits32
 438 |   INT_2_10_10_10_REV = 0x8d9f
 439 |
 440 |
 441 |   public export
 442 |   INT_SAMPLER_2D : Bits32
 443 |   INT_SAMPLER_2D = 0x8dca
 444 |
 445 |
 446 |   public export
 447 |   INT_SAMPLER_2D_ARRAY : Bits32
 448 |   INT_SAMPLER_2D_ARRAY = 0x8dcf
 449 |
 450 |
 451 |   public export
 452 |   INT_SAMPLER_3D : Bits32
 453 |   INT_SAMPLER_3D = 0x8dcb
 454 |
 455 |
 456 |   public export
 457 |   INT_SAMPLER_CUBE : Bits32
 458 |   INT_SAMPLER_CUBE = 0x8dcc
 459 |
 460 |
 461 |   public export
 462 |   INVALID_INDEX : Bits32
 463 |   INVALID_INDEX = 0xffffffff
 464 |
 465 |
 466 |   public export
 467 |   MAX : Bits32
 468 |   MAX = 0x8008
 469 |
 470 |
 471 |   public export
 472 |   MAX_3D_TEXTURE_SIZE : Bits32
 473 |   MAX_3D_TEXTURE_SIZE = 0x8073
 474 |
 475 |
 476 |   public export
 477 |   MAX_ARRAY_TEXTURE_LAYERS : Bits32
 478 |   MAX_ARRAY_TEXTURE_LAYERS = 0x88ff
 479 |
 480 |
 481 |   public export
 482 |   MAX_CLIENT_WAIT_TIMEOUT_WEBGL : Bits32
 483 |   MAX_CLIENT_WAIT_TIMEOUT_WEBGL = 0x9247
 484 |
 485 |
 486 |   public export
 487 |   MAX_COLOR_ATTACHMENTS : Bits32
 488 |   MAX_COLOR_ATTACHMENTS = 0x8cdf
 489 |
 490 |
 491 |   public export
 492 |   MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS : Bits32
 493 |   MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8a33
 494 |
 495 |
 496 |   public export
 497 |   MAX_COMBINED_UNIFORM_BLOCKS : Bits32
 498 |   MAX_COMBINED_UNIFORM_BLOCKS = 0x8a2e
 499 |
 500 |
 501 |   public export
 502 |   MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS : Bits32
 503 |   MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8a31
 504 |
 505 |
 506 |   public export
 507 |   MAX_DRAW_BUFFERS : Bits32
 508 |   MAX_DRAW_BUFFERS = 0x8824
 509 |
 510 |
 511 |   public export
 512 |   MAX_ELEMENTS_INDICES : Bits32
 513 |   MAX_ELEMENTS_INDICES = 0x80e9
 514 |
 515 |
 516 |   public export
 517 |   MAX_ELEMENTS_VERTICES : Bits32
 518 |   MAX_ELEMENTS_VERTICES = 0x80e8
 519 |
 520 |
 521 |   public export
 522 |   MAX_ELEMENT_INDEX : Bits32
 523 |   MAX_ELEMENT_INDEX = 0x8d6b
 524 |
 525 |
 526 |   public export
 527 |   MAX_FRAGMENT_INPUT_COMPONENTS : Bits32
 528 |   MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125
 529 |
 530 |
 531 |   public export
 532 |   MAX_FRAGMENT_UNIFORM_BLOCKS : Bits32
 533 |   MAX_FRAGMENT_UNIFORM_BLOCKS = 0x8a2d
 534 |
 535 |
 536 |   public export
 537 |   MAX_FRAGMENT_UNIFORM_COMPONENTS : Bits32
 538 |   MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8b49
 539 |
 540 |
 541 |   public export
 542 |   MAX_PROGRAM_TEXEL_OFFSET : Bits32
 543 |   MAX_PROGRAM_TEXEL_OFFSET = 0x8905
 544 |
 545 |
 546 |   public export
 547 |   MAX_SAMPLES : Bits32
 548 |   MAX_SAMPLES = 0x8d57
 549 |
 550 |
 551 |   public export
 552 |   MAX_SERVER_WAIT_TIMEOUT : Bits32
 553 |   MAX_SERVER_WAIT_TIMEOUT = 0x9111
 554 |
 555 |
 556 |   public export
 557 |   MAX_TEXTURE_LOD_BIAS : Bits32
 558 |   MAX_TEXTURE_LOD_BIAS = 0x84fd
 559 |
 560 |
 561 |   public export
 562 |   MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS : Bits32
 563 |   MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8c8a
 564 |
 565 |
 566 |   public export
 567 |   MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS : Bits32
 568 |   MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8c8b
 569 |
 570 |
 571 |   public export
 572 |   MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS : Bits32
 573 |   MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8c80
 574 |
 575 |
 576 |   public export
 577 |   MAX_UNIFORM_BLOCK_SIZE : Bits32
 578 |   MAX_UNIFORM_BLOCK_SIZE = 0x8a30
 579 |
 580 |
 581 |   public export
 582 |   MAX_UNIFORM_BUFFER_BINDINGS : Bits32
 583 |   MAX_UNIFORM_BUFFER_BINDINGS = 0x8a2f
 584 |
 585 |
 586 |   public export
 587 |   MAX_VARYING_COMPONENTS : Bits32
 588 |   MAX_VARYING_COMPONENTS = 0x8b4b
 589 |
 590 |
 591 |   public export
 592 |   MAX_VERTEX_OUTPUT_COMPONENTS : Bits32
 593 |   MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122
 594 |
 595 |
 596 |   public export
 597 |   MAX_VERTEX_UNIFORM_BLOCKS : Bits32
 598 |   MAX_VERTEX_UNIFORM_BLOCKS = 0x8a2b
 599 |
 600 |
 601 |   public export
 602 |   MAX_VERTEX_UNIFORM_COMPONENTS : Bits32
 603 |   MAX_VERTEX_UNIFORM_COMPONENTS = 0x8b4a
 604 |
 605 |
 606 |   public export
 607 |   MIN : Bits32
 608 |   MIN = 0x8007
 609 |
 610 |
 611 |   public export
 612 |   MIN_PROGRAM_TEXEL_OFFSET : Bits32
 613 |   MIN_PROGRAM_TEXEL_OFFSET = 0x8904
 614 |
 615 |
 616 |   public export
 617 |   OBJECT_TYPE : Bits32
 618 |   OBJECT_TYPE = 0x9112
 619 |
 620 |
 621 |   public export
 622 |   PACK_ROW_LENGTH : Bits32
 623 |   PACK_ROW_LENGTH = 0xd02
 624 |
 625 |
 626 |   public export
 627 |   PACK_SKIP_PIXELS : Bits32
 628 |   PACK_SKIP_PIXELS = 0xd04
 629 |
 630 |
 631 |   public export
 632 |   PACK_SKIP_ROWS : Bits32
 633 |   PACK_SKIP_ROWS = 0xd03
 634 |
 635 |
 636 |   public export
 637 |   PIXEL_PACK_BUFFER : Bits32
 638 |   PIXEL_PACK_BUFFER = 0x88eb
 639 |
 640 |
 641 |   public export
 642 |   PIXEL_PACK_BUFFER_BINDING : Bits32
 643 |   PIXEL_PACK_BUFFER_BINDING = 0x88ed
 644 |
 645 |
 646 |   public export
 647 |   PIXEL_UNPACK_BUFFER : Bits32
 648 |   PIXEL_UNPACK_BUFFER = 0x88ec
 649 |
 650 |
 651 |   public export
 652 |   PIXEL_UNPACK_BUFFER_BINDING : Bits32
 653 |   PIXEL_UNPACK_BUFFER_BINDING = 0x88ef
 654 |
 655 |
 656 |   public export
 657 |   QUERY_RESULT : Bits32
 658 |   QUERY_RESULT = 0x8866
 659 |
 660 |
 661 |   public export
 662 |   QUERY_RESULT_AVAILABLE : Bits32
 663 |   QUERY_RESULT_AVAILABLE = 0x8867
 664 |
 665 |
 666 |   public export
 667 |   R11F_G11F_B10F : Bits32
 668 |   R11F_G11F_B10F = 0x8c3a
 669 |
 670 |
 671 |   public export
 672 |   R16F : Bits32
 673 |   R16F = 0x822d
 674 |
 675 |
 676 |   public export
 677 |   R16I : Bits32
 678 |   R16I = 0x8233
 679 |
 680 |
 681 |   public export
 682 |   R16UI : Bits32
 683 |   R16UI = 0x8234
 684 |
 685 |
 686 |   public export
 687 |   R32F : Bits32
 688 |   R32F = 0x822e
 689 |
 690 |
 691 |   public export
 692 |   R32I : Bits32
 693 |   R32I = 0x8235
 694 |
 695 |
 696 |   public export
 697 |   R32UI : Bits32
 698 |   R32UI = 0x8236
 699 |
 700 |
 701 |   public export
 702 |   R8 : Bits32
 703 |   R8 = 0x8229
 704 |
 705 |
 706 |   public export
 707 |   R8I : Bits32
 708 |   R8I = 0x8231
 709 |
 710 |
 711 |   public export
 712 |   R8UI : Bits32
 713 |   R8UI = 0x8232
 714 |
 715 |
 716 |   public export
 717 |   R8_SNORM : Bits32
 718 |   R8_SNORM = 0x8f94
 719 |
 720 |
 721 |   public export
 722 |   RASTERIZER_DISCARD : Bits32
 723 |   RASTERIZER_DISCARD = 0x8c89
 724 |
 725 |
 726 |   public export
 727 |   READ_BUFFER : Bits32
 728 |   READ_BUFFER = 0xc02
 729 |
 730 |
 731 |   public export
 732 |   READ_FRAMEBUFFER : Bits32
 733 |   READ_FRAMEBUFFER = 0x8ca8
 734 |
 735 |
 736 |   public export
 737 |   READ_FRAMEBUFFER_BINDING : Bits32
 738 |   READ_FRAMEBUFFER_BINDING = 0x8caa
 739 |
 740 |
 741 |   public export
 742 |   RED : Bits32
 743 |   RED = 0x1903
 744 |
 745 |
 746 |   public export
 747 |   RED_INTEGER : Bits32
 748 |   RED_INTEGER = 0x8d94
 749 |
 750 |
 751 |   public export
 752 |   RENDERBUFFER_SAMPLES : Bits32
 753 |   RENDERBUFFER_SAMPLES = 0x8cab
 754 |
 755 |
 756 |   public export
 757 |   RG : Bits32
 758 |   RG = 0x8227
 759 |
 760 |
 761 |   public export
 762 |   RG16F : Bits32
 763 |   RG16F = 0x822f
 764 |
 765 |
 766 |   public export
 767 |   RG16I : Bits32
 768 |   RG16I = 0x8239
 769 |
 770 |
 771 |   public export
 772 |   RG16UI : Bits32
 773 |   RG16UI = 0x823a
 774 |
 775 |
 776 |   public export
 777 |   RG32F : Bits32
 778 |   RG32F = 0x8230
 779 |
 780 |
 781 |   public export
 782 |   RG32I : Bits32
 783 |   RG32I = 0x823b
 784 |
 785 |
 786 |   public export
 787 |   RG32UI : Bits32
 788 |   RG32UI = 0x823c
 789 |
 790 |
 791 |   public export
 792 |   RG8 : Bits32
 793 |   RG8 = 0x822b
 794 |
 795 |
 796 |   public export
 797 |   RG8I : Bits32
 798 |   RG8I = 0x8237
 799 |
 800 |
 801 |   public export
 802 |   RG8UI : Bits32
 803 |   RG8UI = 0x8238
 804 |
 805 |
 806 |   public export
 807 |   RG8_SNORM : Bits32
 808 |   RG8_SNORM = 0x8f95
 809 |
 810 |
 811 |   public export
 812 |   RGB10_A2 : Bits32
 813 |   RGB10_A2 = 0x8059
 814 |
 815 |
 816 |   public export
 817 |   RGB10_A2UI : Bits32
 818 |   RGB10_A2UI = 0x906f
 819 |
 820 |
 821 |   public export
 822 |   RGB16F : Bits32
 823 |   RGB16F = 0x881b
 824 |
 825 |
 826 |   public export
 827 |   RGB16I : Bits32
 828 |   RGB16I = 0x8d89
 829 |
 830 |
 831 |   public export
 832 |   RGB16UI : Bits32
 833 |   RGB16UI = 0x8d77
 834 |
 835 |
 836 |   public export
 837 |   RGB32F : Bits32
 838 |   RGB32F = 0x8815
 839 |
 840 |
 841 |   public export
 842 |   RGB32I : Bits32
 843 |   RGB32I = 0x8d83
 844 |
 845 |
 846 |   public export
 847 |   RGB32UI : Bits32
 848 |   RGB32UI = 0x8d71
 849 |
 850 |
 851 |   public export
 852 |   RGB8 : Bits32
 853 |   RGB8 = 0x8051
 854 |
 855 |
 856 |   public export
 857 |   RGB8I : Bits32
 858 |   RGB8I = 0x8d8f
 859 |
 860 |
 861 |   public export
 862 |   RGB8UI : Bits32
 863 |   RGB8UI = 0x8d7d
 864 |
 865 |
 866 |   public export
 867 |   RGB8_SNORM : Bits32
 868 |   RGB8_SNORM = 0x8f96
 869 |
 870 |
 871 |   public export
 872 |   RGB9_E5 : Bits32
 873 |   RGB9_E5 = 0x8c3d
 874 |
 875 |
 876 |   public export
 877 |   RGBA16F : Bits32
 878 |   RGBA16F = 0x881a
 879 |
 880 |
 881 |   public export
 882 |   RGBA16I : Bits32
 883 |   RGBA16I = 0x8d88
 884 |
 885 |
 886 |   public export
 887 |   RGBA16UI : Bits32
 888 |   RGBA16UI = 0x8d76
 889 |
 890 |
 891 |   public export
 892 |   RGBA32F : Bits32
 893 |   RGBA32F = 0x8814
 894 |
 895 |
 896 |   public export
 897 |   RGBA32I : Bits32
 898 |   RGBA32I = 0x8d82
 899 |
 900 |
 901 |   public export
 902 |   RGBA32UI : Bits32
 903 |   RGBA32UI = 0x8d70
 904 |
 905 |
 906 |   public export
 907 |   RGBA8 : Bits32
 908 |   RGBA8 = 0x8058
 909 |
 910 |
 911 |   public export
 912 |   RGBA8I : Bits32
 913 |   RGBA8I = 0x8d8e
 914 |
 915 |
 916 |   public export
 917 |   RGBA8UI : Bits32
 918 |   RGBA8UI = 0x8d7c
 919 |
 920 |
 921 |   public export
 922 |   RGBA8_SNORM : Bits32
 923 |   RGBA8_SNORM = 0x8f97
 924 |
 925 |
 926 |   public export
 927 |   RGBA_INTEGER : Bits32
 928 |   RGBA_INTEGER = 0x8d99
 929 |
 930 |
 931 |   public export
 932 |   RGB_INTEGER : Bits32
 933 |   RGB_INTEGER = 0x8d98
 934 |
 935 |
 936 |   public export
 937 |   RG_INTEGER : Bits32
 938 |   RG_INTEGER = 0x8228
 939 |
 940 |
 941 |   public export
 942 |   SAMPLER_2D_ARRAY : Bits32
 943 |   SAMPLER_2D_ARRAY = 0x8dc1
 944 |
 945 |
 946 |   public export
 947 |   SAMPLER_2D_ARRAY_SHADOW : Bits32
 948 |   SAMPLER_2D_ARRAY_SHADOW = 0x8dc4
 949 |
 950 |
 951 |   public export
 952 |   SAMPLER_2D_SHADOW : Bits32
 953 |   SAMPLER_2D_SHADOW = 0x8b62
 954 |
 955 |
 956 |   public export
 957 |   SAMPLER_3D : Bits32
 958 |   SAMPLER_3D = 0x8b5f
 959 |
 960 |
 961 |   public export
 962 |   SAMPLER_BINDING : Bits32
 963 |   SAMPLER_BINDING = 0x8919
 964 |
 965 |
 966 |   public export
 967 |   SAMPLER_CUBE_SHADOW : Bits32
 968 |   SAMPLER_CUBE_SHADOW = 0x8dc5
 969 |
 970 |
 971 |   public export
 972 |   SEPARATE_ATTRIBS : Bits32
 973 |   SEPARATE_ATTRIBS = 0x8c8d
 974 |
 975 |
 976 |   public export
 977 |   SIGNALED : Bits32
 978 |   SIGNALED = 0x9119
 979 |
 980 |
 981 |   public export
 982 |   SIGNED_NORMALIZED : Bits32
 983 |   SIGNED_NORMALIZED = 0x8f9c
 984 |
 985 |
 986 |   public export
 987 |   SRGB : Bits32
 988 |   SRGB = 0x8c40
 989 |
 990 |
 991 |   public export
 992 |   SRGB8 : Bits32
 993 |   SRGB8 = 0x8c41
 994 |
 995 |
 996 |   public export
 997 |   SRGB8_ALPHA8 : Bits32
 998 |   SRGB8_ALPHA8 = 0x8c43
 999 |
1000 |
1001 |   public export
1002 |   STATIC_COPY : Bits32
1003 |   STATIC_COPY = 0x88e6
1004 |
1005 |
1006 |   public export
1007 |   STATIC_READ : Bits32
1008 |   STATIC_READ = 0x88e5
1009 |
1010 |
1011 |   public export
1012 |   STENCIL : Bits32
1013 |   STENCIL = 0x1802
1014 |
1015 |
1016 |   public export
1017 |   STREAM_COPY : Bits32
1018 |   STREAM_COPY = 0x88e2
1019 |
1020 |
1021 |   public export
1022 |   STREAM_READ : Bits32
1023 |   STREAM_READ = 0x88e1
1024 |
1025 |
1026 |   public export
1027 |   SYNC_CONDITION : Bits32
1028 |   SYNC_CONDITION = 0x9113
1029 |
1030 |
1031 |   public export
1032 |   SYNC_FENCE : Bits32
1033 |   SYNC_FENCE = 0x9116
1034 |
1035 |
1036 |   public export
1037 |   SYNC_FLAGS : Bits32
1038 |   SYNC_FLAGS = 0x9115
1039 |
1040 |
1041 |   public export
1042 |   SYNC_FLUSH_COMMANDS_BIT : Bits32
1043 |   SYNC_FLUSH_COMMANDS_BIT = 0x1
1044 |
1045 |
1046 |   public export
1047 |   SYNC_GPU_COMMANDS_COMPLETE : Bits32
1048 |   SYNC_GPU_COMMANDS_COMPLETE = 0x9117
1049 |
1050 |
1051 |   public export
1052 |   SYNC_STATUS : Bits32
1053 |   SYNC_STATUS = 0x9114
1054 |
1055 |
1056 |   public export
1057 |   TEXTURE_2D_ARRAY : Bits32
1058 |   TEXTURE_2D_ARRAY = 0x8c1a
1059 |
1060 |
1061 |   public export
1062 |   TEXTURE_3D : Bits32
1063 |   TEXTURE_3D = 0x806f
1064 |
1065 |
1066 |   public export
1067 |   TEXTURE_BASE_LEVEL : Bits32
1068 |   TEXTURE_BASE_LEVEL = 0x813c
1069 |
1070 |
1071 |   public export
1072 |   TEXTURE_BINDING_2D_ARRAY : Bits32
1073 |   TEXTURE_BINDING_2D_ARRAY = 0x8c1d
1074 |
1075 |
1076 |   public export
1077 |   TEXTURE_BINDING_3D : Bits32
1078 |   TEXTURE_BINDING_3D = 0x806a
1079 |
1080 |
1081 |   public export
1082 |   TEXTURE_COMPARE_FUNC : Bits32
1083 |   TEXTURE_COMPARE_FUNC = 0x884d
1084 |
1085 |
1086 |   public export
1087 |   TEXTURE_COMPARE_MODE : Bits32
1088 |   TEXTURE_COMPARE_MODE = 0x884c
1089 |
1090 |
1091 |   public export
1092 |   TEXTURE_IMMUTABLE_FORMAT : Bits32
1093 |   TEXTURE_IMMUTABLE_FORMAT = 0x912f
1094 |
1095 |
1096 |   public export
1097 |   TEXTURE_IMMUTABLE_LEVELS : Bits32
1098 |   TEXTURE_IMMUTABLE_LEVELS = 0x82df
1099 |
1100 |
1101 |   public export
1102 |   TEXTURE_MAX_LEVEL : Bits32
1103 |   TEXTURE_MAX_LEVEL = 0x813d
1104 |
1105 |
1106 |   public export
1107 |   TEXTURE_MAX_LOD : Bits32
1108 |   TEXTURE_MAX_LOD = 0x813b
1109 |
1110 |
1111 |   public export
1112 |   TEXTURE_MIN_LOD : Bits32
1113 |   TEXTURE_MIN_LOD = 0x813a
1114 |
1115 |
1116 |   public export
1117 |   TEXTURE_WRAP_R : Bits32
1118 |   TEXTURE_WRAP_R = 0x8072
1119 |
1120 |
1121 |   public export
1122 |   TIMEOUT_EXPIRED : Bits32
1123 |   TIMEOUT_EXPIRED = 0x911b
1124 |
1125 |
1126 |   public export
1127 |   TIMEOUT_IGNORED : JSInt64
1128 |   TIMEOUT_IGNORED = -1
1129 |
1130 |
1131 |   public export
1132 |   TRANSFORM_FEEDBACK : Bits32
1133 |   TRANSFORM_FEEDBACK = 0x8e22
1134 |
1135 |
1136 |   public export
1137 |   TRANSFORM_FEEDBACK_ACTIVE : Bits32
1138 |   TRANSFORM_FEEDBACK_ACTIVE = 0x8e24
1139 |
1140 |
1141 |   public export
1142 |   TRANSFORM_FEEDBACK_BINDING : Bits32
1143 |   TRANSFORM_FEEDBACK_BINDING = 0x8e25
1144 |
1145 |
1146 |   public export
1147 |   TRANSFORM_FEEDBACK_BUFFER : Bits32
1148 |   TRANSFORM_FEEDBACK_BUFFER = 0x8c8e
1149 |
1150 |
1151 |   public export
1152 |   TRANSFORM_FEEDBACK_BUFFER_BINDING : Bits32
1153 |   TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8c8f
1154 |
1155 |
1156 |   public export
1157 |   TRANSFORM_FEEDBACK_BUFFER_MODE : Bits32
1158 |   TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8c7f
1159 |
1160 |
1161 |   public export
1162 |   TRANSFORM_FEEDBACK_BUFFER_SIZE : Bits32
1163 |   TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8c85
1164 |
1165 |
1166 |   public export
1167 |   TRANSFORM_FEEDBACK_BUFFER_START : Bits32
1168 |   TRANSFORM_FEEDBACK_BUFFER_START = 0x8c84
1169 |
1170 |
1171 |   public export
1172 |   TRANSFORM_FEEDBACK_PAUSED : Bits32
1173 |   TRANSFORM_FEEDBACK_PAUSED = 0x8e23
1174 |
1175 |
1176 |   public export
1177 |   TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN : Bits32
1178 |   TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8c88
1179 |
1180 |
1181 |   public export
1182 |   TRANSFORM_FEEDBACK_VARYINGS : Bits32
1183 |   TRANSFORM_FEEDBACK_VARYINGS = 0x8c83
1184 |
1185 |
1186 |   public export
1187 |   UNIFORM_ARRAY_STRIDE : Bits32
1188 |   UNIFORM_ARRAY_STRIDE = 0x8a3c
1189 |
1190 |
1191 |   public export
1192 |   UNIFORM_BLOCK_ACTIVE_UNIFORMS : Bits32
1193 |   UNIFORM_BLOCK_ACTIVE_UNIFORMS = 0x8a42
1194 |
1195 |
1196 |   public export
1197 |   UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES : Bits32
1198 |   UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8a43
1199 |
1200 |
1201 |   public export
1202 |   UNIFORM_BLOCK_BINDING : Bits32
1203 |   UNIFORM_BLOCK_BINDING = 0x8a3f
1204 |
1205 |
1206 |   public export
1207 |   UNIFORM_BLOCK_DATA_SIZE : Bits32
1208 |   UNIFORM_BLOCK_DATA_SIZE = 0x8a40
1209 |
1210 |
1211 |   public export
1212 |   UNIFORM_BLOCK_INDEX : Bits32
1213 |   UNIFORM_BLOCK_INDEX = 0x8a3a
1214 |
1215 |
1216 |   public export
1217 |   UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER : Bits32
1218 |   UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8a46
1219 |
1220 |
1221 |   public export
1222 |   UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER : Bits32
1223 |   UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8a44
1224 |
1225 |
1226 |   public export
1227 |   UNIFORM_BUFFER : Bits32
1228 |   UNIFORM_BUFFER = 0x8a11
1229 |
1230 |
1231 |   public export
1232 |   UNIFORM_BUFFER_BINDING : Bits32
1233 |   UNIFORM_BUFFER_BINDING = 0x8a28
1234 |
1235 |
1236 |   public export
1237 |   UNIFORM_BUFFER_OFFSET_ALIGNMENT : Bits32
1238 |   UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8a34
1239 |
1240 |
1241 |   public export
1242 |   UNIFORM_BUFFER_SIZE : Bits32
1243 |   UNIFORM_BUFFER_SIZE = 0x8a2a
1244 |
1245 |
1246 |   public export
1247 |   UNIFORM_BUFFER_START : Bits32
1248 |   UNIFORM_BUFFER_START = 0x8a29
1249 |
1250 |
1251 |   public export
1252 |   UNIFORM_IS_ROW_MAJOR : Bits32
1253 |   UNIFORM_IS_ROW_MAJOR = 0x8a3e
1254 |
1255 |
1256 |   public export
1257 |   UNIFORM_MATRIX_STRIDE : Bits32
1258 |   UNIFORM_MATRIX_STRIDE = 0x8a3d
1259 |
1260 |
1261 |   public export
1262 |   UNIFORM_OFFSET : Bits32
1263 |   UNIFORM_OFFSET = 0x8a3b
1264 |
1265 |
1266 |   public export
1267 |   UNIFORM_SIZE : Bits32
1268 |   UNIFORM_SIZE = 0x8a38
1269 |
1270 |
1271 |   public export
1272 |   UNIFORM_TYPE : Bits32
1273 |   UNIFORM_TYPE = 0x8a37
1274 |
1275 |
1276 |   public export
1277 |   UNPACK_IMAGE_HEIGHT : Bits32
1278 |   UNPACK_IMAGE_HEIGHT = 0x806e
1279 |
1280 |
1281 |   public export
1282 |   UNPACK_ROW_LENGTH : Bits32
1283 |   UNPACK_ROW_LENGTH = 0xcf2
1284 |
1285 |
1286 |   public export
1287 |   UNPACK_SKIP_IMAGES : Bits32
1288 |   UNPACK_SKIP_IMAGES = 0x806d
1289 |
1290 |
1291 |   public export
1292 |   UNPACK_SKIP_PIXELS : Bits32
1293 |   UNPACK_SKIP_PIXELS = 0xcf4
1294 |
1295 |
1296 |   public export
1297 |   UNPACK_SKIP_ROWS : Bits32
1298 |   UNPACK_SKIP_ROWS = 0xcf3
1299 |
1300 |
1301 |   public export
1302 |   UNSIGNALED : Bits32
1303 |   UNSIGNALED = 0x9118
1304 |
1305 |
1306 |   public export
1307 |   UNSIGNED_INT_10F_11F_11F_REV : Bits32
1308 |   UNSIGNED_INT_10F_11F_11F_REV = 0x8c3b
1309 |
1310 |
1311 |   public export
1312 |   UNSIGNED_INT_24_8 : Bits32
1313 |   UNSIGNED_INT_24_8 = 0x84fa
1314 |
1315 |
1316 |   public export
1317 |   UNSIGNED_INT_2_10_10_10_REV : Bits32
1318 |   UNSIGNED_INT_2_10_10_10_REV = 0x8368
1319 |
1320 |
1321 |   public export
1322 |   UNSIGNED_INT_5_9_9_9_REV : Bits32
1323 |   UNSIGNED_INT_5_9_9_9_REV = 0x8c3e
1324 |
1325 |
1326 |   public export
1327 |   UNSIGNED_INT_SAMPLER_2D : Bits32
1328 |   UNSIGNED_INT_SAMPLER_2D = 0x8dd2
1329 |
1330 |
1331 |   public export
1332 |   UNSIGNED_INT_SAMPLER_2D_ARRAY : Bits32
1333 |   UNSIGNED_INT_SAMPLER_2D_ARRAY = 0x8dd7
1334 |
1335 |
1336 |   public export
1337 |   UNSIGNED_INT_SAMPLER_3D : Bits32
1338 |   UNSIGNED_INT_SAMPLER_3D = 0x8dd3
1339 |
1340 |
1341 |   public export
1342 |   UNSIGNED_INT_SAMPLER_CUBE : Bits32
1343 |   UNSIGNED_INT_SAMPLER_CUBE = 0x8dd4
1344 |
1345 |
1346 |   public export
1347 |   UNSIGNED_INT_VEC2 : Bits32
1348 |   UNSIGNED_INT_VEC2 = 0x8dc6
1349 |
1350 |
1351 |   public export
1352 |   UNSIGNED_INT_VEC3 : Bits32
1353 |   UNSIGNED_INT_VEC3 = 0x8dc7
1354 |
1355 |
1356 |   public export
1357 |   UNSIGNED_INT_VEC4 : Bits32
1358 |   UNSIGNED_INT_VEC4 = 0x8dc8
1359 |
1360 |
1361 |   public export
1362 |   UNSIGNED_NORMALIZED : Bits32
1363 |   UNSIGNED_NORMALIZED = 0x8c17
1364 |
1365 |
1366 |   public export
1367 |   VERTEX_ARRAY_BINDING : Bits32
1368 |   VERTEX_ARRAY_BINDING = 0x85b5
1369 |
1370 |
1371 |   public export
1372 |   VERTEX_ATTRIB_ARRAY_DIVISOR : Bits32
1373 |   VERTEX_ATTRIB_ARRAY_DIVISOR = 0x88fe
1374 |
1375 |
1376 |   public export
1377 |   VERTEX_ATTRIB_ARRAY_INTEGER : Bits32
1378 |   VERTEX_ATTRIB_ARRAY_INTEGER = 0x88fd
1379 |
1380 |
1381 |   public export
1382 |   WAIT_FAILED : Bits32
1383 |   WAIT_FAILED = 0x911d
1384 |
1385 |
1386 |   export
1387 |   beginQuery :
1388 |        {auto 0 _ : JSType t1}
1389 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1390 |     -> (obj : t1)
1391 |     -> (target : Bits32)
1392 |     -> (query : WebGLQuery)
1393 |     -> JSIO ()
1394 |   beginQuery a b c = primJS $
1395 |     WebGL2RenderingContextBase.prim__beginQuery (up a) b c
1396 |
1397 |
1398 |   export
1399 |   beginTransformFeedback :
1400 |        {auto 0 _ : JSType t1}
1401 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1402 |     -> (obj : t1)
1403 |     -> (primitiveMode : Bits32)
1404 |     -> JSIO ()
1405 |   beginTransformFeedback a b = primJS $
1406 |     WebGL2RenderingContextBase.prim__beginTransformFeedback (up a) b
1407 |
1408 |
1409 |   export
1410 |   bindBufferBase :
1411 |        {auto 0 _ : JSType t1}
1412 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1413 |     -> (obj : t1)
1414 |     -> (target : Bits32)
1415 |     -> (index : Bits32)
1416 |     -> (buffer : Maybe WebGLBuffer)
1417 |     -> JSIO ()
1418 |   bindBufferBase a b c d = primJS $
1419 |     WebGL2RenderingContextBase.prim__bindBufferBase (up a) b c (toFFI d)
1420 |
1421 |
1422 |   export
1423 |   bindBufferRange :
1424 |        {auto 0 _ : JSType t1}
1425 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1426 |     -> (obj : t1)
1427 |     -> (target : Bits32)
1428 |     -> (index : Bits32)
1429 |     -> (buffer : Maybe WebGLBuffer)
1430 |     -> (offset : JSInt64)
1431 |     -> (size : JSInt64)
1432 |     -> JSIO ()
1433 |   bindBufferRange a b c d e f = primJS $
1434 |     WebGL2RenderingContextBase.prim__bindBufferRange (up a) b c (toFFI d) e f
1435 |
1436 |
1437 |   export
1438 |   bindSampler :
1439 |        {auto 0 _ : JSType t1}
1440 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1441 |     -> (obj : t1)
1442 |     -> (unit : Bits32)
1443 |     -> (sampler : Maybe WebGLSampler)
1444 |     -> JSIO ()
1445 |   bindSampler a b c = primJS $
1446 |     WebGL2RenderingContextBase.prim__bindSampler (up a) b (toFFI c)
1447 |
1448 |
1449 |   export
1450 |   bindTransformFeedback :
1451 |        {auto 0 _ : JSType t1}
1452 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1453 |     -> (obj : t1)
1454 |     -> (target : Bits32)
1455 |     -> (tf : Maybe WebGLTransformFeedback)
1456 |     -> JSIO ()
1457 |   bindTransformFeedback a b c = primJS $
1458 |     WebGL2RenderingContextBase.prim__bindTransformFeedback (up a) b (toFFI c)
1459 |
1460 |
1461 |   export
1462 |   bindVertexArray :
1463 |        {auto 0 _ : JSType t1}
1464 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1465 |     -> (obj : t1)
1466 |     -> (array : Maybe WebGLVertexArrayObject)
1467 |     -> JSIO ()
1468 |   bindVertexArray a b = primJS $
1469 |     WebGL2RenderingContextBase.prim__bindVertexArray (up a) (toFFI b)
1470 |
1471 |
1472 |   export
1473 |   blitFramebuffer :
1474 |        {auto 0 _ : JSType t1}
1475 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1476 |     -> (obj : t1)
1477 |     -> (srcX0 : Int32)
1478 |     -> (srcY0 : Int32)
1479 |     -> (srcX1 : Int32)
1480 |     -> (srcY1 : Int32)
1481 |     -> (dstX0 : Int32)
1482 |     -> (dstY0 : Int32)
1483 |     -> (dstX1 : Int32)
1484 |     -> (dstY1 : Int32)
1485 |     -> (mask : Bits32)
1486 |     -> (filter : Bits32)
1487 |     -> JSIO ()
1488 |   blitFramebuffer a b c d e f g h i j k = primJS $
1489 |     WebGL2RenderingContextBase.prim__blitFramebuffer (up a) b c d e f g h i j k
1490 |
1491 |
1492 |   export
1493 |   clearBufferfi :
1494 |        {auto 0 _ : JSType t1}
1495 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1496 |     -> (obj : t1)
1497 |     -> (buffer : Bits32)
1498 |     -> (drawbuffer : Int32)
1499 |     -> (depth : Double)
1500 |     -> (stencil : Int32)
1501 |     -> JSIO ()
1502 |   clearBufferfi a b c d e = primJS $
1503 |     WebGL2RenderingContextBase.prim__clearBufferfi (up a) b c d e
1504 |
1505 |
1506 |   export
1507 |   clearBufferfv' :
1508 |        {auto 0 _ : JSType t1}
1509 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1510 |     -> (obj : t1)
1511 |     -> (buffer : Bits32)
1512 |     -> (drawbuffer : Int32)
1513 |     -> (values : HSum [Float32Array, Array Double])
1514 |     -> (srcOffset : Optional Bits32)
1515 |     -> JSIO ()
1516 |   clearBufferfv' a b c d e = primJS $
1517 |     WebGL2RenderingContextBase.prim__clearBufferfv
1518 |       (up a)
1519 |       b
1520 |       c
1521 |       (toFFI d)
1522 |       (toFFI e)
1523 |
1524 |   export
1525 |   clearBufferfv :
1526 |        {auto 0 _ : JSType t1}
1527 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1528 |     -> (obj : t1)
1529 |     -> (buffer : Bits32)
1530 |     -> (drawbuffer : Int32)
1531 |     -> (values : HSum [Float32Array, Array Double])
1532 |     -> JSIO ()
1533 |   clearBufferfv a b c d = primJS $
1534 |     WebGL2RenderingContextBase.prim__clearBufferfv (up a) b c (toFFI d) undef
1535 |
1536 |
1537 |   export
1538 |   clearBufferiv' :
1539 |        {auto 0 _ : JSType t1}
1540 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1541 |     -> (obj : t1)
1542 |     -> (buffer : Bits32)
1543 |     -> (drawbuffer : Int32)
1544 |     -> (values : HSum [Int32Array, Array Int32])
1545 |     -> (srcOffset : Optional Bits32)
1546 |     -> JSIO ()
1547 |   clearBufferiv' a b c d e = primJS $
1548 |     WebGL2RenderingContextBase.prim__clearBufferiv
1549 |       (up a)
1550 |       b
1551 |       c
1552 |       (toFFI d)
1553 |       (toFFI e)
1554 |
1555 |   export
1556 |   clearBufferiv :
1557 |        {auto 0 _ : JSType t1}
1558 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1559 |     -> (obj : t1)
1560 |     -> (buffer : Bits32)
1561 |     -> (drawbuffer : Int32)
1562 |     -> (values : HSum [Int32Array, Array Int32])
1563 |     -> JSIO ()
1564 |   clearBufferiv a b c d = primJS $
1565 |     WebGL2RenderingContextBase.prim__clearBufferiv (up a) b c (toFFI d) undef
1566 |
1567 |
1568 |   export
1569 |   clearBufferuiv' :
1570 |        {auto 0 _ : JSType t1}
1571 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1572 |     -> (obj : t1)
1573 |     -> (buffer : Bits32)
1574 |     -> (drawbuffer : Int32)
1575 |     -> (values : HSum [UInt8Array, Array Bits32])
1576 |     -> (srcOffset : Optional Bits32)
1577 |     -> JSIO ()
1578 |   clearBufferuiv' a b c d e = primJS $
1579 |     WebGL2RenderingContextBase.prim__clearBufferuiv
1580 |       (up a)
1581 |       b
1582 |       c
1583 |       (toFFI d)
1584 |       (toFFI e)
1585 |
1586 |   export
1587 |   clearBufferuiv :
1588 |        {auto 0 _ : JSType t1}
1589 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1590 |     -> (obj : t1)
1591 |     -> (buffer : Bits32)
1592 |     -> (drawbuffer : Int32)
1593 |     -> (values : HSum [UInt8Array, Array Bits32])
1594 |     -> JSIO ()
1595 |   clearBufferuiv a b c d = primJS $
1596 |     WebGL2RenderingContextBase.prim__clearBufferuiv (up a) b c (toFFI d) undef
1597 |
1598 |
1599 |   export
1600 |   clientWaitSync :
1601 |        {auto 0 _ : JSType t1}
1602 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1603 |     -> (obj : t1)
1604 |     -> (sync : WebGLSync)
1605 |     -> (flags : Bits32)
1606 |     -> (timeout : JSBits64)
1607 |     -> JSIO Bits32
1608 |   clientWaitSync a b c d = primJS $
1609 |     WebGL2RenderingContextBase.prim__clientWaitSync (up a) b c d
1610 |
1611 |
1612 |   export
1613 |   compressedTexImage3D :
1614 |        {auto 0 _ : JSType t1}
1615 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1616 |     -> (obj : t1)
1617 |     -> (target : Bits32)
1618 |     -> (level : Int32)
1619 |     -> (internalformat : Bits32)
1620 |     -> (width : Int32)
1621 |     -> (height : Int32)
1622 |     -> (depth : Int32)
1623 |     -> (border : Int32)
1624 |     -> (imageSize : Int32)
1625 |     -> (offset : JSInt64)
1626 |     -> JSIO ()
1627 |   compressedTexImage3D a b c d e f g h i j = primJS $
1628 |     WebGL2RenderingContextBase.prim__compressedTexImage3D
1629 |       (up a)
1630 |       b
1631 |       c
1632 |       d
1633 |       e
1634 |       f
1635 |       g
1636 |       h
1637 |       i
1638 |       j
1639 |
1640 |
1641 |   export
1642 |   compressedTexImage3D1' :
1643 |        {auto 0 _ : JSType t1}
1644 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1645 |     -> (obj : t1)
1646 |     -> (target : Bits32)
1647 |     -> (level : Int32)
1648 |     -> (internalformat : Bits32)
1649 |     -> (width : Int32)
1650 |     -> (height : Int32)
1651 |     -> (depth : Int32)
1652 |     -> (border : Int32)
1653 |     -> (srcData : HSum
1654 |                     [ Int8Array
1655 |                     , Int16Array
1656 |                     , Int32Array
1657 |                     , UInt8Array
1658 |                     , UInt8Array
1659 |                     , UInt8Array
1660 |                     , UInt8ClampedArray
1661 |                     , Float32Array
1662 |                     , Float64Array
1663 |                     , DataView
1664 |                     ])
1665 |     -> (srcOffset : Optional Bits32)
1666 |     -> (srcLengthOverride : Optional Bits32)
1667 |     -> JSIO ()
1668 |   compressedTexImage3D1' a b c d e f g h i j k = primJS $
1669 |     WebGL2RenderingContextBase.prim__compressedTexImage3D1
1670 |       (up a)
1671 |       b
1672 |       c
1673 |       d
1674 |       e
1675 |       f
1676 |       g
1677 |       h
1678 |       (toFFI i)
1679 |       (toFFI j)
1680 |       (toFFI k)
1681 |
1682 |   export
1683 |   compressedTexImage3D1 :
1684 |        {auto 0 _ : JSType t1}
1685 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1686 |     -> (obj : t1)
1687 |     -> (target : Bits32)
1688 |     -> (level : Int32)
1689 |     -> (internalformat : Bits32)
1690 |     -> (width : Int32)
1691 |     -> (height : Int32)
1692 |     -> (depth : Int32)
1693 |     -> (border : Int32)
1694 |     -> (srcData : HSum
1695 |                     [ Int8Array
1696 |                     , Int16Array
1697 |                     , Int32Array
1698 |                     , UInt8Array
1699 |                     , UInt8Array
1700 |                     , UInt8Array
1701 |                     , UInt8ClampedArray
1702 |                     , Float32Array
1703 |                     , Float64Array
1704 |                     , DataView
1705 |                     ])
1706 |     -> JSIO ()
1707 |   compressedTexImage3D1 a b c d e f g h i = primJS $
1708 |     WebGL2RenderingContextBase.prim__compressedTexImage3D1
1709 |       (up a)
1710 |       b
1711 |       c
1712 |       d
1713 |       e
1714 |       f
1715 |       g
1716 |       h
1717 |       (toFFI i)
1718 |       undef
1719 |       undef
1720 |
1721 |
1722 |   export
1723 |   compressedTexSubImage3D :
1724 |        {auto 0 _ : JSType t1}
1725 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1726 |     -> (obj : t1)
1727 |     -> (target : Bits32)
1728 |     -> (level : Int32)
1729 |     -> (xoffset : Int32)
1730 |     -> (yoffset : Int32)
1731 |     -> (zoffset : Int32)
1732 |     -> (width : Int32)
1733 |     -> (height : Int32)
1734 |     -> (depth : Int32)
1735 |     -> (format : Bits32)
1736 |     -> (imageSize : Int32)
1737 |     -> (offset : JSInt64)
1738 |     -> JSIO ()
1739 |   compressedTexSubImage3D a b c d e f g h i j k l = primJS $
1740 |     WebGL2RenderingContextBase.prim__compressedTexSubImage3D
1741 |       (up a)
1742 |       b
1743 |       c
1744 |       d
1745 |       e
1746 |       f
1747 |       g
1748 |       h
1749 |       i
1750 |       j
1751 |       k
1752 |       l
1753 |
1754 |
1755 |   export
1756 |   compressedTexSubImage3D1' :
1757 |        {auto 0 _ : JSType t1}
1758 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1759 |     -> (obj : t1)
1760 |     -> (target : Bits32)
1761 |     -> (level : Int32)
1762 |     -> (xoffset : Int32)
1763 |     -> (yoffset : Int32)
1764 |     -> (zoffset : Int32)
1765 |     -> (width : Int32)
1766 |     -> (height : Int32)
1767 |     -> (depth : Int32)
1768 |     -> (format : Bits32)
1769 |     -> (srcData : HSum
1770 |                     [ Int8Array
1771 |                     , Int16Array
1772 |                     , Int32Array
1773 |                     , UInt8Array
1774 |                     , UInt8Array
1775 |                     , UInt8Array
1776 |                     , UInt8ClampedArray
1777 |                     , Float32Array
1778 |                     , Float64Array
1779 |                     , DataView
1780 |                     ])
1781 |     -> (srcOffset : Optional Bits32)
1782 |     -> (srcLengthOverride : Optional Bits32)
1783 |     -> JSIO ()
1784 |   compressedTexSubImage3D1' a b c d e f g h i j k l m = primJS $
1785 |     WebGL2RenderingContextBase.prim__compressedTexSubImage3D1
1786 |       (up a)
1787 |       b
1788 |       c
1789 |       d
1790 |       e
1791 |       f
1792 |       g
1793 |       h
1794 |       i
1795 |       j
1796 |       (toFFI k)
1797 |       (toFFI l)
1798 |       (toFFI m)
1799 |
1800 |   export
1801 |   compressedTexSubImage3D1 :
1802 |        {auto 0 _ : JSType t1}
1803 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1804 |     -> (obj : t1)
1805 |     -> (target : Bits32)
1806 |     -> (level : Int32)
1807 |     -> (xoffset : Int32)
1808 |     -> (yoffset : Int32)
1809 |     -> (zoffset : Int32)
1810 |     -> (width : Int32)
1811 |     -> (height : Int32)
1812 |     -> (depth : Int32)
1813 |     -> (format : Bits32)
1814 |     -> (srcData : HSum
1815 |                     [ Int8Array
1816 |                     , Int16Array
1817 |                     , Int32Array
1818 |                     , UInt8Array
1819 |                     , UInt8Array
1820 |                     , UInt8Array
1821 |                     , UInt8ClampedArray
1822 |                     , Float32Array
1823 |                     , Float64Array
1824 |                     , DataView
1825 |                     ])
1826 |     -> JSIO ()
1827 |   compressedTexSubImage3D1 a b c d e f g h i j k = primJS $
1828 |     WebGL2RenderingContextBase.prim__compressedTexSubImage3D1
1829 |       (up a)
1830 |       b
1831 |       c
1832 |       d
1833 |       e
1834 |       f
1835 |       g
1836 |       h
1837 |       i
1838 |       j
1839 |       (toFFI k)
1840 |       undef
1841 |       undef
1842 |
1843 |
1844 |   export
1845 |   copyBufferSubData :
1846 |        {auto 0 _ : JSType t1}
1847 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1848 |     -> (obj : t1)
1849 |     -> (readTarget : Bits32)
1850 |     -> (writeTarget : Bits32)
1851 |     -> (readOffset : JSInt64)
1852 |     -> (writeOffset : JSInt64)
1853 |     -> (size : JSInt64)
1854 |     -> JSIO ()
1855 |   copyBufferSubData a b c d e f = primJS $
1856 |     WebGL2RenderingContextBase.prim__copyBufferSubData (up a) b c d e f
1857 |
1858 |
1859 |   export
1860 |   copyTexSubImage3D :
1861 |        {auto 0 _ : JSType t1}
1862 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1863 |     -> (obj : t1)
1864 |     -> (target : Bits32)
1865 |     -> (level : Int32)
1866 |     -> (xoffset : Int32)
1867 |     -> (yoffset : Int32)
1868 |     -> (zoffset : Int32)
1869 |     -> (x : Int32)
1870 |     -> (y : Int32)
1871 |     -> (width : Int32)
1872 |     -> (height : Int32)
1873 |     -> JSIO ()
1874 |   copyTexSubImage3D a b c d e f g h i j = primJS $
1875 |     WebGL2RenderingContextBase.prim__copyTexSubImage3D (up a) b c d e f g h i j
1876 |
1877 |
1878 |   export
1879 |   createQuery :
1880 |        {auto 0 _ : JSType t1}
1881 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1882 |     -> (obj : t1)
1883 |     -> JSIO (Maybe WebGLQuery)
1884 |   createQuery a = tryJS "WebGL2RenderingContextBase.createQuery" $
1885 |     WebGL2RenderingContextBase.prim__createQuery (up a)
1886 |
1887 |
1888 |   export
1889 |   createSampler :
1890 |        {auto 0 _ : JSType t1}
1891 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1892 |     -> (obj : t1)
1893 |     -> JSIO (Maybe WebGLSampler)
1894 |   createSampler a = tryJS "WebGL2RenderingContextBase.createSampler" $
1895 |     WebGL2RenderingContextBase.prim__createSampler (up a)
1896 |
1897 |
1898 |   export
1899 |   createTransformFeedback :
1900 |        {auto 0 _ : JSType t1}
1901 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1902 |     -> (obj : t1)
1903 |     -> JSIO (Maybe WebGLTransformFeedback)
1904 |   createTransformFeedback a = tryJS "WebGL2RenderingContextBase.createTransformFeedback" $
1905 |     WebGL2RenderingContextBase.prim__createTransformFeedback (up a)
1906 |
1907 |
1908 |   export
1909 |   createVertexArray :
1910 |        {auto 0 _ : JSType t1}
1911 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1912 |     -> (obj : t1)
1913 |     -> JSIO (Maybe WebGLVertexArrayObject)
1914 |   createVertexArray a = tryJS "WebGL2RenderingContextBase.createVertexArray" $
1915 |     WebGL2RenderingContextBase.prim__createVertexArray (up a)
1916 |
1917 |
1918 |   export
1919 |   deleteQuery :
1920 |        {auto 0 _ : JSType t1}
1921 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1922 |     -> (obj : t1)
1923 |     -> (query : Maybe WebGLQuery)
1924 |     -> JSIO ()
1925 |   deleteQuery a b = primJS $
1926 |     WebGL2RenderingContextBase.prim__deleteQuery (up a) (toFFI b)
1927 |
1928 |
1929 |   export
1930 |   deleteSampler :
1931 |        {auto 0 _ : JSType t1}
1932 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1933 |     -> (obj : t1)
1934 |     -> (sampler : Maybe WebGLSampler)
1935 |     -> JSIO ()
1936 |   deleteSampler a b = primJS $
1937 |     WebGL2RenderingContextBase.prim__deleteSampler (up a) (toFFI b)
1938 |
1939 |
1940 |   export
1941 |   deleteSync :
1942 |        {auto 0 _ : JSType t1}
1943 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1944 |     -> (obj : t1)
1945 |     -> (sync : Maybe WebGLSync)
1946 |     -> JSIO ()
1947 |   deleteSync a b = primJS $
1948 |     WebGL2RenderingContextBase.prim__deleteSync (up a) (toFFI b)
1949 |
1950 |
1951 |   export
1952 |   deleteTransformFeedback :
1953 |        {auto 0 _ : JSType t1}
1954 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1955 |     -> (obj : t1)
1956 |     -> (tf : Maybe WebGLTransformFeedback)
1957 |     -> JSIO ()
1958 |   deleteTransformFeedback a b = primJS $
1959 |     WebGL2RenderingContextBase.prim__deleteTransformFeedback (up a) (toFFI b)
1960 |
1961 |
1962 |   export
1963 |   deleteVertexArray :
1964 |        {auto 0 _ : JSType t1}
1965 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1966 |     -> (obj : t1)
1967 |     -> (vertexArray : Maybe WebGLVertexArrayObject)
1968 |     -> JSIO ()
1969 |   deleteVertexArray a b = primJS $
1970 |     WebGL2RenderingContextBase.prim__deleteVertexArray (up a) (toFFI b)
1971 |
1972 |
1973 |   export
1974 |   drawArraysInstanced :
1975 |        {auto 0 _ : JSType t1}
1976 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1977 |     -> (obj : t1)
1978 |     -> (mode : Bits32)
1979 |     -> (first : Int32)
1980 |     -> (count : Int32)
1981 |     -> (instanceCount : Int32)
1982 |     -> JSIO ()
1983 |   drawArraysInstanced a b c d e = primJS $
1984 |     WebGL2RenderingContextBase.prim__drawArraysInstanced (up a) b c d e
1985 |
1986 |
1987 |   export
1988 |   drawBuffers :
1989 |        {auto 0 _ : JSType t1}
1990 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
1991 |     -> (obj : t1)
1992 |     -> (buffers : Array Bits32)
1993 |     -> JSIO ()
1994 |   drawBuffers a b = primJS $
1995 |     WebGL2RenderingContextBase.prim__drawBuffers (up a) b
1996 |
1997 |
1998 |   export
1999 |   drawElementsInstanced :
2000 |        {auto 0 _ : JSType t1}
2001 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2002 |     -> (obj : t1)
2003 |     -> (mode : Bits32)
2004 |     -> (count : Int32)
2005 |     -> (type : Bits32)
2006 |     -> (offset : JSInt64)
2007 |     -> (instanceCount : Int32)
2008 |     -> JSIO ()
2009 |   drawElementsInstanced a b c d e f = primJS $
2010 |     WebGL2RenderingContextBase.prim__drawElementsInstanced (up a) b c d e f
2011 |
2012 |
2013 |   export
2014 |   drawRangeElements :
2015 |        {auto 0 _ : JSType t1}
2016 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2017 |     -> (obj : t1)
2018 |     -> (mode : Bits32)
2019 |     -> (start : Bits32)
2020 |     -> (end : Bits32)
2021 |     -> (count : Int32)
2022 |     -> (type : Bits32)
2023 |     -> (offset : JSInt64)
2024 |     -> JSIO ()
2025 |   drawRangeElements a b c d e f g = primJS $
2026 |     WebGL2RenderingContextBase.prim__drawRangeElements (up a) b c d e f g
2027 |
2028 |
2029 |   export
2030 |   endQuery :
2031 |        {auto 0 _ : JSType t1}
2032 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2033 |     -> (obj : t1)
2034 |     -> (target : Bits32)
2035 |     -> JSIO ()
2036 |   endQuery a b = primJS $ WebGL2RenderingContextBase.prim__endQuery (up a) b
2037 |
2038 |
2039 |   export
2040 |   endTransformFeedback :
2041 |        {auto 0 _ : JSType t1}
2042 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2043 |     -> (obj : t1)
2044 |     -> JSIO ()
2045 |   endTransformFeedback a = primJS $
2046 |     WebGL2RenderingContextBase.prim__endTransformFeedback (up a)
2047 |
2048 |
2049 |   export
2050 |   fenceSync :
2051 |        {auto 0 _ : JSType t1}
2052 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2053 |     -> (obj : t1)
2054 |     -> (condition : Bits32)
2055 |     -> (flags : Bits32)
2056 |     -> JSIO (Maybe WebGLSync)
2057 |   fenceSync a b c = tryJS "WebGL2RenderingContextBase.fenceSync" $
2058 |     WebGL2RenderingContextBase.prim__fenceSync (up a) b c
2059 |
2060 |
2061 |   export
2062 |   framebufferTextureLayer :
2063 |        {auto 0 _ : JSType t1}
2064 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2065 |     -> (obj : t1)
2066 |     -> (target : Bits32)
2067 |     -> (attachment : Bits32)
2068 |     -> (texture : Maybe WebGLTexture)
2069 |     -> (level : Int32)
2070 |     -> (layer : Int32)
2071 |     -> JSIO ()
2072 |   framebufferTextureLayer a b c d e f = primJS $
2073 |     WebGL2RenderingContextBase.prim__framebufferTextureLayer
2074 |       (up a)
2075 |       b
2076 |       c
2077 |       (toFFI d)
2078 |       e
2079 |       f
2080 |
2081 |
2082 |   export
2083 |   getActiveUniformBlockName :
2084 |        {auto 0 _ : JSType t1}
2085 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2086 |     -> (obj : t1)
2087 |     -> (program : WebGLProgram)
2088 |     -> (uniformBlockIndex : Bits32)
2089 |     -> JSIO (Maybe String)
2090 |   getActiveUniformBlockName a b c = tryJS "WebGL2RenderingContextBase.getActiveUniformBlockName" $
2091 |     WebGL2RenderingContextBase.prim__getActiveUniformBlockName (up a) b c
2092 |
2093 |
2094 |   export
2095 |   getActiveUniformBlockParameter :
2096 |        {auto 0 _ : JSType t1}
2097 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2098 |     -> (obj : t1)
2099 |     -> (program : WebGLProgram)
2100 |     -> (uniformBlockIndex : Bits32)
2101 |     -> (pname : Bits32)
2102 |     -> JSIO Any
2103 |   getActiveUniformBlockParameter a b c d = tryJS "WebGL2RenderingContextBase.getActiveUniformBlockParameter" $
2104 |     WebGL2RenderingContextBase.prim__getActiveUniformBlockParameter (up a) b c d
2105 |
2106 |
2107 |   export
2108 |   getActiveUniforms :
2109 |        {auto 0 _ : JSType t1}
2110 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2111 |     -> (obj : t1)
2112 |     -> (program : WebGLProgram)
2113 |     -> (uniformIndices : Array Bits32)
2114 |     -> (pname : Bits32)
2115 |     -> JSIO Any
2116 |   getActiveUniforms a b c d = tryJS "WebGL2RenderingContextBase.getActiveUniforms" $
2117 |     WebGL2RenderingContextBase.prim__getActiveUniforms (up a) b c d
2118 |
2119 |
2120 |   export
2121 |   getBufferSubData' :
2122 |        {auto 0 _ : JSType t1}
2123 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2124 |     -> (obj : t1)
2125 |     -> (target : Bits32)
2126 |     -> (srcByteOffset : JSInt64)
2127 |     -> (dstBuffer : HSum
2128 |                       [ Int8Array
2129 |                       , Int16Array
2130 |                       , Int32Array
2131 |                       , UInt8Array
2132 |                       , UInt8Array
2133 |                       , UInt8Array
2134 |                       , UInt8ClampedArray
2135 |                       , Float32Array
2136 |                       , Float64Array
2137 |                       , DataView
2138 |                       ])
2139 |     -> (dstOffset : Optional Bits32)
2140 |     -> (length : Optional Bits32)
2141 |     -> JSIO ()
2142 |   getBufferSubData' a b c d e f = primJS $
2143 |     WebGL2RenderingContextBase.prim__getBufferSubData
2144 |       (up a)
2145 |       b
2146 |       c
2147 |       (toFFI d)
2148 |       (toFFI e)
2149 |       (toFFI f)
2150 |
2151 |   export
2152 |   getBufferSubData :
2153 |        {auto 0 _ : JSType t1}
2154 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2155 |     -> (obj : t1)
2156 |     -> (target : Bits32)
2157 |     -> (srcByteOffset : JSInt64)
2158 |     -> (dstBuffer : HSum
2159 |                       [ Int8Array
2160 |                       , Int16Array
2161 |                       , Int32Array
2162 |                       , UInt8Array
2163 |                       , UInt8Array
2164 |                       , UInt8Array
2165 |                       , UInt8ClampedArray
2166 |                       , Float32Array
2167 |                       , Float64Array
2168 |                       , DataView
2169 |                       ])
2170 |     -> JSIO ()
2171 |   getBufferSubData a b c d = primJS $
2172 |     WebGL2RenderingContextBase.prim__getBufferSubData
2173 |       (up a)
2174 |       b
2175 |       c
2176 |       (toFFI d)
2177 |       undef
2178 |       undef
2179 |
2180 |
2181 |   export
2182 |   getFragDataLocation :
2183 |        {auto 0 _ : JSType t1}
2184 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2185 |     -> (obj : t1)
2186 |     -> (program : WebGLProgram)
2187 |     -> (name : String)
2188 |     -> JSIO Int32
2189 |   getFragDataLocation a b c = primJS $
2190 |     WebGL2RenderingContextBase.prim__getFragDataLocation (up a) b c
2191 |
2192 |
2193 |   export
2194 |   getIndexedParameter :
2195 |        {auto 0 _ : JSType t1}
2196 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2197 |     -> (obj : t1)
2198 |     -> (target : Bits32)
2199 |     -> (index : Bits32)
2200 |     -> JSIO Any
2201 |   getIndexedParameter a b c = tryJS "WebGL2RenderingContextBase.getIndexedParameter" $
2202 |     WebGL2RenderingContextBase.prim__getIndexedParameter (up a) b c
2203 |
2204 |
2205 |   export
2206 |   getInternalformatParameter :
2207 |        {auto 0 _ : JSType t1}
2208 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2209 |     -> (obj : t1)
2210 |     -> (target : Bits32)
2211 |     -> (internalformat : Bits32)
2212 |     -> (pname : Bits32)
2213 |     -> JSIO Any
2214 |   getInternalformatParameter a b c d = tryJS "WebGL2RenderingContextBase.getInternalformatParameter" $
2215 |     WebGL2RenderingContextBase.prim__getInternalformatParameter (up a) b c d
2216 |
2217 |
2218 |   export
2219 |   getQueryParameter :
2220 |        {auto 0 _ : JSType t1}
2221 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2222 |     -> (obj : t1)
2223 |     -> (query : WebGLQuery)
2224 |     -> (pname : Bits32)
2225 |     -> JSIO Any
2226 |   getQueryParameter a b c = tryJS "WebGL2RenderingContextBase.getQueryParameter" $
2227 |     WebGL2RenderingContextBase.prim__getQueryParameter (up a) b c
2228 |
2229 |
2230 |   export
2231 |   getQuery :
2232 |        {auto 0 _ : JSType t1}
2233 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2234 |     -> (obj : t1)
2235 |     -> (target : Bits32)
2236 |     -> (pname : Bits32)
2237 |     -> JSIO (Maybe WebGLQuery)
2238 |   getQuery a b c = tryJS "WebGL2RenderingContextBase.getQuery" $
2239 |     WebGL2RenderingContextBase.prim__getQuery (up a) b c
2240 |
2241 |
2242 |   export
2243 |   getSamplerParameter :
2244 |        {auto 0 _ : JSType t1}
2245 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2246 |     -> (obj : t1)
2247 |     -> (sampler : WebGLSampler)
2248 |     -> (pname : Bits32)
2249 |     -> JSIO Any
2250 |   getSamplerParameter a b c = tryJS "WebGL2RenderingContextBase.getSamplerParameter" $
2251 |     WebGL2RenderingContextBase.prim__getSamplerParameter (up a) b c
2252 |
2253 |
2254 |   export
2255 |   getSyncParameter :
2256 |        {auto 0 _ : JSType t1}
2257 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2258 |     -> (obj : t1)
2259 |     -> (sync : WebGLSync)
2260 |     -> (pname : Bits32)
2261 |     -> JSIO Any
2262 |   getSyncParameter a b c = tryJS "WebGL2RenderingContextBase.getSyncParameter" $
2263 |     WebGL2RenderingContextBase.prim__getSyncParameter (up a) b c
2264 |
2265 |
2266 |   export
2267 |   getTransformFeedbackVarying :
2268 |        {auto 0 _ : JSType t1}
2269 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2270 |     -> (obj : t1)
2271 |     -> (program : WebGLProgram)
2272 |     -> (index : Bits32)
2273 |     -> JSIO (Maybe WebGLActiveInfo)
2274 |   getTransformFeedbackVarying a b c = tryJS "WebGL2RenderingContextBase.getTransformFeedbackVarying" $
2275 |     WebGL2RenderingContextBase.prim__getTransformFeedbackVarying (up a) b c
2276 |
2277 |
2278 |   export
2279 |   getUniformBlockIndex :
2280 |        {auto 0 _ : JSType t1}
2281 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2282 |     -> (obj : t1)
2283 |     -> (program : WebGLProgram)
2284 |     -> (uniformBlockName : String)
2285 |     -> JSIO Bits32
2286 |   getUniformBlockIndex a b c = primJS $
2287 |     WebGL2RenderingContextBase.prim__getUniformBlockIndex (up a) b c
2288 |
2289 |
2290 |   export
2291 |   getUniformIndices :
2292 |        {auto 0 _ : JSType t1}
2293 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2294 |     -> (obj : t1)
2295 |     -> (program : WebGLProgram)
2296 |     -> (uniformNames : Array String)
2297 |     -> JSIO (Maybe (Array Bits32))
2298 |   getUniformIndices a b c = tryJS "WebGL2RenderingContextBase.getUniformIndices" $
2299 |     WebGL2RenderingContextBase.prim__getUniformIndices (up a) b c
2300 |
2301 |
2302 |   export
2303 |   invalidateFramebuffer :
2304 |        {auto 0 _ : JSType t1}
2305 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2306 |     -> (obj : t1)
2307 |     -> (target : Bits32)
2308 |     -> (attachments : Array Bits32)
2309 |     -> JSIO ()
2310 |   invalidateFramebuffer a b c = primJS $
2311 |     WebGL2RenderingContextBase.prim__invalidateFramebuffer (up a) b c
2312 |
2313 |
2314 |   export
2315 |   invalidateSubFramebuffer :
2316 |        {auto 0 _ : JSType t1}
2317 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2318 |     -> (obj : t1)
2319 |     -> (target : Bits32)
2320 |     -> (attachments : Array Bits32)
2321 |     -> (x : Int32)
2322 |     -> (y : Int32)
2323 |     -> (width : Int32)
2324 |     -> (height : Int32)
2325 |     -> JSIO ()
2326 |   invalidateSubFramebuffer a b c d e f g = primJS $
2327 |     WebGL2RenderingContextBase.prim__invalidateSubFramebuffer (up a) b c d e f g
2328 |
2329 |
2330 |   export
2331 |   isQuery :
2332 |        {auto 0 _ : JSType t1}
2333 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2334 |     -> (obj : t1)
2335 |     -> (query : Maybe WebGLQuery)
2336 |     -> JSIO Bool
2337 |   isQuery a b = tryJS "WebGL2RenderingContextBase.isQuery" $
2338 |     WebGL2RenderingContextBase.prim__isQuery (up a) (toFFI b)
2339 |
2340 |
2341 |   export
2342 |   isSampler :
2343 |        {auto 0 _ : JSType t1}
2344 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2345 |     -> (obj : t1)
2346 |     -> (sampler : Maybe WebGLSampler)
2347 |     -> JSIO Bool
2348 |   isSampler a b = tryJS "WebGL2RenderingContextBase.isSampler" $
2349 |     WebGL2RenderingContextBase.prim__isSampler (up a) (toFFI b)
2350 |
2351 |
2352 |   export
2353 |   isSync :
2354 |        {auto 0 _ : JSType t1}
2355 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2356 |     -> (obj : t1)
2357 |     -> (sync : Maybe WebGLSync)
2358 |     -> JSIO Bool
2359 |   isSync a b = tryJS "WebGL2RenderingContextBase.isSync" $
2360 |     WebGL2RenderingContextBase.prim__isSync (up a) (toFFI b)
2361 |
2362 |
2363 |   export
2364 |   isTransformFeedback :
2365 |        {auto 0 _ : JSType t1}
2366 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2367 |     -> (obj : t1)
2368 |     -> (tf : Maybe WebGLTransformFeedback)
2369 |     -> JSIO Bool
2370 |   isTransformFeedback a b = tryJS "WebGL2RenderingContextBase.isTransformFeedback" $
2371 |     WebGL2RenderingContextBase.prim__isTransformFeedback (up a) (toFFI b)
2372 |
2373 |
2374 |   export
2375 |   isVertexArray :
2376 |        {auto 0 _ : JSType t1}
2377 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2378 |     -> (obj : t1)
2379 |     -> (vertexArray : Maybe WebGLVertexArrayObject)
2380 |     -> JSIO Bool
2381 |   isVertexArray a b = tryJS "WebGL2RenderingContextBase.isVertexArray" $
2382 |     WebGL2RenderingContextBase.prim__isVertexArray (up a) (toFFI b)
2383 |
2384 |
2385 |   export
2386 |   pauseTransformFeedback :
2387 |        {auto 0 _ : JSType t1}
2388 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2389 |     -> (obj : t1)
2390 |     -> JSIO ()
2391 |   pauseTransformFeedback a = primJS $
2392 |     WebGL2RenderingContextBase.prim__pauseTransformFeedback (up a)
2393 |
2394 |
2395 |   export
2396 |   readBuffer :
2397 |        {auto 0 _ : JSType t1}
2398 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2399 |     -> (obj : t1)
2400 |     -> (src : Bits32)
2401 |     -> JSIO ()
2402 |   readBuffer a b = primJS $ WebGL2RenderingContextBase.prim__readBuffer (up a) b
2403 |
2404 |
2405 |   export
2406 |   renderbufferStorageMultisample :
2407 |        {auto 0 _ : JSType t1}
2408 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2409 |     -> (obj : t1)
2410 |     -> (target : Bits32)
2411 |     -> (samples : Int32)
2412 |     -> (internalformat : Bits32)
2413 |     -> (width : Int32)
2414 |     -> (height : Int32)
2415 |     -> JSIO ()
2416 |   renderbufferStorageMultisample a b c d e f = primJS $
2417 |     WebGL2RenderingContextBase.prim__renderbufferStorageMultisample
2418 |       (up a)
2419 |       b
2420 |       c
2421 |       d
2422 |       e
2423 |       f
2424 |
2425 |
2426 |   export
2427 |   resumeTransformFeedback :
2428 |        {auto 0 _ : JSType t1}
2429 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2430 |     -> (obj : t1)
2431 |     -> JSIO ()
2432 |   resumeTransformFeedback a = primJS $
2433 |     WebGL2RenderingContextBase.prim__resumeTransformFeedback (up a)
2434 |
2435 |
2436 |   export
2437 |   samplerParameterf :
2438 |        {auto 0 _ : JSType t1}
2439 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2440 |     -> (obj : t1)
2441 |     -> (sampler : WebGLSampler)
2442 |     -> (pname : Bits32)
2443 |     -> (param : Double)
2444 |     -> JSIO ()
2445 |   samplerParameterf a b c d = primJS $
2446 |     WebGL2RenderingContextBase.prim__samplerParameterf (up a) b c d
2447 |
2448 |
2449 |   export
2450 |   samplerParameteri :
2451 |        {auto 0 _ : JSType t1}
2452 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2453 |     -> (obj : t1)
2454 |     -> (sampler : WebGLSampler)
2455 |     -> (pname : Bits32)
2456 |     -> (param : Int32)
2457 |     -> JSIO ()
2458 |   samplerParameteri a b c d = primJS $
2459 |     WebGL2RenderingContextBase.prim__samplerParameteri (up a) b c d
2460 |
2461 |
2462 |   export
2463 |   texImage3D :
2464 |        {auto 0 _ : JSType t1}
2465 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2466 |     -> (obj : t1)
2467 |     -> (target : Bits32)
2468 |     -> (level : Int32)
2469 |     -> (internalformat : Int32)
2470 |     -> (width : Int32)
2471 |     -> (height : Int32)
2472 |     -> (depth : Int32)
2473 |     -> (border : Int32)
2474 |     -> (format : Bits32)
2475 |     -> (type : Bits32)
2476 |     -> (pboOffset : JSInt64)
2477 |     -> JSIO ()
2478 |   texImage3D a b c d e f g h i j k = primJS $
2479 |     WebGL2RenderingContextBase.prim__texImage3D (up a) b c d e f g h i j k
2480 |
2481 |
2482 |   export
2483 |   texImage3D1 :
2484 |        {auto 0 _ : JSType t1}
2485 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2486 |     -> (obj : t1)
2487 |     -> (target : Bits32)
2488 |     -> (level : Int32)
2489 |     -> (internalformat : Int32)
2490 |     -> (width : Int32)
2491 |     -> (height : Int32)
2492 |     -> (depth : Int32)
2493 |     -> (border : Int32)
2494 |     -> (format : Bits32)
2495 |     -> (type : Bits32)
2496 |     -> (source : HSum
2497 |                    [ ImageBitmap
2498 |                    , ImageData
2499 |                    , HTMLImageElement
2500 |                    , HTMLCanvasElement
2501 |                    , HTMLVideoElement
2502 |                    , OffscreenCanvas
2503 |                    ])
2504 |     -> JSIO ()
2505 |   texImage3D1 a b c d e f g h i j k = primJS $
2506 |     WebGL2RenderingContextBase.prim__texImage3D1
2507 |       (up a)
2508 |       b
2509 |       c
2510 |       d
2511 |       e
2512 |       f
2513 |       g
2514 |       h
2515 |       i
2516 |       j
2517 |       (toFFI k)
2518 |
2519 |
2520 |   export
2521 |   texImage3D2 :
2522 |        {auto 0 _ : JSType t1}
2523 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2524 |     -> (obj : t1)
2525 |     -> (target : Bits32)
2526 |     -> (level : Int32)
2527 |     -> (internalformat : Int32)
2528 |     -> (width : Int32)
2529 |     -> (height : Int32)
2530 |     -> (depth : Int32)
2531 |     -> (border : Int32)
2532 |     -> (format : Bits32)
2533 |     -> (type : Bits32)
2534 |     -> (srcData : Maybe
2535 |                     (HSum
2536 |                        [ Int8Array
2537 |                        , Int16Array
2538 |                        , Int32Array
2539 |                        , UInt8Array
2540 |                        , UInt8Array
2541 |                        , UInt8Array
2542 |                        , UInt8ClampedArray
2543 |                        , Float32Array
2544 |                        , Float64Array
2545 |                        , DataView
2546 |                        ]))
2547 |     -> JSIO ()
2548 |   texImage3D2 a b c d e f g h i j k = primJS $
2549 |     WebGL2RenderingContextBase.prim__texImage3D2
2550 |       (up a)
2551 |       b
2552 |       c
2553 |       d
2554 |       e
2555 |       f
2556 |       g
2557 |       h
2558 |       i
2559 |       j
2560 |       (toFFI k)
2561 |
2562 |
2563 |   export
2564 |   texImage3D3 :
2565 |        {auto 0 _ : JSType t1}
2566 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2567 |     -> (obj : t1)
2568 |     -> (target : Bits32)
2569 |     -> (level : Int32)
2570 |     -> (internalformat : Int32)
2571 |     -> (width : Int32)
2572 |     -> (height : Int32)
2573 |     -> (depth : Int32)
2574 |     -> (border : Int32)
2575 |     -> (format : Bits32)
2576 |     -> (type : Bits32)
2577 |     -> (srcData : HSum
2578 |                     [ Int8Array
2579 |                     , Int16Array
2580 |                     , Int32Array
2581 |                     , UInt8Array
2582 |                     , UInt8Array
2583 |                     , UInt8Array
2584 |                     , UInt8ClampedArray
2585 |                     , Float32Array
2586 |                     , Float64Array
2587 |                     , DataView
2588 |                     ])
2589 |     -> (srcOffset : Bits32)
2590 |     -> JSIO ()
2591 |   texImage3D3 a b c d e f g h i j k l = primJS $
2592 |     WebGL2RenderingContextBase.prim__texImage3D3
2593 |       (up a)
2594 |       b
2595 |       c
2596 |       d
2597 |       e
2598 |       f
2599 |       g
2600 |       h
2601 |       i
2602 |       j
2603 |       (toFFI k)
2604 |       l
2605 |
2606 |
2607 |   export
2608 |   texStorage2D :
2609 |        {auto 0 _ : JSType t1}
2610 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2611 |     -> (obj : t1)
2612 |     -> (target : Bits32)
2613 |     -> (levels : Int32)
2614 |     -> (internalformat : Bits32)
2615 |     -> (width : Int32)
2616 |     -> (height : Int32)
2617 |     -> JSIO ()
2618 |   texStorage2D a b c d e f = primJS $
2619 |     WebGL2RenderingContextBase.prim__texStorage2D (up a) b c d e f
2620 |
2621 |
2622 |   export
2623 |   texStorage3D :
2624 |        {auto 0 _ : JSType t1}
2625 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2626 |     -> (obj : t1)
2627 |     -> (target : Bits32)
2628 |     -> (levels : Int32)
2629 |     -> (internalformat : Bits32)
2630 |     -> (width : Int32)
2631 |     -> (height : Int32)
2632 |     -> (depth : Int32)
2633 |     -> JSIO ()
2634 |   texStorage3D a b c d e f g = primJS $
2635 |     WebGL2RenderingContextBase.prim__texStorage3D (up a) b c d e f g
2636 |
2637 |
2638 |   export
2639 |   texSubImage3D :
2640 |        {auto 0 _ : JSType t1}
2641 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2642 |     -> (obj : t1)
2643 |     -> (target : Bits32)
2644 |     -> (level : Int32)
2645 |     -> (xoffset : Int32)
2646 |     -> (yoffset : Int32)
2647 |     -> (zoffset : Int32)
2648 |     -> (width : Int32)
2649 |     -> (height : Int32)
2650 |     -> (depth : Int32)
2651 |     -> (format : Bits32)
2652 |     -> (type : Bits32)
2653 |     -> (pboOffset : JSInt64)
2654 |     -> JSIO ()
2655 |   texSubImage3D a b c d e f g h i j k l = primJS $
2656 |     WebGL2RenderingContextBase.prim__texSubImage3D (up a) b c d e f g h i j k l
2657 |
2658 |
2659 |   export
2660 |   texSubImage3D1 :
2661 |        {auto 0 _ : JSType t1}
2662 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2663 |     -> (obj : t1)
2664 |     -> (target : Bits32)
2665 |     -> (level : Int32)
2666 |     -> (xoffset : Int32)
2667 |     -> (yoffset : Int32)
2668 |     -> (zoffset : Int32)
2669 |     -> (width : Int32)
2670 |     -> (height : Int32)
2671 |     -> (depth : Int32)
2672 |     -> (format : Bits32)
2673 |     -> (type : Bits32)
2674 |     -> (source : HSum
2675 |                    [ ImageBitmap
2676 |                    , ImageData
2677 |                    , HTMLImageElement
2678 |                    , HTMLCanvasElement
2679 |                    , HTMLVideoElement
2680 |                    , OffscreenCanvas
2681 |                    ])
2682 |     -> JSIO ()
2683 |   texSubImage3D1 a b c d e f g h i j k l = primJS $
2684 |     WebGL2RenderingContextBase.prim__texSubImage3D1
2685 |       (up a)
2686 |       b
2687 |       c
2688 |       d
2689 |       e
2690 |       f
2691 |       g
2692 |       h
2693 |       i
2694 |       j
2695 |       k
2696 |       (toFFI l)
2697 |
2698 |
2699 |   export
2700 |   texSubImage3D2' :
2701 |        {auto 0 _ : JSType t1}
2702 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2703 |     -> (obj : t1)
2704 |     -> (target : Bits32)
2705 |     -> (level : Int32)
2706 |     -> (xoffset : Int32)
2707 |     -> (yoffset : Int32)
2708 |     -> (zoffset : Int32)
2709 |     -> (width : Int32)
2710 |     -> (height : Int32)
2711 |     -> (depth : Int32)
2712 |     -> (format : Bits32)
2713 |     -> (type : Bits32)
2714 |     -> (srcData : Maybe
2715 |                     (HSum
2716 |                        [ Int8Array
2717 |                        , Int16Array
2718 |                        , Int32Array
2719 |                        , UInt8Array
2720 |                        , UInt8Array
2721 |                        , UInt8Array
2722 |                        , UInt8ClampedArray
2723 |                        , Float32Array
2724 |                        , Float64Array
2725 |                        , DataView
2726 |                        ]))
2727 |     -> (srcOffset : Optional Bits32)
2728 |     -> JSIO ()
2729 |   texSubImage3D2' a b c d e f g h i j k l m = primJS $
2730 |     WebGL2RenderingContextBase.prim__texSubImage3D2
2731 |       (up a)
2732 |       b
2733 |       c
2734 |       d
2735 |       e
2736 |       f
2737 |       g
2738 |       h
2739 |       i
2740 |       j
2741 |       k
2742 |       (toFFI l)
2743 |       (toFFI m)
2744 |
2745 |   export
2746 |   texSubImage3D2 :
2747 |        {auto 0 _ : JSType t1}
2748 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2749 |     -> (obj : t1)
2750 |     -> (target : Bits32)
2751 |     -> (level : Int32)
2752 |     -> (xoffset : Int32)
2753 |     -> (yoffset : Int32)
2754 |     -> (zoffset : Int32)
2755 |     -> (width : Int32)
2756 |     -> (height : Int32)
2757 |     -> (depth : Int32)
2758 |     -> (format : Bits32)
2759 |     -> (type : Bits32)
2760 |     -> (srcData : Maybe
2761 |                     (HSum
2762 |                        [ Int8Array
2763 |                        , Int16Array
2764 |                        , Int32Array
2765 |                        , UInt8Array
2766 |                        , UInt8Array
2767 |                        , UInt8Array
2768 |                        , UInt8ClampedArray
2769 |                        , Float32Array
2770 |                        , Float64Array
2771 |                        , DataView
2772 |                        ]))
2773 |     -> JSIO ()
2774 |   texSubImage3D2 a b c d e f g h i j k l = primJS $
2775 |     WebGL2RenderingContextBase.prim__texSubImage3D2
2776 |       (up a)
2777 |       b
2778 |       c
2779 |       d
2780 |       e
2781 |       f
2782 |       g
2783 |       h
2784 |       i
2785 |       j
2786 |       k
2787 |       (toFFI l)
2788 |       undef
2789 |
2790 |
2791 |   export
2792 |   transformFeedbackVaryings :
2793 |        {auto 0 _ : JSType t1}
2794 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2795 |     -> (obj : t1)
2796 |     -> (program : WebGLProgram)
2797 |     -> (varyings : Array String)
2798 |     -> (bufferMode : Bits32)
2799 |     -> JSIO ()
2800 |   transformFeedbackVaryings a b c d = primJS $
2801 |     WebGL2RenderingContextBase.prim__transformFeedbackVaryings (up a) b c d
2802 |
2803 |
2804 |   export
2805 |   uniform1ui :
2806 |        {auto 0 _ : JSType t1}
2807 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2808 |     -> (obj : t1)
2809 |     -> (location : Maybe WebGLUniformLocation)
2810 |     -> (v0 : Bits32)
2811 |     -> JSIO ()
2812 |   uniform1ui a b c = primJS $
2813 |     WebGL2RenderingContextBase.prim__uniform1ui (up a) (toFFI b) c
2814 |
2815 |
2816 |   export
2817 |   uniform1uiv' :
2818 |        {auto 0 _ : JSType t1}
2819 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2820 |     -> (obj : t1)
2821 |     -> (location : Maybe WebGLUniformLocation)
2822 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2823 |     -> (srcOffset : Optional Bits32)
2824 |     -> (srcLength : Optional Bits32)
2825 |     -> JSIO ()
2826 |   uniform1uiv' a b c d e = primJS $
2827 |     WebGL2RenderingContextBase.prim__uniform1uiv
2828 |       (up a)
2829 |       (toFFI b)
2830 |       (toFFI c)
2831 |       (toFFI d)
2832 |       (toFFI e)
2833 |
2834 |   export
2835 |   uniform1uiv :
2836 |        {auto 0 _ : JSType t1}
2837 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2838 |     -> (obj : t1)
2839 |     -> (location : Maybe WebGLUniformLocation)
2840 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2841 |     -> JSIO ()
2842 |   uniform1uiv a b c = primJS $
2843 |     WebGL2RenderingContextBase.prim__uniform1uiv
2844 |       (up a)
2845 |       (toFFI b)
2846 |       (toFFI c)
2847 |       undef
2848 |       undef
2849 |
2850 |
2851 |   export
2852 |   uniform2ui :
2853 |        {auto 0 _ : JSType t1}
2854 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2855 |     -> (obj : t1)
2856 |     -> (location : Maybe WebGLUniformLocation)
2857 |     -> (v0 : Bits32)
2858 |     -> (v1 : Bits32)
2859 |     -> JSIO ()
2860 |   uniform2ui a b c d = primJS $
2861 |     WebGL2RenderingContextBase.prim__uniform2ui (up a) (toFFI b) c d
2862 |
2863 |
2864 |   export
2865 |   uniform2uiv' :
2866 |        {auto 0 _ : JSType t1}
2867 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2868 |     -> (obj : t1)
2869 |     -> (location : Maybe WebGLUniformLocation)
2870 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2871 |     -> (srcOffset : Optional Bits32)
2872 |     -> (srcLength : Optional Bits32)
2873 |     -> JSIO ()
2874 |   uniform2uiv' a b c d e = primJS $
2875 |     WebGL2RenderingContextBase.prim__uniform2uiv
2876 |       (up a)
2877 |       (toFFI b)
2878 |       (toFFI c)
2879 |       (toFFI d)
2880 |       (toFFI e)
2881 |
2882 |   export
2883 |   uniform2uiv :
2884 |        {auto 0 _ : JSType t1}
2885 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2886 |     -> (obj : t1)
2887 |     -> (location : Maybe WebGLUniformLocation)
2888 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2889 |     -> JSIO ()
2890 |   uniform2uiv a b c = primJS $
2891 |     WebGL2RenderingContextBase.prim__uniform2uiv
2892 |       (up a)
2893 |       (toFFI b)
2894 |       (toFFI c)
2895 |       undef
2896 |       undef
2897 |
2898 |
2899 |   export
2900 |   uniform3ui :
2901 |        {auto 0 _ : JSType t1}
2902 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2903 |     -> (obj : t1)
2904 |     -> (location : Maybe WebGLUniformLocation)
2905 |     -> (v0 : Bits32)
2906 |     -> (v1 : Bits32)
2907 |     -> (v2 : Bits32)
2908 |     -> JSIO ()
2909 |   uniform3ui a b c d e = primJS $
2910 |     WebGL2RenderingContextBase.prim__uniform3ui (up a) (toFFI b) c d e
2911 |
2912 |
2913 |   export
2914 |   uniform3uiv' :
2915 |        {auto 0 _ : JSType t1}
2916 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2917 |     -> (obj : t1)
2918 |     -> (location : Maybe WebGLUniformLocation)
2919 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2920 |     -> (srcOffset : Optional Bits32)
2921 |     -> (srcLength : Optional Bits32)
2922 |     -> JSIO ()
2923 |   uniform3uiv' a b c d e = primJS $
2924 |     WebGL2RenderingContextBase.prim__uniform3uiv
2925 |       (up a)
2926 |       (toFFI b)
2927 |       (toFFI c)
2928 |       (toFFI d)
2929 |       (toFFI e)
2930 |
2931 |   export
2932 |   uniform3uiv :
2933 |        {auto 0 _ : JSType t1}
2934 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2935 |     -> (obj : t1)
2936 |     -> (location : Maybe WebGLUniformLocation)
2937 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2938 |     -> JSIO ()
2939 |   uniform3uiv a b c = primJS $
2940 |     WebGL2RenderingContextBase.prim__uniform3uiv
2941 |       (up a)
2942 |       (toFFI b)
2943 |       (toFFI c)
2944 |       undef
2945 |       undef
2946 |
2947 |
2948 |   export
2949 |   uniform4ui :
2950 |        {auto 0 _ : JSType t1}
2951 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2952 |     -> (obj : t1)
2953 |     -> (location : Maybe WebGLUniformLocation)
2954 |     -> (v0 : Bits32)
2955 |     -> (v1 : Bits32)
2956 |     -> (v2 : Bits32)
2957 |     -> (v3 : Bits32)
2958 |     -> JSIO ()
2959 |   uniform4ui a b c d e f = primJS $
2960 |     WebGL2RenderingContextBase.prim__uniform4ui (up a) (toFFI b) c d e f
2961 |
2962 |
2963 |   export
2964 |   uniform4uiv' :
2965 |        {auto 0 _ : JSType t1}
2966 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2967 |     -> (obj : t1)
2968 |     -> (location : Maybe WebGLUniformLocation)
2969 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2970 |     -> (srcOffset : Optional Bits32)
2971 |     -> (srcLength : Optional Bits32)
2972 |     -> JSIO ()
2973 |   uniform4uiv' a b c d e = primJS $
2974 |     WebGL2RenderingContextBase.prim__uniform4uiv
2975 |       (up a)
2976 |       (toFFI b)
2977 |       (toFFI c)
2978 |       (toFFI d)
2979 |       (toFFI e)
2980 |
2981 |   export
2982 |   uniform4uiv :
2983 |        {auto 0 _ : JSType t1}
2984 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
2985 |     -> (obj : t1)
2986 |     -> (location : Maybe WebGLUniformLocation)
2987 |     -> (data_ : HSum [UInt8Array, Array Bits32])
2988 |     -> JSIO ()
2989 |   uniform4uiv a b c = primJS $
2990 |     WebGL2RenderingContextBase.prim__uniform4uiv
2991 |       (up a)
2992 |       (toFFI b)
2993 |       (toFFI c)
2994 |       undef
2995 |       undef
2996 |
2997 |
2998 |   export
2999 |   uniformBlockBinding :
3000 |        {auto 0 _ : JSType t1}
3001 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3002 |     -> (obj : t1)
3003 |     -> (program : WebGLProgram)
3004 |     -> (uniformBlockIndex : Bits32)
3005 |     -> (uniformBlockBinding : Bits32)
3006 |     -> JSIO ()
3007 |   uniformBlockBinding a b c d = primJS $
3008 |     WebGL2RenderingContextBase.prim__uniformBlockBinding (up a) b c d
3009 |
3010 |
3011 |   export
3012 |   uniformMatrix2x3fv' :
3013 |        {auto 0 _ : JSType t1}
3014 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3015 |     -> (obj : t1)
3016 |     -> (location : Maybe WebGLUniformLocation)
3017 |     -> (transpose : Bool)
3018 |     -> (data_ : HSum [Float32Array, Array Double])
3019 |     -> (srcOffset : Optional Bits32)
3020 |     -> (srcLength : Optional Bits32)
3021 |     -> JSIO ()
3022 |   uniformMatrix2x3fv' a b c d e f = primJS $
3023 |     WebGL2RenderingContextBase.prim__uniformMatrix2x3fv
3024 |       (up a)
3025 |       (toFFI b)
3026 |       (toFFI c)
3027 |       (toFFI d)
3028 |       (toFFI e)
3029 |       (toFFI f)
3030 |
3031 |   export
3032 |   uniformMatrix2x3fv :
3033 |        {auto 0 _ : JSType t1}
3034 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3035 |     -> (obj : t1)
3036 |     -> (location : Maybe WebGLUniformLocation)
3037 |     -> (transpose : Bool)
3038 |     -> (data_ : HSum [Float32Array, Array Double])
3039 |     -> JSIO ()
3040 |   uniformMatrix2x3fv a b c d = primJS $
3041 |     WebGL2RenderingContextBase.prim__uniformMatrix2x3fv
3042 |       (up a)
3043 |       (toFFI b)
3044 |       (toFFI c)
3045 |       (toFFI d)
3046 |       undef
3047 |       undef
3048 |
3049 |
3050 |   export
3051 |   uniformMatrix2x4fv' :
3052 |        {auto 0 _ : JSType t1}
3053 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3054 |     -> (obj : t1)
3055 |     -> (location : Maybe WebGLUniformLocation)
3056 |     -> (transpose : Bool)
3057 |     -> (data_ : HSum [Float32Array, Array Double])
3058 |     -> (srcOffset : Optional Bits32)
3059 |     -> (srcLength : Optional Bits32)
3060 |     -> JSIO ()
3061 |   uniformMatrix2x4fv' a b c d e f = primJS $
3062 |     WebGL2RenderingContextBase.prim__uniformMatrix2x4fv
3063 |       (up a)
3064 |       (toFFI b)
3065 |       (toFFI c)
3066 |       (toFFI d)
3067 |       (toFFI e)
3068 |       (toFFI f)
3069 |
3070 |   export
3071 |   uniformMatrix2x4fv :
3072 |        {auto 0 _ : JSType t1}
3073 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3074 |     -> (obj : t1)
3075 |     -> (location : Maybe WebGLUniformLocation)
3076 |     -> (transpose : Bool)
3077 |     -> (data_ : HSum [Float32Array, Array Double])
3078 |     -> JSIO ()
3079 |   uniformMatrix2x4fv a b c d = primJS $
3080 |     WebGL2RenderingContextBase.prim__uniformMatrix2x4fv
3081 |       (up a)
3082 |       (toFFI b)
3083 |       (toFFI c)
3084 |       (toFFI d)
3085 |       undef
3086 |       undef
3087 |
3088 |
3089 |   export
3090 |   uniformMatrix3x2fv' :
3091 |        {auto 0 _ : JSType t1}
3092 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3093 |     -> (obj : t1)
3094 |     -> (location : Maybe WebGLUniformLocation)
3095 |     -> (transpose : Bool)
3096 |     -> (data_ : HSum [Float32Array, Array Double])
3097 |     -> (srcOffset : Optional Bits32)
3098 |     -> (srcLength : Optional Bits32)
3099 |     -> JSIO ()
3100 |   uniformMatrix3x2fv' a b c d e f = primJS $
3101 |     WebGL2RenderingContextBase.prim__uniformMatrix3x2fv
3102 |       (up a)
3103 |       (toFFI b)
3104 |       (toFFI c)
3105 |       (toFFI d)
3106 |       (toFFI e)
3107 |       (toFFI f)
3108 |
3109 |   export
3110 |   uniformMatrix3x2fv :
3111 |        {auto 0 _ : JSType t1}
3112 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3113 |     -> (obj : t1)
3114 |     -> (location : Maybe WebGLUniformLocation)
3115 |     -> (transpose : Bool)
3116 |     -> (data_ : HSum [Float32Array, Array Double])
3117 |     -> JSIO ()
3118 |   uniformMatrix3x2fv a b c d = primJS $
3119 |     WebGL2RenderingContextBase.prim__uniformMatrix3x2fv
3120 |       (up a)
3121 |       (toFFI b)
3122 |       (toFFI c)
3123 |       (toFFI d)
3124 |       undef
3125 |       undef
3126 |
3127 |
3128 |   export
3129 |   uniformMatrix3x4fv' :
3130 |        {auto 0 _ : JSType t1}
3131 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3132 |     -> (obj : t1)
3133 |     -> (location : Maybe WebGLUniformLocation)
3134 |     -> (transpose : Bool)
3135 |     -> (data_ : HSum [Float32Array, Array Double])
3136 |     -> (srcOffset : Optional Bits32)
3137 |     -> (srcLength : Optional Bits32)
3138 |     -> JSIO ()
3139 |   uniformMatrix3x4fv' a b c d e f = primJS $
3140 |     WebGL2RenderingContextBase.prim__uniformMatrix3x4fv
3141 |       (up a)
3142 |       (toFFI b)
3143 |       (toFFI c)
3144 |       (toFFI d)
3145 |       (toFFI e)
3146 |       (toFFI f)
3147 |
3148 |   export
3149 |   uniformMatrix3x4fv :
3150 |        {auto 0 _ : JSType t1}
3151 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3152 |     -> (obj : t1)
3153 |     -> (location : Maybe WebGLUniformLocation)
3154 |     -> (transpose : Bool)
3155 |     -> (data_ : HSum [Float32Array, Array Double])
3156 |     -> JSIO ()
3157 |   uniformMatrix3x4fv a b c d = primJS $
3158 |     WebGL2RenderingContextBase.prim__uniformMatrix3x4fv
3159 |       (up a)
3160 |       (toFFI b)
3161 |       (toFFI c)
3162 |       (toFFI d)
3163 |       undef
3164 |       undef
3165 |
3166 |
3167 |   export
3168 |   uniformMatrix4x2fv' :
3169 |        {auto 0 _ : JSType t1}
3170 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3171 |     -> (obj : t1)
3172 |     -> (location : Maybe WebGLUniformLocation)
3173 |     -> (transpose : Bool)
3174 |     -> (data_ : HSum [Float32Array, Array Double])
3175 |     -> (srcOffset : Optional Bits32)
3176 |     -> (srcLength : Optional Bits32)
3177 |     -> JSIO ()
3178 |   uniformMatrix4x2fv' a b c d e f = primJS $
3179 |     WebGL2RenderingContextBase.prim__uniformMatrix4x2fv
3180 |       (up a)
3181 |       (toFFI b)
3182 |       (toFFI c)
3183 |       (toFFI d)
3184 |       (toFFI e)
3185 |       (toFFI f)
3186 |
3187 |   export
3188 |   uniformMatrix4x2fv :
3189 |        {auto 0 _ : JSType t1}
3190 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3191 |     -> (obj : t1)
3192 |     -> (location : Maybe WebGLUniformLocation)
3193 |     -> (transpose : Bool)
3194 |     -> (data_ : HSum [Float32Array, Array Double])
3195 |     -> JSIO ()
3196 |   uniformMatrix4x2fv a b c d = primJS $
3197 |     WebGL2RenderingContextBase.prim__uniformMatrix4x2fv
3198 |       (up a)
3199 |       (toFFI b)
3200 |       (toFFI c)
3201 |       (toFFI d)
3202 |       undef
3203 |       undef
3204 |
3205 |
3206 |   export
3207 |   uniformMatrix4x3fv' :
3208 |        {auto 0 _ : JSType t1}
3209 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3210 |     -> (obj : t1)
3211 |     -> (location : Maybe WebGLUniformLocation)
3212 |     -> (transpose : Bool)
3213 |     -> (data_ : HSum [Float32Array, Array Double])
3214 |     -> (srcOffset : Optional Bits32)
3215 |     -> (srcLength : Optional Bits32)
3216 |     -> JSIO ()
3217 |   uniformMatrix4x3fv' a b c d e f = primJS $
3218 |     WebGL2RenderingContextBase.prim__uniformMatrix4x3fv
3219 |       (up a)
3220 |       (toFFI b)
3221 |       (toFFI c)
3222 |       (toFFI d)
3223 |       (toFFI e)
3224 |       (toFFI f)
3225 |
3226 |   export
3227 |   uniformMatrix4x3fv :
3228 |        {auto 0 _ : JSType t1}
3229 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3230 |     -> (obj : t1)
3231 |     -> (location : Maybe WebGLUniformLocation)
3232 |     -> (transpose : Bool)
3233 |     -> (data_ : HSum [Float32Array, Array Double])
3234 |     -> JSIO ()
3235 |   uniformMatrix4x3fv a b c d = primJS $
3236 |     WebGL2RenderingContextBase.prim__uniformMatrix4x3fv
3237 |       (up a)
3238 |       (toFFI b)
3239 |       (toFFI c)
3240 |       (toFFI d)
3241 |       undef
3242 |       undef
3243 |
3244 |
3245 |   export
3246 |   vertexAttribDivisor :
3247 |        {auto 0 _ : JSType t1}
3248 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3249 |     -> (obj : t1)
3250 |     -> (index : Bits32)
3251 |     -> (divisor : Bits32)
3252 |     -> JSIO ()
3253 |   vertexAttribDivisor a b c = primJS $
3254 |     WebGL2RenderingContextBase.prim__vertexAttribDivisor (up a) b c
3255 |
3256 |
3257 |   export
3258 |   vertexAttribI4i :
3259 |        {auto 0 _ : JSType t1}
3260 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3261 |     -> (obj : t1)
3262 |     -> (index : Bits32)
3263 |     -> (x : Int32)
3264 |     -> (y : Int32)
3265 |     -> (z : Int32)
3266 |     -> (w : Int32)
3267 |     -> JSIO ()
3268 |   vertexAttribI4i a b c d e f = primJS $
3269 |     WebGL2RenderingContextBase.prim__vertexAttribI4i (up a) b c d e f
3270 |
3271 |
3272 |   export
3273 |   vertexAttribI4iv :
3274 |        {auto 0 _ : JSType t1}
3275 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3276 |     -> (obj : t1)
3277 |     -> (index : Bits32)
3278 |     -> (values : HSum [Int32Array, Array Int32])
3279 |     -> JSIO ()
3280 |   vertexAttribI4iv a b c = primJS $
3281 |     WebGL2RenderingContextBase.prim__vertexAttribI4iv (up a) b (toFFI c)
3282 |
3283 |
3284 |   export
3285 |   vertexAttribI4ui :
3286 |        {auto 0 _ : JSType t1}
3287 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3288 |     -> (obj : t1)
3289 |     -> (index : Bits32)
3290 |     -> (x : Bits32)
3291 |     -> (y : Bits32)
3292 |     -> (z : Bits32)
3293 |     -> (w : Bits32)
3294 |     -> JSIO ()
3295 |   vertexAttribI4ui a b c d e f = primJS $
3296 |     WebGL2RenderingContextBase.prim__vertexAttribI4ui (up a) b c d e f
3297 |
3298 |
3299 |   export
3300 |   vertexAttribI4uiv :
3301 |        {auto 0 _ : JSType t1}
3302 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3303 |     -> (obj : t1)
3304 |     -> (index : Bits32)
3305 |     -> (values : HSum [UInt8Array, Array Bits32])
3306 |     -> JSIO ()
3307 |   vertexAttribI4uiv a b c = primJS $
3308 |     WebGL2RenderingContextBase.prim__vertexAttribI4uiv (up a) b (toFFI c)
3309 |
3310 |
3311 |   export
3312 |   vertexAttribIPointer :
3313 |        {auto 0 _ : JSType t1}
3314 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3315 |     -> (obj : t1)
3316 |     -> (index : Bits32)
3317 |     -> (size : Int32)
3318 |     -> (type : Bits32)
3319 |     -> (stride : Int32)
3320 |     -> (offset : JSInt64)
3321 |     -> JSIO ()
3322 |   vertexAttribIPointer a b c d e f = primJS $
3323 |     WebGL2RenderingContextBase.prim__vertexAttribIPointer (up a) b c d e f
3324 |
3325 |
3326 |   export
3327 |   waitSync :
3328 |        {auto 0 _ : JSType t1}
3329 |     -> {auto 0 _ : Elem WebGL2RenderingContextBase (Types t1)}
3330 |     -> (obj : t1)
3331 |     -> (sync : WebGLSync)
3332 |     -> (flags : Bits32)
3333 |     -> (timeout : JSInt64)
3334 |     -> JSIO ()
3335 |   waitSync a b c d = primJS $
3336 |     WebGL2RenderingContextBase.prim__waitSync (up a) b c d
3337 |
3338 |
3339 |
3340 | namespace WebGL2RenderingContextOverloads
3341 |
3342 |   export
3343 |   bufferData :
3344 |        {auto 0 _ : JSType t1}
3345 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3346 |     -> (obj : t1)
3347 |     -> (target : Bits32)
3348 |     -> (size : JSInt64)
3349 |     -> (usage : Bits32)
3350 |     -> JSIO ()
3351 |   bufferData a b c d = primJS $
3352 |     WebGL2RenderingContextOverloads.prim__bufferData (up a) b c d
3353 |
3354 |
3355 |   export
3356 |   bufferData1 :
3357 |        {auto 0 _ : JSType t1}
3358 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3359 |     -> (obj : t1)
3360 |     -> (target : Bits32)
3361 |     -> (srcData : Maybe
3362 |                     (HSum
3363 |                        [ Int8Array
3364 |                        , Int16Array
3365 |                        , Int32Array
3366 |                        , UInt8Array
3367 |                        , UInt8Array
3368 |                        , UInt8Array
3369 |                        , UInt8ClampedArray
3370 |                        , Float32Array
3371 |                        , Float64Array
3372 |                        , DataView
3373 |                        , ArrayBuffer
3374 |                        ]))
3375 |     -> (usage : Bits32)
3376 |     -> JSIO ()
3377 |   bufferData1 a b c d = primJS $
3378 |     WebGL2RenderingContextOverloads.prim__bufferData1 (up a) b (toFFI c) d
3379 |
3380 |
3381 |   export
3382 |   bufferData2' :
3383 |        {auto 0 _ : JSType t1}
3384 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3385 |     -> (obj : t1)
3386 |     -> (target : Bits32)
3387 |     -> (srcData : HSum
3388 |                     [ Int8Array
3389 |                     , Int16Array
3390 |                     , Int32Array
3391 |                     , UInt8Array
3392 |                     , UInt8Array
3393 |                     , UInt8Array
3394 |                     , UInt8ClampedArray
3395 |                     , Float32Array
3396 |                     , Float64Array
3397 |                     , DataView
3398 |                     ])
3399 |     -> (usage : Bits32)
3400 |     -> (srcOffset : Bits32)
3401 |     -> (length : Optional Bits32)
3402 |     -> JSIO ()
3403 |   bufferData2' a b c d e f = primJS $
3404 |     WebGL2RenderingContextOverloads.prim__bufferData2
3405 |       (up a)
3406 |       b
3407 |       (toFFI c)
3408 |       d
3409 |       e
3410 |       (toFFI f)
3411 |
3412 |   export
3413 |   bufferData2 :
3414 |        {auto 0 _ : JSType t1}
3415 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3416 |     -> (obj : t1)
3417 |     -> (target : Bits32)
3418 |     -> (srcData : HSum
3419 |                     [ Int8Array
3420 |                     , Int16Array
3421 |                     , Int32Array
3422 |                     , UInt8Array
3423 |                     , UInt8Array
3424 |                     , UInt8Array
3425 |                     , UInt8ClampedArray
3426 |                     , Float32Array
3427 |                     , Float64Array
3428 |                     , DataView
3429 |                     ])
3430 |     -> (usage : Bits32)
3431 |     -> (srcOffset : Bits32)
3432 |     -> JSIO ()
3433 |   bufferData2 a b c d e = primJS $
3434 |     WebGL2RenderingContextOverloads.prim__bufferData2
3435 |       (up a)
3436 |       b
3437 |       (toFFI c)
3438 |       d
3439 |       e
3440 |       undef
3441 |
3442 |
3443 |   export
3444 |   bufferSubData :
3445 |        {auto 0 _ : JSType t1}
3446 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3447 |     -> (obj : t1)
3448 |     -> (target : Bits32)
3449 |     -> (dstByteOffset : JSInt64)
3450 |     -> (srcData : HSum
3451 |                     [ Int8Array
3452 |                     , Int16Array
3453 |                     , Int32Array
3454 |                     , UInt8Array
3455 |                     , UInt8Array
3456 |                     , UInt8Array
3457 |                     , UInt8ClampedArray
3458 |                     , Float32Array
3459 |                     , Float64Array
3460 |                     , DataView
3461 |                     , ArrayBuffer
3462 |                     ])
3463 |     -> JSIO ()
3464 |   bufferSubData a b c d = primJS $
3465 |     WebGL2RenderingContextOverloads.prim__bufferSubData (up a) b c (toFFI d)
3466 |
3467 |
3468 |   export
3469 |   bufferSubData1' :
3470 |        {auto 0 _ : JSType t1}
3471 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3472 |     -> (obj : t1)
3473 |     -> (target : Bits32)
3474 |     -> (dstByteOffset : JSInt64)
3475 |     -> (srcData : HSum
3476 |                     [ Int8Array
3477 |                     , Int16Array
3478 |                     , Int32Array
3479 |                     , UInt8Array
3480 |                     , UInt8Array
3481 |                     , UInt8Array
3482 |                     , UInt8ClampedArray
3483 |                     , Float32Array
3484 |                     , Float64Array
3485 |                     , DataView
3486 |                     ])
3487 |     -> (srcOffset : Bits32)
3488 |     -> (length : Optional Bits32)
3489 |     -> JSIO ()
3490 |   bufferSubData1' a b c d e f = primJS $
3491 |     WebGL2RenderingContextOverloads.prim__bufferSubData1
3492 |       (up a)
3493 |       b
3494 |       c
3495 |       (toFFI d)
3496 |       e
3497 |       (toFFI f)
3498 |
3499 |   export
3500 |   bufferSubData1 :
3501 |        {auto 0 _ : JSType t1}
3502 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3503 |     -> (obj : t1)
3504 |     -> (target : Bits32)
3505 |     -> (dstByteOffset : JSInt64)
3506 |     -> (srcData : HSum
3507 |                     [ Int8Array
3508 |                     , Int16Array
3509 |                     , Int32Array
3510 |                     , UInt8Array
3511 |                     , UInt8Array
3512 |                     , UInt8Array
3513 |                     , UInt8ClampedArray
3514 |                     , Float32Array
3515 |                     , Float64Array
3516 |                     , DataView
3517 |                     ])
3518 |     -> (srcOffset : Bits32)
3519 |     -> JSIO ()
3520 |   bufferSubData1 a b c d e = primJS $
3521 |     WebGL2RenderingContextOverloads.prim__bufferSubData1
3522 |       (up a)
3523 |       b
3524 |       c
3525 |       (toFFI d)
3526 |       e
3527 |       undef
3528 |
3529 |
3530 |   export
3531 |   compressedTexImage2D :
3532 |        {auto 0 _ : JSType t1}
3533 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3534 |     -> (obj : t1)
3535 |     -> (target : Bits32)
3536 |     -> (level : Int32)
3537 |     -> (internalformat : Bits32)
3538 |     -> (width : Int32)
3539 |     -> (height : Int32)
3540 |     -> (border : Int32)
3541 |     -> (imageSize : Int32)
3542 |     -> (offset : JSInt64)
3543 |     -> JSIO ()
3544 |   compressedTexImage2D a b c d e f g h i = primJS $
3545 |     WebGL2RenderingContextOverloads.prim__compressedTexImage2D
3546 |       (up a)
3547 |       b
3548 |       c
3549 |       d
3550 |       e
3551 |       f
3552 |       g
3553 |       h
3554 |       i
3555 |
3556 |
3557 |   export
3558 |   compressedTexImage2D1' :
3559 |        {auto 0 _ : JSType t1}
3560 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3561 |     -> (obj : t1)
3562 |     -> (target : Bits32)
3563 |     -> (level : Int32)
3564 |     -> (internalformat : Bits32)
3565 |     -> (width : Int32)
3566 |     -> (height : Int32)
3567 |     -> (border : Int32)
3568 |     -> (srcData : HSum
3569 |                     [ Int8Array
3570 |                     , Int16Array
3571 |                     , Int32Array
3572 |                     , UInt8Array
3573 |                     , UInt8Array
3574 |                     , UInt8Array
3575 |                     , UInt8ClampedArray
3576 |                     , Float32Array
3577 |                     , Float64Array
3578 |                     , DataView
3579 |                     ])
3580 |     -> (srcOffset : Optional Bits32)
3581 |     -> (srcLengthOverride : Optional Bits32)
3582 |     -> JSIO ()
3583 |   compressedTexImage2D1' a b c d e f g h i j = primJS $
3584 |     WebGL2RenderingContextOverloads.prim__compressedTexImage2D1
3585 |       (up a)
3586 |       b
3587 |       c
3588 |       d
3589 |       e
3590 |       f
3591 |       g
3592 |       (toFFI h)
3593 |       (toFFI i)
3594 |       (toFFI j)
3595 |
3596 |   export
3597 |   compressedTexImage2D1 :
3598 |        {auto 0 _ : JSType t1}
3599 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3600 |     -> (obj : t1)
3601 |     -> (target : Bits32)
3602 |     -> (level : Int32)
3603 |     -> (internalformat : Bits32)
3604 |     -> (width : Int32)
3605 |     -> (height : Int32)
3606 |     -> (border : Int32)
3607 |     -> (srcData : HSum
3608 |                     [ Int8Array
3609 |                     , Int16Array
3610 |                     , Int32Array
3611 |                     , UInt8Array
3612 |                     , UInt8Array
3613 |                     , UInt8Array
3614 |                     , UInt8ClampedArray
3615 |                     , Float32Array
3616 |                     , Float64Array
3617 |                     , DataView
3618 |                     ])
3619 |     -> JSIO ()
3620 |   compressedTexImage2D1 a b c d e f g h = primJS $
3621 |     WebGL2RenderingContextOverloads.prim__compressedTexImage2D1
3622 |       (up a)
3623 |       b
3624 |       c
3625 |       d
3626 |       e
3627 |       f
3628 |       g
3629 |       (toFFI h)
3630 |       undef
3631 |       undef
3632 |
3633 |
3634 |   export
3635 |   compressedTexSubImage2D :
3636 |        {auto 0 _ : JSType t1}
3637 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3638 |     -> (obj : t1)
3639 |     -> (target : Bits32)
3640 |     -> (level : Int32)
3641 |     -> (xoffset : Int32)
3642 |     -> (yoffset : Int32)
3643 |     -> (width : Int32)
3644 |     -> (height : Int32)
3645 |     -> (format : Bits32)
3646 |     -> (imageSize : Int32)
3647 |     -> (offset : JSInt64)
3648 |     -> JSIO ()
3649 |   compressedTexSubImage2D a b c d e f g h i j = primJS $
3650 |     WebGL2RenderingContextOverloads.prim__compressedTexSubImage2D
3651 |       (up a)
3652 |       b
3653 |       c
3654 |       d
3655 |       e
3656 |       f
3657 |       g
3658 |       h
3659 |       i
3660 |       j
3661 |
3662 |
3663 |   export
3664 |   compressedTexSubImage2D1' :
3665 |        {auto 0 _ : JSType t1}
3666 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3667 |     -> (obj : t1)
3668 |     -> (target : Bits32)
3669 |     -> (level : Int32)
3670 |     -> (xoffset : Int32)
3671 |     -> (yoffset : Int32)
3672 |     -> (width : Int32)
3673 |     -> (height : Int32)
3674 |     -> (format : Bits32)
3675 |     -> (srcData : HSum
3676 |                     [ Int8Array
3677 |                     , Int16Array
3678 |                     , Int32Array
3679 |                     , UInt8Array
3680 |                     , UInt8Array
3681 |                     , UInt8Array
3682 |                     , UInt8ClampedArray
3683 |                     , Float32Array
3684 |                     , Float64Array
3685 |                     , DataView
3686 |                     ])
3687 |     -> (srcOffset : Optional Bits32)
3688 |     -> (srcLengthOverride : Optional Bits32)
3689 |     -> JSIO ()
3690 |   compressedTexSubImage2D1' a b c d e f g h i j k = primJS $
3691 |     WebGL2RenderingContextOverloads.prim__compressedTexSubImage2D1
3692 |       (up a)
3693 |       b
3694 |       c
3695 |       d
3696 |       e
3697 |       f
3698 |       g
3699 |       h
3700 |       (toFFI i)
3701 |       (toFFI j)
3702 |       (toFFI k)
3703 |
3704 |   export
3705 |   compressedTexSubImage2D1 :
3706 |        {auto 0 _ : JSType t1}
3707 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3708 |     -> (obj : t1)
3709 |     -> (target : Bits32)
3710 |     -> (level : Int32)
3711 |     -> (xoffset : Int32)
3712 |     -> (yoffset : Int32)
3713 |     -> (width : Int32)
3714 |     -> (height : Int32)
3715 |     -> (format : Bits32)
3716 |     -> (srcData : HSum
3717 |                     [ Int8Array
3718 |                     , Int16Array
3719 |                     , Int32Array
3720 |                     , UInt8Array
3721 |                     , UInt8Array
3722 |                     , UInt8Array
3723 |                     , UInt8ClampedArray
3724 |                     , Float32Array
3725 |                     , Float64Array
3726 |                     , DataView
3727 |                     ])
3728 |     -> JSIO ()
3729 |   compressedTexSubImage2D1 a b c d e f g h i = primJS $
3730 |     WebGL2RenderingContextOverloads.prim__compressedTexSubImage2D1
3731 |       (up a)
3732 |       b
3733 |       c
3734 |       d
3735 |       e
3736 |       f
3737 |       g
3738 |       h
3739 |       (toFFI i)
3740 |       undef
3741 |       undef
3742 |
3743 |
3744 |   export
3745 |   readPixels :
3746 |        {auto 0 _ : JSType t1}
3747 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3748 |     -> (obj : t1)
3749 |     -> (x : Int32)
3750 |     -> (y : Int32)
3751 |     -> (width : Int32)
3752 |     -> (height : Int32)
3753 |     -> (format : Bits32)
3754 |     -> (type : Bits32)
3755 |     -> (dstData : Maybe
3756 |                     (HSum
3757 |                        [ Int8Array
3758 |                        , Int16Array
3759 |                        , Int32Array
3760 |                        , UInt8Array
3761 |                        , UInt8Array
3762 |                        , UInt8Array
3763 |                        , UInt8ClampedArray
3764 |                        , Float32Array
3765 |                        , Float64Array
3766 |                        , DataView
3767 |                        ]))
3768 |     -> JSIO ()
3769 |   readPixels a b c d e f g h = primJS $
3770 |     WebGL2RenderingContextOverloads.prim__readPixels
3771 |       (up a)
3772 |       b
3773 |       c
3774 |       d
3775 |       e
3776 |       f
3777 |       g
3778 |       (toFFI h)
3779 |
3780 |
3781 |   export
3782 |   readPixels1 :
3783 |        {auto 0 _ : JSType t1}
3784 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3785 |     -> (obj : t1)
3786 |     -> (x : Int32)
3787 |     -> (y : Int32)
3788 |     -> (width : Int32)
3789 |     -> (height : Int32)
3790 |     -> (format : Bits32)
3791 |     -> (type : Bits32)
3792 |     -> (offset : JSInt64)
3793 |     -> JSIO ()
3794 |   readPixels1 a b c d e f g h = primJS $
3795 |     WebGL2RenderingContextOverloads.prim__readPixels1 (up a) b c d e f g h
3796 |
3797 |
3798 |   export
3799 |   readPixels2 :
3800 |        {auto 0 _ : JSType t1}
3801 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3802 |     -> (obj : t1)
3803 |     -> (x : Int32)
3804 |     -> (y : Int32)
3805 |     -> (width : Int32)
3806 |     -> (height : Int32)
3807 |     -> (format : Bits32)
3808 |     -> (type : Bits32)
3809 |     -> (dstData : HSum
3810 |                     [ Int8Array
3811 |                     , Int16Array
3812 |                     , Int32Array
3813 |                     , UInt8Array
3814 |                     , UInt8Array
3815 |                     , UInt8Array
3816 |                     , UInt8ClampedArray
3817 |                     , Float32Array
3818 |                     , Float64Array
3819 |                     , DataView
3820 |                     ])
3821 |     -> (dstOffset : Bits32)
3822 |     -> JSIO ()
3823 |   readPixels2 a b c d e f g h i = primJS $
3824 |     WebGL2RenderingContextOverloads.prim__readPixels2
3825 |       (up a)
3826 |       b
3827 |       c
3828 |       d
3829 |       e
3830 |       f
3831 |       g
3832 |       (toFFI h)
3833 |       i
3834 |
3835 |
3836 |   export
3837 |   texImage2D :
3838 |        {auto 0 _ : JSType t1}
3839 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3840 |     -> (obj : t1)
3841 |     -> (target : Bits32)
3842 |     -> (level : Int32)
3843 |     -> (internalformat : Int32)
3844 |     -> (width : Int32)
3845 |     -> (height : Int32)
3846 |     -> (border : Int32)
3847 |     -> (format : Bits32)
3848 |     -> (type : Bits32)
3849 |     -> (pixels : Maybe
3850 |                    (HSum
3851 |                       [ Int8Array
3852 |                       , Int16Array
3853 |                       , Int32Array
3854 |                       , UInt8Array
3855 |                       , UInt8Array
3856 |                       , UInt8Array
3857 |                       , UInt8ClampedArray
3858 |                       , Float32Array
3859 |                       , Float64Array
3860 |                       , DataView
3861 |                       ]))
3862 |     -> JSIO ()
3863 |   texImage2D a b c d e f g h i j = primJS $
3864 |     WebGL2RenderingContextOverloads.prim__texImage2D
3865 |       (up a)
3866 |       b
3867 |       c
3868 |       d
3869 |       e
3870 |       f
3871 |       g
3872 |       h
3873 |       i
3874 |       (toFFI j)
3875 |
3876 |
3877 |   export
3878 |   texImage2D1 :
3879 |        {auto 0 _ : JSType t1}
3880 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3881 |     -> (obj : t1)
3882 |     -> (target : Bits32)
3883 |     -> (level : Int32)
3884 |     -> (internalformat : Int32)
3885 |     -> (format : Bits32)
3886 |     -> (type : Bits32)
3887 |     -> (source : HSum
3888 |                    [ ImageBitmap
3889 |                    , ImageData
3890 |                    , HTMLImageElement
3891 |                    , HTMLCanvasElement
3892 |                    , HTMLVideoElement
3893 |                    , OffscreenCanvas
3894 |                    ])
3895 |     -> JSIO ()
3896 |   texImage2D1 a b c d e f g = primJS $
3897 |     WebGL2RenderingContextOverloads.prim__texImage2D1 (up a) b c d e f (toFFI g)
3898 |
3899 |
3900 |   export
3901 |   texImage2D2 :
3902 |        {auto 0 _ : JSType t1}
3903 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3904 |     -> (obj : t1)
3905 |     -> (target : Bits32)
3906 |     -> (level : Int32)
3907 |     -> (internalformat : Int32)
3908 |     -> (width : Int32)
3909 |     -> (height : Int32)
3910 |     -> (border : Int32)
3911 |     -> (format : Bits32)
3912 |     -> (type : Bits32)
3913 |     -> (pboOffset : JSInt64)
3914 |     -> JSIO ()
3915 |   texImage2D2 a b c d e f g h i j = primJS $
3916 |     WebGL2RenderingContextOverloads.prim__texImage2D2 (up a) b c d e f g h i j
3917 |
3918 |
3919 |   export
3920 |   texImage2D3 :
3921 |        {auto 0 _ : JSType t1}
3922 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3923 |     -> (obj : t1)
3924 |     -> (target : Bits32)
3925 |     -> (level : Int32)
3926 |     -> (internalformat : Int32)
3927 |     -> (width : Int32)
3928 |     -> (height : Int32)
3929 |     -> (border : Int32)
3930 |     -> (format : Bits32)
3931 |     -> (type : Bits32)
3932 |     -> (source : HSum
3933 |                    [ ImageBitmap
3934 |                    , ImageData
3935 |                    , HTMLImageElement
3936 |                    , HTMLCanvasElement
3937 |                    , HTMLVideoElement
3938 |                    , OffscreenCanvas
3939 |                    ])
3940 |     -> JSIO ()
3941 |   texImage2D3 a b c d e f g h i j = primJS $
3942 |     WebGL2RenderingContextOverloads.prim__texImage2D3
3943 |       (up a)
3944 |       b
3945 |       c
3946 |       d
3947 |       e
3948 |       f
3949 |       g
3950 |       h
3951 |       i
3952 |       (toFFI j)
3953 |
3954 |
3955 |   export
3956 |   texImage2D4 :
3957 |        {auto 0 _ : JSType t1}
3958 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
3959 |     -> (obj : t1)
3960 |     -> (target : Bits32)
3961 |     -> (level : Int32)
3962 |     -> (internalformat : Int32)
3963 |     -> (width : Int32)
3964 |     -> (height : Int32)
3965 |     -> (border : Int32)
3966 |     -> (format : Bits32)
3967 |     -> (type : Bits32)
3968 |     -> (srcData : HSum
3969 |                     [ Int8Array
3970 |                     , Int16Array
3971 |                     , Int32Array
3972 |                     , UInt8Array
3973 |                     , UInt8Array
3974 |                     , UInt8Array
3975 |                     , UInt8ClampedArray
3976 |                     , Float32Array
3977 |                     , Float64Array
3978 |                     , DataView
3979 |                     ])
3980 |     -> (srcOffset : Bits32)
3981 |     -> JSIO ()
3982 |   texImage2D4 a b c d e f g h i j k = primJS $
3983 |     WebGL2RenderingContextOverloads.prim__texImage2D4
3984 |       (up a)
3985 |       b
3986 |       c
3987 |       d
3988 |       e
3989 |       f
3990 |       g
3991 |       h
3992 |       i
3993 |       (toFFI j)
3994 |       k
3995 |
3996 |
3997 |   export
3998 |   texSubImage2D :
3999 |        {auto 0 _ : JSType t1}
4000 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4001 |     -> (obj : t1)
4002 |     -> (target : Bits32)
4003 |     -> (level : Int32)
4004 |     -> (xoffset : Int32)
4005 |     -> (yoffset : Int32)
4006 |     -> (width : Int32)
4007 |     -> (height : Int32)
4008 |     -> (format : Bits32)
4009 |     -> (type : Bits32)
4010 |     -> (pixels : Maybe
4011 |                    (HSum
4012 |                       [ Int8Array
4013 |                       , Int16Array
4014 |                       , Int32Array
4015 |                       , UInt8Array
4016 |                       , UInt8Array
4017 |                       , UInt8Array
4018 |                       , UInt8ClampedArray
4019 |                       , Float32Array
4020 |                       , Float64Array
4021 |                       , DataView
4022 |                       ]))
4023 |     -> JSIO ()
4024 |   texSubImage2D a b c d e f g h i j = primJS $
4025 |     WebGL2RenderingContextOverloads.prim__texSubImage2D
4026 |       (up a)
4027 |       b
4028 |       c
4029 |       d
4030 |       e
4031 |       f
4032 |       g
4033 |       h
4034 |       i
4035 |       (toFFI j)
4036 |
4037 |
4038 |   export
4039 |   texSubImage2D1 :
4040 |        {auto 0 _ : JSType t1}
4041 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4042 |     -> (obj : t1)
4043 |     -> (target : Bits32)
4044 |     -> (level : Int32)
4045 |     -> (xoffset : Int32)
4046 |     -> (yoffset : Int32)
4047 |     -> (format : Bits32)
4048 |     -> (type : Bits32)
4049 |     -> (source : HSum
4050 |                    [ ImageBitmap
4051 |                    , ImageData
4052 |                    , HTMLImageElement
4053 |                    , HTMLCanvasElement
4054 |                    , HTMLVideoElement
4055 |                    , OffscreenCanvas
4056 |                    ])
4057 |     -> JSIO ()
4058 |   texSubImage2D1 a b c d e f g h = primJS $
4059 |     WebGL2RenderingContextOverloads.prim__texSubImage2D1
4060 |       (up a)
4061 |       b
4062 |       c
4063 |       d
4064 |       e
4065 |       f
4066 |       g
4067 |       (toFFI h)
4068 |
4069 |
4070 |   export
4071 |   texSubImage2D2 :
4072 |        {auto 0 _ : JSType t1}
4073 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4074 |     -> (obj : t1)
4075 |     -> (target : Bits32)
4076 |     -> (level : Int32)
4077 |     -> (xoffset : Int32)
4078 |     -> (yoffset : Int32)
4079 |     -> (width : Int32)
4080 |     -> (height : Int32)
4081 |     -> (format : Bits32)
4082 |     -> (type : Bits32)
4083 |     -> (pboOffset : JSInt64)
4084 |     -> JSIO ()
4085 |   texSubImage2D2 a b c d e f g h i j = primJS $
4086 |     WebGL2RenderingContextOverloads.prim__texSubImage2D2
4087 |       (up a)
4088 |       b
4089 |       c
4090 |       d
4091 |       e
4092 |       f
4093 |       g
4094 |       h
4095 |       i
4096 |       j
4097 |
4098 |
4099 |   export
4100 |   texSubImage2D3 :
4101 |        {auto 0 _ : JSType t1}
4102 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4103 |     -> (obj : t1)
4104 |     -> (target : Bits32)
4105 |     -> (level : Int32)
4106 |     -> (xoffset : Int32)
4107 |     -> (yoffset : Int32)
4108 |     -> (width : Int32)
4109 |     -> (height : Int32)
4110 |     -> (format : Bits32)
4111 |     -> (type : Bits32)
4112 |     -> (source : HSum
4113 |                    [ ImageBitmap
4114 |                    , ImageData
4115 |                    , HTMLImageElement
4116 |                    , HTMLCanvasElement
4117 |                    , HTMLVideoElement
4118 |                    , OffscreenCanvas
4119 |                    ])
4120 |     -> JSIO ()
4121 |   texSubImage2D3 a b c d e f g h i j = primJS $
4122 |     WebGL2RenderingContextOverloads.prim__texSubImage2D3
4123 |       (up a)
4124 |       b
4125 |       c
4126 |       d
4127 |       e
4128 |       f
4129 |       g
4130 |       h
4131 |       i
4132 |       (toFFI j)
4133 |
4134 |
4135 |   export
4136 |   texSubImage2D4 :
4137 |        {auto 0 _ : JSType t1}
4138 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4139 |     -> (obj : t1)
4140 |     -> (target : Bits32)
4141 |     -> (level : Int32)
4142 |     -> (xoffset : Int32)
4143 |     -> (yoffset : Int32)
4144 |     -> (width : Int32)
4145 |     -> (height : Int32)
4146 |     -> (format : Bits32)
4147 |     -> (type : Bits32)
4148 |     -> (srcData : HSum
4149 |                     [ Int8Array
4150 |                     , Int16Array
4151 |                     , Int32Array
4152 |                     , UInt8Array
4153 |                     , UInt8Array
4154 |                     , UInt8Array
4155 |                     , UInt8ClampedArray
4156 |                     , Float32Array
4157 |                     , Float64Array
4158 |                     , DataView
4159 |                     ])
4160 |     -> (srcOffset : Bits32)
4161 |     -> JSIO ()
4162 |   texSubImage2D4 a b c d e f g h i j k = primJS $
4163 |     WebGL2RenderingContextOverloads.prim__texSubImage2D4
4164 |       (up a)
4165 |       b
4166 |       c
4167 |       d
4168 |       e
4169 |       f
4170 |       g
4171 |       h
4172 |       i
4173 |       (toFFI j)
4174 |       k
4175 |
4176 |
4177 |   export
4178 |   uniform1fv' :
4179 |        {auto 0 _ : JSType t1}
4180 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4181 |     -> (obj : t1)
4182 |     -> (location : Maybe WebGLUniformLocation)
4183 |     -> (data_ : HSum [Float32Array, Array Double])
4184 |     -> (srcOffset : Optional Bits32)
4185 |     -> (srcLength : Optional Bits32)
4186 |     -> JSIO ()
4187 |   uniform1fv' a b c d e = primJS $
4188 |     WebGL2RenderingContextOverloads.prim__uniform1fv
4189 |       (up a)
4190 |       (toFFI b)
4191 |       (toFFI c)
4192 |       (toFFI d)
4193 |       (toFFI e)
4194 |
4195 |   export
4196 |   uniform1fv :
4197 |        {auto 0 _ : JSType t1}
4198 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4199 |     -> (obj : t1)
4200 |     -> (location : Maybe WebGLUniformLocation)
4201 |     -> (data_ : HSum [Float32Array, Array Double])
4202 |     -> JSIO ()
4203 |   uniform1fv a b c = primJS $
4204 |     WebGL2RenderingContextOverloads.prim__uniform1fv
4205 |       (up a)
4206 |       (toFFI b)
4207 |       (toFFI c)
4208 |       undef
4209 |       undef
4210 |
4211 |
4212 |   export
4213 |   uniform1iv' :
4214 |        {auto 0 _ : JSType t1}
4215 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4216 |     -> (obj : t1)
4217 |     -> (location : Maybe WebGLUniformLocation)
4218 |     -> (data_ : HSum [Int32Array, Array Int32])
4219 |     -> (srcOffset : Optional Bits32)
4220 |     -> (srcLength : Optional Bits32)
4221 |     -> JSIO ()
4222 |   uniform1iv' a b c d e = primJS $
4223 |     WebGL2RenderingContextOverloads.prim__uniform1iv
4224 |       (up a)
4225 |       (toFFI b)
4226 |       (toFFI c)
4227 |       (toFFI d)
4228 |       (toFFI e)
4229 |
4230 |   export
4231 |   uniform1iv :
4232 |        {auto 0 _ : JSType t1}
4233 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4234 |     -> (obj : t1)
4235 |     -> (location : Maybe WebGLUniformLocation)
4236 |     -> (data_ : HSum [Int32Array, Array Int32])
4237 |     -> JSIO ()
4238 |   uniform1iv a b c = primJS $
4239 |     WebGL2RenderingContextOverloads.prim__uniform1iv
4240 |       (up a)
4241 |       (toFFI b)
4242 |       (toFFI c)
4243 |       undef
4244 |       undef
4245 |
4246 |
4247 |   export
4248 |   uniform2fv' :
4249 |        {auto 0 _ : JSType t1}
4250 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4251 |     -> (obj : t1)
4252 |     -> (location : Maybe WebGLUniformLocation)
4253 |     -> (data_ : HSum [Float32Array, Array Double])
4254 |     -> (srcOffset : Optional Bits32)
4255 |     -> (srcLength : Optional Bits32)
4256 |     -> JSIO ()
4257 |   uniform2fv' a b c d e = primJS $
4258 |     WebGL2RenderingContextOverloads.prim__uniform2fv
4259 |       (up a)
4260 |       (toFFI b)
4261 |       (toFFI c)
4262 |       (toFFI d)
4263 |       (toFFI e)
4264 |
4265 |   export
4266 |   uniform2fv :
4267 |        {auto 0 _ : JSType t1}
4268 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4269 |     -> (obj : t1)
4270 |     -> (location : Maybe WebGLUniformLocation)
4271 |     -> (data_ : HSum [Float32Array, Array Double])
4272 |     -> JSIO ()
4273 |   uniform2fv a b c = primJS $
4274 |     WebGL2RenderingContextOverloads.prim__uniform2fv
4275 |       (up a)
4276 |       (toFFI b)
4277 |       (toFFI c)
4278 |       undef
4279 |       undef
4280 |
4281 |
4282 |   export
4283 |   uniform2iv' :
4284 |        {auto 0 _ : JSType t1}
4285 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4286 |     -> (obj : t1)
4287 |     -> (location : Maybe WebGLUniformLocation)
4288 |     -> (data_ : HSum [Int32Array, Array Int32])
4289 |     -> (srcOffset : Optional Bits32)
4290 |     -> (srcLength : Optional Bits32)
4291 |     -> JSIO ()
4292 |   uniform2iv' a b c d e = primJS $
4293 |     WebGL2RenderingContextOverloads.prim__uniform2iv
4294 |       (up a)
4295 |       (toFFI b)
4296 |       (toFFI c)
4297 |       (toFFI d)
4298 |       (toFFI e)
4299 |
4300 |   export
4301 |   uniform2iv :
4302 |        {auto 0 _ : JSType t1}
4303 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4304 |     -> (obj : t1)
4305 |     -> (location : Maybe WebGLUniformLocation)
4306 |     -> (data_ : HSum [Int32Array, Array Int32])
4307 |     -> JSIO ()
4308 |   uniform2iv a b c = primJS $
4309 |     WebGL2RenderingContextOverloads.prim__uniform2iv
4310 |       (up a)
4311 |       (toFFI b)
4312 |       (toFFI c)
4313 |       undef
4314 |       undef
4315 |
4316 |
4317 |   export
4318 |   uniform3fv' :
4319 |        {auto 0 _ : JSType t1}
4320 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4321 |     -> (obj : t1)
4322 |     -> (location : Maybe WebGLUniformLocation)
4323 |     -> (data_ : HSum [Float32Array, Array Double])
4324 |     -> (srcOffset : Optional Bits32)
4325 |     -> (srcLength : Optional Bits32)
4326 |     -> JSIO ()
4327 |   uniform3fv' a b c d e = primJS $
4328 |     WebGL2RenderingContextOverloads.prim__uniform3fv
4329 |       (up a)
4330 |       (toFFI b)
4331 |       (toFFI c)
4332 |       (toFFI d)
4333 |       (toFFI e)
4334 |
4335 |   export
4336 |   uniform3fv :
4337 |        {auto 0 _ : JSType t1}
4338 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4339 |     -> (obj : t1)
4340 |     -> (location : Maybe WebGLUniformLocation)
4341 |     -> (data_ : HSum [Float32Array, Array Double])
4342 |     -> JSIO ()
4343 |   uniform3fv a b c = primJS $
4344 |     WebGL2RenderingContextOverloads.prim__uniform3fv
4345 |       (up a)
4346 |       (toFFI b)
4347 |       (toFFI c)
4348 |       undef
4349 |       undef
4350 |
4351 |
4352 |   export
4353 |   uniform3iv' :
4354 |        {auto 0 _ : JSType t1}
4355 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4356 |     -> (obj : t1)
4357 |     -> (location : Maybe WebGLUniformLocation)
4358 |     -> (data_ : HSum [Int32Array, Array Int32])
4359 |     -> (srcOffset : Optional Bits32)
4360 |     -> (srcLength : Optional Bits32)
4361 |     -> JSIO ()
4362 |   uniform3iv' a b c d e = primJS $
4363 |     WebGL2RenderingContextOverloads.prim__uniform3iv
4364 |       (up a)
4365 |       (toFFI b)
4366 |       (toFFI c)
4367 |       (toFFI d)
4368 |       (toFFI e)
4369 |
4370 |   export
4371 |   uniform3iv :
4372 |        {auto 0 _ : JSType t1}
4373 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4374 |     -> (obj : t1)
4375 |     -> (location : Maybe WebGLUniformLocation)
4376 |     -> (data_ : HSum [Int32Array, Array Int32])
4377 |     -> JSIO ()
4378 |   uniform3iv a b c = primJS $
4379 |     WebGL2RenderingContextOverloads.prim__uniform3iv
4380 |       (up a)
4381 |       (toFFI b)
4382 |       (toFFI c)
4383 |       undef
4384 |       undef
4385 |
4386 |
4387 |   export
4388 |   uniform4fv' :
4389 |        {auto 0 _ : JSType t1}
4390 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4391 |     -> (obj : t1)
4392 |     -> (location : Maybe WebGLUniformLocation)
4393 |     -> (data_ : HSum [Float32Array, Array Double])
4394 |     -> (srcOffset : Optional Bits32)
4395 |     -> (srcLength : Optional Bits32)
4396 |     -> JSIO ()
4397 |   uniform4fv' a b c d e = primJS $
4398 |     WebGL2RenderingContextOverloads.prim__uniform4fv
4399 |       (up a)
4400 |       (toFFI b)
4401 |       (toFFI c)
4402 |       (toFFI d)
4403 |       (toFFI e)
4404 |
4405 |   export
4406 |   uniform4fv :
4407 |        {auto 0 _ : JSType t1}
4408 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4409 |     -> (obj : t1)
4410 |     -> (location : Maybe WebGLUniformLocation)
4411 |     -> (data_ : HSum [Float32Array, Array Double])
4412 |     -> JSIO ()
4413 |   uniform4fv a b c = primJS $
4414 |     WebGL2RenderingContextOverloads.prim__uniform4fv
4415 |       (up a)
4416 |       (toFFI b)
4417 |       (toFFI c)
4418 |       undef
4419 |       undef
4420 |
4421 |
4422 |   export
4423 |   uniform4iv' :
4424 |        {auto 0 _ : JSType t1}
4425 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4426 |     -> (obj : t1)
4427 |     -> (location : Maybe WebGLUniformLocation)
4428 |     -> (data_ : HSum [Int32Array, Array Int32])
4429 |     -> (srcOffset : Optional Bits32)
4430 |     -> (srcLength : Optional Bits32)
4431 |     -> JSIO ()
4432 |   uniform4iv' a b c d e = primJS $
4433 |     WebGL2RenderingContextOverloads.prim__uniform4iv
4434 |       (up a)
4435 |       (toFFI b)
4436 |       (toFFI c)
4437 |       (toFFI d)
4438 |       (toFFI e)
4439 |
4440 |   export
4441 |   uniform4iv :
4442 |        {auto 0 _ : JSType t1}
4443 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4444 |     -> (obj : t1)
4445 |     -> (location : Maybe WebGLUniformLocation)
4446 |     -> (data_ : HSum [Int32Array, Array Int32])
4447 |     -> JSIO ()
4448 |   uniform4iv a b c = primJS $
4449 |     WebGL2RenderingContextOverloads.prim__uniform4iv
4450 |       (up a)
4451 |       (toFFI b)
4452 |       (toFFI c)
4453 |       undef
4454 |       undef
4455 |
4456 |
4457 |   export
4458 |   uniformMatrix2fv' :
4459 |        {auto 0 _ : JSType t1}
4460 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4461 |     -> (obj : t1)
4462 |     -> (location : Maybe WebGLUniformLocation)
4463 |     -> (transpose : Bool)
4464 |     -> (data_ : HSum [Float32Array, Array Double])
4465 |     -> (srcOffset : Optional Bits32)
4466 |     -> (srcLength : Optional Bits32)
4467 |     -> JSIO ()
4468 |   uniformMatrix2fv' a b c d e f = primJS $
4469 |     WebGL2RenderingContextOverloads.prim__uniformMatrix2fv
4470 |       (up a)
4471 |       (toFFI b)
4472 |       (toFFI c)
4473 |       (toFFI d)
4474 |       (toFFI e)
4475 |       (toFFI f)
4476 |
4477 |   export
4478 |   uniformMatrix2fv :
4479 |        {auto 0 _ : JSType t1}
4480 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4481 |     -> (obj : t1)
4482 |     -> (location : Maybe WebGLUniformLocation)
4483 |     -> (transpose : Bool)
4484 |     -> (data_ : HSum [Float32Array, Array Double])
4485 |     -> JSIO ()
4486 |   uniformMatrix2fv a b c d = primJS $
4487 |     WebGL2RenderingContextOverloads.prim__uniformMatrix2fv
4488 |       (up a)
4489 |       (toFFI b)
4490 |       (toFFI c)
4491 |       (toFFI d)
4492 |       undef
4493 |       undef
4494 |
4495 |
4496 |   export
4497 |   uniformMatrix3fv' :
4498 |        {auto 0 _ : JSType t1}
4499 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4500 |     -> (obj : t1)
4501 |     -> (location : Maybe WebGLUniformLocation)
4502 |     -> (transpose : Bool)
4503 |     -> (data_ : HSum [Float32Array, Array Double])
4504 |     -> (srcOffset : Optional Bits32)
4505 |     -> (srcLength : Optional Bits32)
4506 |     -> JSIO ()
4507 |   uniformMatrix3fv' a b c d e f = primJS $
4508 |     WebGL2RenderingContextOverloads.prim__uniformMatrix3fv
4509 |       (up a)
4510 |       (toFFI b)
4511 |       (toFFI c)
4512 |       (toFFI d)
4513 |       (toFFI e)
4514 |       (toFFI f)
4515 |
4516 |   export
4517 |   uniformMatrix3fv :
4518 |        {auto 0 _ : JSType t1}
4519 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4520 |     -> (obj : t1)
4521 |     -> (location : Maybe WebGLUniformLocation)
4522 |     -> (transpose : Bool)
4523 |     -> (data_ : HSum [Float32Array, Array Double])
4524 |     -> JSIO ()
4525 |   uniformMatrix3fv a b c d = primJS $
4526 |     WebGL2RenderingContextOverloads.prim__uniformMatrix3fv
4527 |       (up a)
4528 |       (toFFI b)
4529 |       (toFFI c)
4530 |       (toFFI d)
4531 |       undef
4532 |       undef
4533 |
4534 |
4535 |   export
4536 |   uniformMatrix4fv' :
4537 |        {auto 0 _ : JSType t1}
4538 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4539 |     -> (obj : t1)
4540 |     -> (location : Maybe WebGLUniformLocation)
4541 |     -> (transpose : Bool)
4542 |     -> (data_ : HSum [Float32Array, Array Double])
4543 |     -> (srcOffset : Optional Bits32)
4544 |     -> (srcLength : Optional Bits32)
4545 |     -> JSIO ()
4546 |   uniformMatrix4fv' a b c d e f = primJS $
4547 |     WebGL2RenderingContextOverloads.prim__uniformMatrix4fv
4548 |       (up a)
4549 |       (toFFI b)
4550 |       (toFFI c)
4551 |       (toFFI d)
4552 |       (toFFI e)
4553 |       (toFFI f)
4554 |
4555 |   export
4556 |   uniformMatrix4fv :
4557 |        {auto 0 _ : JSType t1}
4558 |     -> {auto 0 _ : Elem WebGL2RenderingContextOverloads (Types t1)}
4559 |     -> (obj : t1)
4560 |     -> (location : Maybe WebGLUniformLocation)
4561 |     -> (transpose : Bool)
4562 |     -> (data_ : HSum [Float32Array, Array Double])
4563 |     -> JSIO ()
4564 |   uniformMatrix4fv a b c d = primJS $
4565 |     WebGL2RenderingContextOverloads.prim__uniformMatrix4fv
4566 |       (up a)
4567 |       (toFFI b)
4568 |       (toFFI c)
4569 |       (toFFI d)
4570 |       undef
4571 |       undef
4572 |
4573 |
4574 |
4575 | namespace WebGLRenderingContextBase
4576 |
4577 |   public export
4578 |   ACTIVE_ATTRIBUTES : Bits32
4579 |   ACTIVE_ATTRIBUTES = 0x8b89
4580 |
4581 |
4582 |   public export
4583 |   ACTIVE_TEXTURE : Bits32
4584 |   ACTIVE_TEXTURE = 0x84e0
4585 |
4586 |
4587 |   public export
4588 |   ACTIVE_UNIFORMS : Bits32
4589 |   ACTIVE_UNIFORMS = 0x8b86
4590 |
4591 |
4592 |   public export
4593 |   ALIASED_LINE_WIDTH_RANGE : Bits32
4594 |   ALIASED_LINE_WIDTH_RANGE = 0x846e
4595 |
4596 |
4597 |   public export
4598 |   ALIASED_POINT_SIZE_RANGE : Bits32
4599 |   ALIASED_POINT_SIZE_RANGE = 0x846d
4600 |
4601 |
4602 |   public export
4603 |   ALPHA : Bits32
4604 |   ALPHA = 0x1906
4605 |
4606 |
4607 |   public export
4608 |   ALPHA_BITS : Bits32
4609 |   ALPHA_BITS = 0xd55
4610 |
4611 |
4612 |   public export
4613 |   ALWAYS : Bits32
4614 |   ALWAYS = 0x207
4615 |
4616 |
4617 |   public export
4618 |   ARRAY_BUFFER : Bits32
4619 |   ARRAY_BUFFER = 0x8892
4620 |
4621 |
4622 |   public export
4623 |   ARRAY_BUFFER_BINDING : Bits32
4624 |   ARRAY_BUFFER_BINDING = 0x8894
4625 |
4626 |
4627 |   public export
4628 |   ATTACHED_SHADERS : Bits32
4629 |   ATTACHED_SHADERS = 0x8b85
4630 |
4631 |
4632 |   public export
4633 |   BACK : Bits32
4634 |   BACK = 0x405
4635 |
4636 |
4637 |   public export
4638 |   BLEND : Bits32
4639 |   BLEND = 0xbe2
4640 |
4641 |
4642 |   public export
4643 |   BLEND_COLOR : Bits32
4644 |   BLEND_COLOR = 0x8005
4645 |
4646 |
4647 |   public export
4648 |   BLEND_DST_ALPHA : Bits32
4649 |   BLEND_DST_ALPHA = 0x80ca
4650 |
4651 |
4652 |   public export
4653 |   BLEND_DST_RGB : Bits32
4654 |   BLEND_DST_RGB = 0x80c8
4655 |
4656 |
4657 |   public export
4658 |   BLEND_EQUATION : Bits32
4659 |   BLEND_EQUATION = 0x8009
4660 |
4661 |
4662 |   public export
4663 |   BLEND_EQUATION_ALPHA : Bits32
4664 |   BLEND_EQUATION_ALPHA = 0x883d
4665 |
4666 |
4667 |   public export
4668 |   BLEND_EQUATION_RGB : Bits32
4669 |   BLEND_EQUATION_RGB = 0x8009
4670 |
4671 |
4672 |   public export
4673 |   BLEND_SRC_ALPHA : Bits32
4674 |   BLEND_SRC_ALPHA = 0x80cb
4675 |
4676 |
4677 |   public export
4678 |   BLEND_SRC_RGB : Bits32
4679 |   BLEND_SRC_RGB = 0x80c9
4680 |
4681 |
4682 |   public export
4683 |   BLUE_BITS : Bits32
4684 |   BLUE_BITS = 0xd54
4685 |
4686 |
4687 |   public export
4688 |   BOOL : Bits32
4689 |   BOOL = 0x8b56
4690 |
4691 |
4692 |   public export
4693 |   BOOL_VEC2 : Bits32
4694 |   BOOL_VEC2 = 0x8b57
4695 |
4696 |
4697 |   public export
4698 |   BOOL_VEC3 : Bits32
4699 |   BOOL_VEC3 = 0x8b58
4700 |
4701 |
4702 |   public export
4703 |   BOOL_VEC4 : Bits32
4704 |   BOOL_VEC4 = 0x8b59
4705 |
4706 |
4707 |   public export
4708 |   BROWSER_DEFAULT_WEBGL : Bits32
4709 |   BROWSER_DEFAULT_WEBGL = 0x9244
4710 |
4711 |
4712 |   public export
4713 |   BUFFER_SIZE : Bits32
4714 |   BUFFER_SIZE = 0x8764
4715 |
4716 |
4717 |   public export
4718 |   BUFFER_USAGE : Bits32
4719 |   BUFFER_USAGE = 0x8765
4720 |
4721 |
4722 |   public export
4723 |   BYTE : Bits32
4724 |   BYTE = 0x1400
4725 |
4726 |
4727 |   public export
4728 |   CCW : Bits32
4729 |   CCW = 0x901
4730 |
4731 |
4732 |   public export
4733 |   CLAMP_TO_EDGE : Bits32
4734 |   CLAMP_TO_EDGE = 0x812f
4735 |
4736 |
4737 |   public export
4738 |   COLOR_ATTACHMENT0 : Bits32
4739 |   COLOR_ATTACHMENT0 = 0x8ce0
4740 |
4741 |
4742 |   public export
4743 |   COLOR_BUFFER_BIT : Bits32
4744 |   COLOR_BUFFER_BIT = 0x4000
4745 |
4746 |
4747 |   public export
4748 |   COLOR_CLEAR_VALUE : Bits32
4749 |   COLOR_CLEAR_VALUE = 0xc22
4750 |
4751 |
4752 |   public export
4753 |   COLOR_WRITEMASK : Bits32
4754 |   COLOR_WRITEMASK = 0xc23
4755 |
4756 |
4757 |   public export
4758 |   COMPILE_STATUS : Bits32
4759 |   COMPILE_STATUS = 0x8b81
4760 |
4761 |
4762 |   public export
4763 |   COMPRESSED_TEXTURE_FORMATS : Bits32
4764 |   COMPRESSED_TEXTURE_FORMATS = 0x86a3
4765 |
4766 |
4767 |   public export
4768 |   CONSTANT_ALPHA : Bits32
4769 |   CONSTANT_ALPHA = 0x8003
4770 |
4771 |
4772 |   public export
4773 |   CONSTANT_COLOR : Bits32
4774 |   CONSTANT_COLOR = 0x8001
4775 |
4776 |
4777 |   public export
4778 |   CONTEXT_LOST_WEBGL : Bits32
4779 |   CONTEXT_LOST_WEBGL = 0x9242
4780 |
4781 |
4782 |   public export
4783 |   CULL_FACE : Bits32
4784 |   CULL_FACE = 0xb44
4785 |
4786 |
4787 |   public export
4788 |   CULL_FACE_MODE : Bits32
4789 |   CULL_FACE_MODE = 0xb45
4790 |
4791 |
4792 |   public export
4793 |   CURRENT_PROGRAM : Bits32
4794 |   CURRENT_PROGRAM = 0x8b8d
4795 |
4796 |
4797 |   public export
4798 |   CURRENT_VERTEX_ATTRIB : Bits32
4799 |   CURRENT_VERTEX_ATTRIB = 0x8626
4800 |
4801 |
4802 |   public export
4803 |   CW : Bits32
4804 |   CW = 0x900
4805 |
4806 |
4807 |   public export
4808 |   DECR : Bits32
4809 |   DECR = 0x1e03
4810 |
4811 |
4812 |   public export
4813 |   DECR_WRAP : Bits32
4814 |   DECR_WRAP = 0x8508
4815 |
4816 |
4817 |   public export
4818 |   DELETE_STATUS : Bits32
4819 |   DELETE_STATUS = 0x8b80
4820 |
4821 |
4822 |   public export
4823 |   DEPTH_ATTACHMENT : Bits32
4824 |   DEPTH_ATTACHMENT = 0x8d00
4825 |
4826 |
4827 |   public export
4828 |   DEPTH_BITS : Bits32
4829 |   DEPTH_BITS = 0xd56
4830 |
4831 |
4832 |   public export
4833 |   DEPTH_BUFFER_BIT : Bits32
4834 |   DEPTH_BUFFER_BIT = 0x100
4835 |
4836 |
4837 |   public export
4838 |   DEPTH_CLEAR_VALUE : Bits32
4839 |   DEPTH_CLEAR_VALUE = 0xb73
4840 |
4841 |
4842 |   public export
4843 |   DEPTH_COMPONENT : Bits32
4844 |   DEPTH_COMPONENT = 0x1902
4845 |
4846 |
4847 |   public export
4848 |   DEPTH_COMPONENT16 : Bits32
4849 |   DEPTH_COMPONENT16 = 0x81a5
4850 |
4851 |
4852 |   public export
4853 |   DEPTH_FUNC : Bits32
4854 |   DEPTH_FUNC = 0xb74
4855 |
4856 |
4857 |   public export
4858 |   DEPTH_RANGE : Bits32
4859 |   DEPTH_RANGE = 0xb70
4860 |
4861 |
4862 |   public export
4863 |   DEPTH_STENCIL : Bits32
4864 |   DEPTH_STENCIL = 0x84f9
4865 |
4866 |
4867 |   public export
4868 |   DEPTH_STENCIL_ATTACHMENT : Bits32
4869 |   DEPTH_STENCIL_ATTACHMENT = 0x821a
4870 |
4871 |
4872 |   public export
4873 |   DEPTH_TEST : Bits32
4874 |   DEPTH_TEST = 0xb71
4875 |
4876 |
4877 |   public export
4878 |   DEPTH_WRITEMASK : Bits32
4879 |   DEPTH_WRITEMASK = 0xb72
4880 |
4881 |
4882 |   public export
4883 |   DITHER : Bits32
4884 |   DITHER = 0xbd0
4885 |
4886 |
4887 |   public export
4888 |   DONT_CARE : Bits32
4889 |   DONT_CARE = 0x1100
4890 |
4891 |
4892 |   public export
4893 |   DST_ALPHA : Bits32
4894 |   DST_ALPHA = 0x304
4895 |
4896 |
4897 |   public export
4898 |   DST_COLOR : Bits32
4899 |   DST_COLOR = 0x306
4900 |
4901 |
4902 |   public export
4903 |   DYNAMIC_DRAW : Bits32
4904 |   DYNAMIC_DRAW = 0x88e8
4905 |
4906 |
4907 |   public export
4908 |   ELEMENT_ARRAY_BUFFER : Bits32
4909 |   ELEMENT_ARRAY_BUFFER = 0x8893
4910 |
4911 |
4912 |   public export
4913 |   ELEMENT_ARRAY_BUFFER_BINDING : Bits32
4914 |   ELEMENT_ARRAY_BUFFER_BINDING = 0x8895
4915 |
4916 |
4917 |   public export
4918 |   EQUAL : Bits32
4919 |   EQUAL = 0x202
4920 |
4921 |
4922 |   public export
4923 |   FASTEST : Bits32
4924 |   FASTEST = 0x1101
4925 |
4926 |
4927 |   public export
4928 |   FLOAT : Bits32
4929 |   FLOAT = 0x1406
4930 |
4931 |
4932 |   public export
4933 |   FLOAT_MAT2 : Bits32
4934 |   FLOAT_MAT2 = 0x8b5a
4935 |
4936 |
4937 |   public export
4938 |   FLOAT_MAT3 : Bits32
4939 |   FLOAT_MAT3 = 0x8b5b
4940 |
4941 |
4942 |   public export
4943 |   FLOAT_MAT4 : Bits32
4944 |   FLOAT_MAT4 = 0x8b5c
4945 |
4946 |
4947 |   public export
4948 |   FLOAT_VEC2 : Bits32
4949 |   FLOAT_VEC2 = 0x8b50
4950 |
4951 |
4952 |   public export
4953 |   FLOAT_VEC3 : Bits32
4954 |   FLOAT_VEC3 = 0x8b51
4955 |
4956 |
4957 |   public export
4958 |   FLOAT_VEC4 : Bits32
4959 |   FLOAT_VEC4 = 0x8b52
4960 |
4961 |
4962 |   public export
4963 |   FRAGMENT_SHADER : Bits32
4964 |   FRAGMENT_SHADER = 0x8b30
4965 |
4966 |
4967 |   public export
4968 |   FRAMEBUFFER : Bits32
4969 |   FRAMEBUFFER = 0x8d40
4970 |
4971 |
4972 |   public export
4973 |   FRAMEBUFFER_ATTACHMENT_OBJECT_NAME : Bits32
4974 |   FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8cd1
4975 |
4976 |
4977 |   public export
4978 |   FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE : Bits32
4979 |   FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8cd0
4980 |
4981 |
4982 |   public export
4983 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE : Bits32
4984 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8cd3
4985 |
4986 |
4987 |   public export
4988 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL : Bits32
4989 |   FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8cd2
4990 |
4991 |
4992 |   public export
4993 |   FRAMEBUFFER_BINDING : Bits32
4994 |   FRAMEBUFFER_BINDING = 0x8ca6
4995 |
4996 |
4997 |   public export
4998 |   FRAMEBUFFER_COMPLETE : Bits32
4999 |   FRAMEBUFFER_COMPLETE = 0x8cd5
5000 |
5001 |
5002 |   public export
5003 |   FRAMEBUFFER_INCOMPLETE_ATTACHMENT : Bits32
5004 |   FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8cd6
5005 |
5006 |
5007 |   public export
5008 |   FRAMEBUFFER_INCOMPLETE_DIMENSIONS : Bits32
5009 |   FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8cd9
5010 |
5011 |
5012 |   public export
5013 |   FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT : Bits32
5014 |   FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8cd7
5015 |
5016 |
5017 |   public export
5018 |   FRAMEBUFFER_UNSUPPORTED : Bits32
5019 |   FRAMEBUFFER_UNSUPPORTED = 0x8cdd
5020 |
5021 |
5022 |   public export
5023 |   FRONT : Bits32
5024 |   FRONT = 0x404
5025 |
5026 |
5027 |   public export
5028 |   FRONT_AND_BACK : Bits32
5029 |   FRONT_AND_BACK = 0x408
5030 |
5031 |
5032 |   public export
5033 |   FRONT_FACE : Bits32
5034 |   FRONT_FACE = 0xb46
5035 |
5036 |
5037 |   public export
5038 |   FUNC_ADD : Bits32
5039 |   FUNC_ADD = 0x8006
5040 |
5041 |
5042 |   public export
5043 |   FUNC_REVERSE_SUBTRACT : Bits32
5044 |   FUNC_REVERSE_SUBTRACT = 0x800b
5045 |
5046 |
5047 |   public export
5048 |   FUNC_SUBTRACT : Bits32
5049 |   FUNC_SUBTRACT = 0x800a
5050 |
5051 |
5052 |   public export
5053 |   GENERATE_MIPMAP_HINT : Bits32
5054 |   GENERATE_MIPMAP_HINT = 0x8192
5055 |
5056 |
5057 |   public export
5058 |   GEQUAL : Bits32
5059 |   GEQUAL = 0x206
5060 |
5061 |
5062 |   public export
5063 |   GREATER : Bits32
5064 |   GREATER = 0x204
5065 |
5066 |
5067 |   public export
5068 |   GREEN_BITS : Bits32
5069 |   GREEN_BITS = 0xd53
5070 |
5071 |
5072 |   public export
5073 |   HIGH_FLOAT : Bits32
5074 |   HIGH_FLOAT = 0x8df2
5075 |
5076 |
5077 |   public export
5078 |   HIGH_INT : Bits32
5079 |   HIGH_INT = 0x8df5
5080 |
5081 |
5082 |   public export
5083 |   IMPLEMENTATION_COLOR_READ_FORMAT : Bits32
5084 |   IMPLEMENTATION_COLOR_READ_FORMAT = 0x8b9b
5085 |
5086 |
5087 |   public export
5088 |   IMPLEMENTATION_COLOR_READ_TYPE : Bits32
5089 |   IMPLEMENTATION_COLOR_READ_TYPE = 0x8b9a
5090 |
5091 |
5092 |   public export
5093 |   INCR : Bits32
5094 |   INCR = 0x1e02
5095 |
5096 |
5097 |   public export
5098 |   INCR_WRAP : Bits32
5099 |   INCR_WRAP = 0x8507
5100 |
5101 |
5102 |   public export
5103 |   INT : Bits32
5104 |   INT = 0x1404
5105 |
5106 |
5107 |   public export
5108 |   INT_VEC2 : Bits32
5109 |   INT_VEC2 = 0x8b53
5110 |
5111 |
5112 |   public export
5113 |   INT_VEC3 : Bits32
5114 |   INT_VEC3 = 0x8b54
5115 |
5116 |
5117 |   public export
5118 |   INT_VEC4 : Bits32
5119 |   INT_VEC4 = 0x8b55
5120 |
5121 |
5122 |   public export
5123 |   INVALID_ENUM : Bits32
5124 |   INVALID_ENUM = 0x500
5125 |
5126 |
5127 |   public export
5128 |   INVALID_FRAMEBUFFER_OPERATION : Bits32
5129 |   INVALID_FRAMEBUFFER_OPERATION = 0x506
5130 |
5131 |
5132 |   public export
5133 |   INVALID_OPERATION : Bits32
5134 |   INVALID_OPERATION = 0x502
5135 |
5136 |
5137 |   public export
5138 |   INVALID_VALUE : Bits32
5139 |   INVALID_VALUE = 0x501
5140 |
5141 |
5142 |   public export
5143 |   INVERT : Bits32
5144 |   INVERT = 0x150a
5145 |
5146 |
5147 |   public export
5148 |   KEEP : Bits32
5149 |   KEEP = 0x1e00
5150 |
5151 |
5152 |   public export
5153 |   LEQUAL : Bits32
5154 |   LEQUAL = 0x203
5155 |
5156 |
5157 |   public export
5158 |   LESS : Bits32
5159 |   LESS = 0x201
5160 |
5161 |
5162 |   public export
5163 |   LINEAR : Bits32
5164 |   LINEAR = 0x2601
5165 |
5166 |
5167 |   public export
5168 |   LINEAR_MIPMAP_LINEAR : Bits32
5169 |   LINEAR_MIPMAP_LINEAR = 0x2703
5170 |
5171 |
5172 |   public export
5173 |   LINEAR_MIPMAP_NEAREST : Bits32
5174 |   LINEAR_MIPMAP_NEAREST = 0x2701
5175 |
5176 |
5177 |   public export
5178 |   LINES : Bits32
5179 |   LINES = 0x1
5180 |
5181 |
5182 |   public export
5183 |   LINE_LOOP : Bits32
5184 |   LINE_LOOP = 0x2
5185 |
5186 |
5187 |   public export
5188 |   LINE_STRIP : Bits32
5189 |   LINE_STRIP = 0x3
5190 |
5191 |
5192 |   public export
5193 |   LINE_WIDTH : Bits32
5194 |   LINE_WIDTH = 0xb21
5195 |
5196 |
5197 |   public export
5198 |   LINK_STATUS : Bits32
5199 |   LINK_STATUS = 0x8b82
5200 |
5201 |
5202 |   public export
5203 |   LOW_FLOAT : Bits32
5204 |   LOW_FLOAT = 0x8df0
5205 |
5206 |
5207 |   public export
5208 |   LOW_INT : Bits32
5209 |   LOW_INT = 0x8df3
5210 |
5211 |
5212 |   public export
5213 |   LUMINANCE : Bits32
5214 |   LUMINANCE = 0x1909
5215 |
5216 |
5217 |   public export
5218 |   LUMINANCE_ALPHA : Bits32
5219 |   LUMINANCE_ALPHA = 0x190a
5220 |
5221 |
5222 |   public export
5223 |   MAX_COMBINED_TEXTURE_IMAGE_UNITS : Bits32
5224 |   MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8b4d
5225 |
5226 |
5227 |   public export
5228 |   MAX_CUBE_MAP_TEXTURE_SIZE : Bits32
5229 |   MAX_CUBE_MAP_TEXTURE_SIZE = 0x851c
5230 |
5231 |
5232 |   public export
5233 |   MAX_FRAGMENT_UNIFORM_VECTORS : Bits32
5234 |   MAX_FRAGMENT_UNIFORM_VECTORS = 0x8dfd
5235 |
5236 |
5237 |   public export
5238 |   MAX_RENDERBUFFER_SIZE : Bits32
5239 |   MAX_RENDERBUFFER_SIZE = 0x84e8
5240 |
5241 |
5242 |   public export
5243 |   MAX_TEXTURE_IMAGE_UNITS : Bits32
5244 |   MAX_TEXTURE_IMAGE_UNITS = 0x8872
5245 |
5246 |
5247 |   public export
5248 |   MAX_TEXTURE_SIZE : Bits32
5249 |   MAX_TEXTURE_SIZE = 0xd33
5250 |
5251 |
5252 |   public export
5253 |   MAX_VARYING_VECTORS : Bits32
5254 |   MAX_VARYING_VECTORS = 0x8dfc
5255 |
5256 |
5257 |   public export
5258 |   MAX_VERTEX_ATTRIBS : Bits32
5259 |   MAX_VERTEX_ATTRIBS = 0x8869
5260 |
5261 |
5262 |   public export
5263 |   MAX_VERTEX_TEXTURE_IMAGE_UNITS : Bits32
5264 |   MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8b4c
5265 |
5266 |
5267 |   public export
5268 |   MAX_VERTEX_UNIFORM_VECTORS : Bits32
5269 |   MAX_VERTEX_UNIFORM_VECTORS = 0x8dfb
5270 |
5271 |
5272 |   public export
5273 |   MAX_VIEWPORT_DIMS : Bits32
5274 |   MAX_VIEWPORT_DIMS = 0xd3a
5275 |
5276 |
5277 |   public export
5278 |   MEDIUM_FLOAT : Bits32
5279 |   MEDIUM_FLOAT = 0x8df1
5280 |
5281 |
5282 |   public export
5283 |   MEDIUM_INT : Bits32
5284 |   MEDIUM_INT = 0x8df4
5285 |
5286 |
5287 |   public export
5288 |   MIRRORED_REPEAT : Bits32
5289 |   MIRRORED_REPEAT = 0x8370
5290 |
5291 |
5292 |   public export
5293 |   NEAREST : Bits32
5294 |   NEAREST = 0x2600
5295 |
5296 |
5297 |   public export
5298 |   NEAREST_MIPMAP_LINEAR : Bits32
5299 |   NEAREST_MIPMAP_LINEAR = 0x2702
5300 |
5301 |
5302 |   public export
5303 |   NEAREST_MIPMAP_NEAREST : Bits32
5304 |   NEAREST_MIPMAP_NEAREST = 0x2700
5305 |
5306 |
5307 |   public export
5308 |   NEVER : Bits32
5309 |   NEVER = 0x200
5310 |
5311 |
5312 |   public export
5313 |   NICEST : Bits32
5314 |   NICEST = 0x1102
5315 |
5316 |
5317 |   public export
5318 |   NONE : Bits32
5319 |   NONE = 0
5320 |
5321 |
5322 |   public export
5323 |   NOTEQUAL : Bits32
5324 |   NOTEQUAL = 0x205
5325 |
5326 |
5327 |   public export
5328 |   NO_ERROR : Bits32
5329 |   NO_ERROR = 0
5330 |
5331 |
5332 |   public export
5333 |   ONE : Bits32
5334 |   ONE = 1
5335 |
5336 |
5337 |   public export
5338 |   ONE_MINUS_CONSTANT_ALPHA : Bits32
5339 |   ONE_MINUS_CONSTANT_ALPHA = 0x8004
5340 |
5341 |
5342 |   public export
5343 |   ONE_MINUS_CONSTANT_COLOR : Bits32
5344 |   ONE_MINUS_CONSTANT_COLOR = 0x8002
5345 |
5346 |
5347 |   public export
5348 |   ONE_MINUS_DST_ALPHA : Bits32
5349 |   ONE_MINUS_DST_ALPHA = 0x305
5350 |
5351 |
5352 |   public export
5353 |   ONE_MINUS_DST_COLOR : Bits32
5354 |   ONE_MINUS_DST_COLOR = 0x307
5355 |
5356 |
5357 |   public export
5358 |   ONE_MINUS_SRC_ALPHA : Bits32
5359 |   ONE_MINUS_SRC_ALPHA = 0x303
5360 |
5361 |
5362 |   public export
5363 |   ONE_MINUS_SRC_COLOR : Bits32
5364 |   ONE_MINUS_SRC_COLOR = 0x301
5365 |
5366 |
5367 |   public export
5368 |   OUT_OF_MEMORY : Bits32
5369 |   OUT_OF_MEMORY = 0x505
5370 |
5371 |
5372 |   public export
5373 |   PACK_ALIGNMENT : Bits32
5374 |   PACK_ALIGNMENT = 0xd05
5375 |
5376 |
5377 |   public export
5378 |   POINTS : Bits32
5379 |   POINTS = 0x0
5380 |
5381 |
5382 |   public export
5383 |   POLYGON_OFFSET_FACTOR : Bits32
5384 |   POLYGON_OFFSET_FACTOR = 0x8038
5385 |
5386 |
5387 |   public export
5388 |   POLYGON_OFFSET_FILL : Bits32
5389 |   POLYGON_OFFSET_FILL = 0x8037
5390 |
5391 |
5392 |   public export
5393 |   POLYGON_OFFSET_UNITS : Bits32
5394 |   POLYGON_OFFSET_UNITS = 0x2a00
5395 |
5396 |
5397 |   public export
5398 |   RED_BITS : Bits32
5399 |   RED_BITS = 0xd52
5400 |
5401 |
5402 |   public export
5403 |   RENDERBUFFER : Bits32
5404 |   RENDERBUFFER = 0x8d41
5405 |
5406 |
5407 |   public export
5408 |   RENDERBUFFER_ALPHA_SIZE : Bits32
5409 |   RENDERBUFFER_ALPHA_SIZE = 0x8d53
5410 |
5411 |
5412 |   public export
5413 |   RENDERBUFFER_BINDING : Bits32
5414 |   RENDERBUFFER_BINDING = 0x8ca7
5415 |
5416 |
5417 |   public export
5418 |   RENDERBUFFER_BLUE_SIZE : Bits32
5419 |   RENDERBUFFER_BLUE_SIZE = 0x8d52
5420 |
5421 |
5422 |   public export
5423 |   RENDERBUFFER_DEPTH_SIZE : Bits32
5424 |   RENDERBUFFER_DEPTH_SIZE = 0x8d54
5425 |
5426 |
5427 |   public export
5428 |   RENDERBUFFER_GREEN_SIZE : Bits32
5429 |   RENDERBUFFER_GREEN_SIZE = 0x8d51
5430 |
5431 |
5432 |   public export
5433 |   RENDERBUFFER_HEIGHT : Bits32
5434 |   RENDERBUFFER_HEIGHT = 0x8d43
5435 |
5436 |
5437 |   public export
5438 |   RENDERBUFFER_INTERNAL_FORMAT : Bits32
5439 |   RENDERBUFFER_INTERNAL_FORMAT = 0x8d44
5440 |
5441 |
5442 |   public export
5443 |   RENDERBUFFER_RED_SIZE : Bits32
5444 |   RENDERBUFFER_RED_SIZE = 0x8d50
5445 |
5446 |
5447 |   public export
5448 |   RENDERBUFFER_STENCIL_SIZE : Bits32
5449 |   RENDERBUFFER_STENCIL_SIZE = 0x8d55
5450 |
5451 |
5452 |   public export
5453 |   RENDERBUFFER_WIDTH : Bits32
5454 |   RENDERBUFFER_WIDTH = 0x8d42
5455 |
5456 |
5457 |   public export
5458 |   RENDERER : Bits32
5459 |   RENDERER = 0x1f01
5460 |
5461 |
5462 |   public export
5463 |   REPEAT : Bits32
5464 |   REPEAT = 0x2901
5465 |
5466 |
5467 |   public export
5468 |   REPLACE : Bits32
5469 |   REPLACE = 0x1e01
5470 |
5471 |
5472 |   public export
5473 |   RGB : Bits32
5474 |   RGB = 0x1907
5475 |
5476 |
5477 |   public export
5478 |   RGB565 : Bits32
5479 |   RGB565 = 0x8d62
5480 |
5481 |
5482 |   public export
5483 |   RGB5_A1 : Bits32
5484 |   RGB5_A1 = 0x8057
5485 |
5486 |
5487 |   public export
5488 |   RGBA : Bits32
5489 |   RGBA = 0x1908
5490 |
5491 |
5492 |   public export
5493 |   RGBA4 : Bits32
5494 |   RGBA4 = 0x8056
5495 |
5496 |
5497 |   public export
5498 |   SAMPLER_2D : Bits32
5499 |   SAMPLER_2D = 0x8b5e
5500 |
5501 |
5502 |   public export
5503 |   SAMPLER_CUBE : Bits32
5504 |   SAMPLER_CUBE = 0x8b60
5505 |
5506 |
5507 |   public export
5508 |   SAMPLES : Bits32
5509 |   SAMPLES = 0x80a9
5510 |
5511 |
5512 |   public export
5513 |   SAMPLE_ALPHA_TO_COVERAGE : Bits32
5514 |   SAMPLE_ALPHA_TO_COVERAGE = 0x809e
5515 |
5516 |
5517 |   public export
5518 |   SAMPLE_BUFFERS : Bits32
5519 |   SAMPLE_BUFFERS = 0x80a8
5520 |
5521 |
5522 |   public export
5523 |   SAMPLE_COVERAGE : Bits32
5524 |   SAMPLE_COVERAGE = 0x80a0
5525 |
5526 |
5527 |   public export
5528 |   SAMPLE_COVERAGE_INVERT : Bits32
5529 |   SAMPLE_COVERAGE_INVERT = 0x80ab
5530 |
5531 |
5532 |   public export
5533 |   SAMPLE_COVERAGE_VALUE : Bits32
5534 |   SAMPLE_COVERAGE_VALUE = 0x80aa
5535 |
5536 |
5537 |   public export
5538 |   SCISSOR_BOX : Bits32
5539 |   SCISSOR_BOX = 0xc10
5540 |
5541 |
5542 |   public export
5543 |   SCISSOR_TEST : Bits32
5544 |   SCISSOR_TEST = 0xc11
5545 |
5546 |
5547 |   public export
5548 |   SHADER_TYPE : Bits32
5549 |   SHADER_TYPE = 0x8b4f
5550 |
5551 |
5552 |   public export
5553 |   SHADING_LANGUAGE_VERSION : Bits32
5554 |   SHADING_LANGUAGE_VERSION = 0x8b8c
5555 |
5556 |
5557 |   public export
5558 |   SHORT : Bits32
5559 |   SHORT = 0x1402
5560 |
5561 |
5562 |   public export
5563 |   SRC_ALPHA : Bits32
5564 |   SRC_ALPHA = 0x302
5565 |
5566 |
5567 |   public export
5568 |   SRC_ALPHA_SATURATE : Bits32
5569 |   SRC_ALPHA_SATURATE = 0x308
5570 |
5571 |
5572 |   public export
5573 |   SRC_COLOR : Bits32
5574 |   SRC_COLOR = 0x300
5575 |
5576 |
5577 |   public export
5578 |   STATIC_DRAW : Bits32
5579 |   STATIC_DRAW = 0x88e4
5580 |
5581 |
5582 |   public export
5583 |   STENCIL_ATTACHMENT : Bits32
5584 |   STENCIL_ATTACHMENT = 0x8d20
5585 |
5586 |
5587 |   public export
5588 |   STENCIL_BACK_FAIL : Bits32
5589 |   STENCIL_BACK_FAIL = 0x8801
5590 |
5591 |
5592 |   public export
5593 |   STENCIL_BACK_FUNC : Bits32
5594 |   STENCIL_BACK_FUNC = 0x8800
5595 |
5596 |
5597 |   public export
5598 |   STENCIL_BACK_PASS_DEPTH_FAIL : Bits32
5599 |   STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802
5600 |
5601 |
5602 |   public export
5603 |   STENCIL_BACK_PASS_DEPTH_PASS : Bits32
5604 |   STENCIL_BACK_PASS_DEPTH_PASS = 0x8803
5605 |
5606 |
5607 |   public export
5608 |   STENCIL_BACK_REF : Bits32
5609 |   STENCIL_BACK_REF = 0x8ca3
5610 |
5611 |
5612 |   public export
5613 |   STENCIL_BACK_VALUE_MASK : Bits32
5614 |   STENCIL_BACK_VALUE_MASK = 0x8ca4
5615 |
5616 |
5617 |   public export
5618 |   STENCIL_BACK_WRITEMASK : Bits32
5619 |   STENCIL_BACK_WRITEMASK = 0x8ca5
5620 |
5621 |
5622 |   public export
5623 |   STENCIL_BITS : Bits32
5624 |   STENCIL_BITS = 0xd57
5625 |
5626 |
5627 |   public export
5628 |   STENCIL_BUFFER_BIT : Bits32
5629 |   STENCIL_BUFFER_BIT = 0x400
5630 |
5631 |
5632 |   public export
5633 |   STENCIL_CLEAR_VALUE : Bits32
5634 |   STENCIL_CLEAR_VALUE = 0xb91
5635 |
5636 |
5637 |   public export
5638 |   STENCIL_FAIL : Bits32
5639 |   STENCIL_FAIL = 0xb94
5640 |
5641 |
5642 |   public export
5643 |   STENCIL_FUNC : Bits32
5644 |   STENCIL_FUNC = 0xb92
5645 |
5646 |
5647 |   public export
5648 |   STENCIL_INDEX8 : Bits32
5649 |   STENCIL_INDEX8 = 0x8d48
5650 |
5651 |
5652 |   public export
5653 |   STENCIL_PASS_DEPTH_FAIL : Bits32
5654 |   STENCIL_PASS_DEPTH_FAIL = 0xb95
5655 |
5656 |
5657 |   public export
5658 |   STENCIL_PASS_DEPTH_PASS : Bits32
5659 |   STENCIL_PASS_DEPTH_PASS = 0xb96
5660 |
5661 |
5662 |   public export
5663 |   STENCIL_REF : Bits32
5664 |   STENCIL_REF = 0xb97
5665 |
5666 |
5667 |   public export
5668 |   STENCIL_TEST : Bits32
5669 |   STENCIL_TEST = 0xb90
5670 |
5671 |
5672 |   public export
5673 |   STENCIL_VALUE_MASK : Bits32
5674 |   STENCIL_VALUE_MASK = 0xb93
5675 |
5676 |
5677 |   public export
5678 |   STENCIL_WRITEMASK : Bits32
5679 |   STENCIL_WRITEMASK = 0xb98
5680 |
5681 |
5682 |   public export
5683 |   STREAM_DRAW : Bits32
5684 |   STREAM_DRAW = 0x88e0
5685 |
5686 |
5687 |   public export
5688 |   SUBPIXEL_BITS : Bits32
5689 |   SUBPIXEL_BITS = 0xd50
5690 |
5691 |
5692 |   public export
5693 |   TEXTURE : Bits32
5694 |   TEXTURE = 0x1702
5695 |
5696 |
5697 |   public export
5698 |   TEXTURE0 : Bits32
5699 |   TEXTURE0 = 0x84c0
5700 |
5701 |
5702 |   public export
5703 |   TEXTURE1 : Bits32
5704 |   TEXTURE1 = 0x84c1
5705 |
5706 |
5707 |   public export
5708 |   TEXTURE10 : Bits32
5709 |   TEXTURE10 = 0x84ca
5710 |
5711 |
5712 |   public export
5713 |   TEXTURE11 : Bits32
5714 |   TEXTURE11 = 0x84cb
5715 |
5716 |
5717 |   public export
5718 |   TEXTURE12 : Bits32
5719 |   TEXTURE12 = 0x84cc
5720 |
5721 |
5722 |   public export
5723 |   TEXTURE13 : Bits32
5724 |   TEXTURE13 = 0x84cd
5725 |
5726 |
5727 |   public export
5728 |   TEXTURE14 : Bits32
5729 |   TEXTURE14 = 0x84ce
5730 |
5731 |
5732 |   public export
5733 |   TEXTURE15 : Bits32
5734 |   TEXTURE15 = 0x84cf
5735 |
5736 |
5737 |   public export
5738 |   TEXTURE16 : Bits32
5739 |   TEXTURE16 = 0x84d0
5740 |
5741 |
5742 |   public export
5743 |   TEXTURE17 : Bits32
5744 |   TEXTURE17 = 0x84d1
5745 |
5746 |
5747 |   public export
5748 |   TEXTURE18 : Bits32
5749 |   TEXTURE18 = 0x84d2
5750 |
5751 |
5752 |   public export
5753 |   TEXTURE19 : Bits32
5754 |   TEXTURE19 = 0x84d3
5755 |
5756 |
5757 |   public export
5758 |   TEXTURE2 : Bits32
5759 |   TEXTURE2 = 0x84c2
5760 |
5761 |
5762 |   public export
5763 |   TEXTURE20 : Bits32
5764 |   TEXTURE20 = 0x84d4
5765 |
5766 |
5767 |   public export
5768 |   TEXTURE21 : Bits32
5769 |   TEXTURE21 = 0x84d5
5770 |
5771 |
5772 |   public export
5773 |   TEXTURE22 : Bits32
5774 |   TEXTURE22 = 0x84d6
5775 |
5776 |
5777 |   public export
5778 |   TEXTURE23 : Bits32
5779 |   TEXTURE23 = 0x84d7
5780 |
5781 |
5782 |   public export
5783 |   TEXTURE24 : Bits32
5784 |   TEXTURE24 = 0x84d8
5785 |
5786 |
5787 |   public export
5788 |   TEXTURE25 : Bits32
5789 |   TEXTURE25 = 0x84d9
5790 |
5791 |
5792 |   public export
5793 |   TEXTURE26 : Bits32
5794 |   TEXTURE26 = 0x84da
5795 |
5796 |
5797 |   public export
5798 |   TEXTURE27 : Bits32
5799 |   TEXTURE27 = 0x84db
5800 |
5801 |
5802 |   public export
5803 |   TEXTURE28 : Bits32
5804 |   TEXTURE28 = 0x84dc
5805 |
5806 |
5807 |   public export
5808 |   TEXTURE29 : Bits32
5809 |   TEXTURE29 = 0x84dd
5810 |
5811 |
5812 |   public export
5813 |   TEXTURE3 : Bits32
5814 |   TEXTURE3 = 0x84c3
5815 |
5816 |
5817 |   public export
5818 |   TEXTURE30 : Bits32
5819 |   TEXTURE30 = 0x84de
5820 |
5821 |
5822 |   public export
5823 |   TEXTURE31 : Bits32
5824 |   TEXTURE31 = 0x84df
5825 |
5826 |
5827 |   public export
5828 |   TEXTURE4 : Bits32
5829 |   TEXTURE4 = 0x84c4
5830 |
5831 |
5832 |   public export
5833 |   TEXTURE5 : Bits32
5834 |   TEXTURE5 = 0x84c5
5835 |
5836 |
5837 |   public export
5838 |   TEXTURE6 : Bits32
5839 |   TEXTURE6 = 0x84c6
5840 |
5841 |
5842 |   public export
5843 |   TEXTURE7 : Bits32
5844 |   TEXTURE7 = 0x84c7
5845 |
5846 |
5847 |   public export
5848 |   TEXTURE8 : Bits32
5849 |   TEXTURE8 = 0x84c8
5850 |
5851 |
5852 |   public export
5853 |   TEXTURE9 : Bits32
5854 |   TEXTURE9 = 0x84c9
5855 |
5856 |
5857 |   public export
5858 |   TEXTURE_2D : Bits32
5859 |   TEXTURE_2D = 0xde1
5860 |
5861 |
5862 |   public export
5863 |   TEXTURE_BINDING_2D : Bits32
5864 |   TEXTURE_BINDING_2D = 0x8069
5865 |
5866 |
5867 |   public export
5868 |   TEXTURE_BINDING_CUBE_MAP : Bits32
5869 |   TEXTURE_BINDING_CUBE_MAP = 0x8514
5870 |
5871 |
5872 |   public export
5873 |   TEXTURE_CUBE_MAP : Bits32
5874 |   TEXTURE_CUBE_MAP = 0x8513
5875 |
5876 |
5877 |   public export
5878 |   TEXTURE_CUBE_MAP_NEGATIVE_X : Bits32
5879 |   TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
5880 |
5881 |
5882 |   public export
5883 |   TEXTURE_CUBE_MAP_NEGATIVE_Y : Bits32
5884 |   TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
5885 |
5886 |
5887 |   public export
5888 |   TEXTURE_CUBE_MAP_NEGATIVE_Z : Bits32
5889 |   TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851a
5890 |
5891 |
5892 |   public export
5893 |   TEXTURE_CUBE_MAP_POSITIVE_X : Bits32
5894 |   TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
5895 |
5896 |
5897 |   public export
5898 |   TEXTURE_CUBE_MAP_POSITIVE_Y : Bits32
5899 |   TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
5900 |
5901 |
5902 |   public export
5903 |   TEXTURE_CUBE_MAP_POSITIVE_Z : Bits32
5904 |   TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
5905 |
5906 |
5907 |   public export
5908 |   TEXTURE_MAG_FILTER : Bits32
5909 |   TEXTURE_MAG_FILTER = 0x2800
5910 |
5911 |
5912 |   public export
5913 |   TEXTURE_MIN_FILTER : Bits32
5914 |   TEXTURE_MIN_FILTER = 0x2801
5915 |
5916 |
5917 |   public export
5918 |   TEXTURE_WRAP_S : Bits32
5919 |   TEXTURE_WRAP_S = 0x2802
5920 |
5921 |
5922 |   public export
5923 |   TEXTURE_WRAP_T : Bits32
5924 |   TEXTURE_WRAP_T = 0x2803
5925 |
5926 |
5927 |   public export
5928 |   TRIANGLES : Bits32
5929 |   TRIANGLES = 0x4
5930 |
5931 |
5932 |   public export
5933 |   TRIANGLE_FAN : Bits32
5934 |   TRIANGLE_FAN = 0x6
5935 |
5936 |
5937 |   public export
5938 |   TRIANGLE_STRIP : Bits32
5939 |   TRIANGLE_STRIP = 0x5
5940 |
5941 |
5942 |   public export
5943 |   UNPACK_ALIGNMENT : Bits32
5944 |   UNPACK_ALIGNMENT = 0xcf5
5945 |
5946 |
5947 |   public export
5948 |   UNPACK_COLORSPACE_CONVERSION_WEBGL : Bits32
5949 |   UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243
5950 |
5951 |
5952 |   public export
5953 |   UNPACK_FLIP_Y_WEBGL : Bits32
5954 |   UNPACK_FLIP_Y_WEBGL = 0x9240
5955 |
5956 |
5957 |   public export
5958 |   UNPACK_PREMULTIPLY_ALPHA_WEBGL : Bits32
5959 |   UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241
5960 |
5961 |
5962 |   public export
5963 |   UNSIGNED_BYTE : Bits32
5964 |   UNSIGNED_BYTE = 0x1401
5965 |
5966 |
5967 |   public export
5968 |   UNSIGNED_INT : Bits32
5969 |   UNSIGNED_INT = 0x1405
5970 |
5971 |
5972 |   public export
5973 |   UNSIGNED_SHORT : Bits32
5974 |   UNSIGNED_SHORT = 0x1403
5975 |
5976 |
5977 |   public export
5978 |   UNSIGNED_SHORT_4_4_4_4 : Bits32
5979 |   UNSIGNED_SHORT_4_4_4_4 = 0x8033
5980 |
5981 |
5982 |   public export
5983 |   UNSIGNED_SHORT_5_5_5_1 : Bits32
5984 |   UNSIGNED_SHORT_5_5_5_1 = 0x8034
5985 |
5986 |
5987 |   public export
5988 |   UNSIGNED_SHORT_5_6_5 : Bits32
5989 |   UNSIGNED_SHORT_5_6_5 = 0x8363
5990 |
5991 |
5992 |   public export
5993 |   VALIDATE_STATUS : Bits32
5994 |   VALIDATE_STATUS = 0x8b83
5995 |
5996 |
5997 |   public export
5998 |   VENDOR : Bits32
5999 |   VENDOR = 0x1f00
6000 |
6001 |
6002 |   public export
6003 |   VERSION : Bits32
6004 |   VERSION = 0x1f02
6005 |
6006 |
6007 |   public export
6008 |   VERTEX_ATTRIB_ARRAY_BUFFER_BINDING : Bits32
6009 |   VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889f
6010 |
6011 |
6012 |   public export
6013 |   VERTEX_ATTRIB_ARRAY_ENABLED : Bits32
6014 |   VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622
6015 |
6016 |
6017 |   public export
6018 |   VERTEX_ATTRIB_ARRAY_NORMALIZED : Bits32
6019 |   VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886a
6020 |
6021 |
6022 |   public export
6023 |   VERTEX_ATTRIB_ARRAY_POINTER : Bits32
6024 |   VERTEX_ATTRIB_ARRAY_POINTER = 0x8645
6025 |
6026 |
6027 |   public export
6028 |   VERTEX_ATTRIB_ARRAY_SIZE : Bits32
6029 |   VERTEX_ATTRIB_ARRAY_SIZE = 0x8623
6030 |
6031 |
6032 |   public export
6033 |   VERTEX_ATTRIB_ARRAY_STRIDE : Bits32
6034 |   VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624
6035 |
6036 |
6037 |   public export
6038 |   VERTEX_ATTRIB_ARRAY_TYPE : Bits32
6039 |   VERTEX_ATTRIB_ARRAY_TYPE = 0x8625
6040 |
6041 |
6042 |   public export
6043 |   VERTEX_SHADER : Bits32
6044 |   VERTEX_SHADER = 0x8b31
6045 |
6046 |
6047 |   public export
6048 |   VIEWPORT : Bits32
6049 |   VIEWPORT = 0xba2
6050 |
6051 |
6052 |   public export
6053 |   ZERO : Bits32
6054 |   ZERO = 0
6055 |
6056 |
6057 |   export
6058 |   canvas :
6059 |        {auto 0 _ : JSType t1}
6060 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6061 |     -> (obj : t1)
6062 |     -> JSIO (HSum [HTMLCanvasElement, OffscreenCanvas])
6063 |   canvas a = tryJS "WebGLRenderingContextBase.canvas" $
6064 |     WebGLRenderingContextBase.prim__canvas (up a)
6065 |
6066 |
6067 |   export
6068 |   drawingBufferHeight :
6069 |        {auto 0 _ : JSType t1}
6070 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6071 |     -> (obj : t1)
6072 |     -> JSIO Int32
6073 |   drawingBufferHeight a = primJS $
6074 |     WebGLRenderingContextBase.prim__drawingBufferHeight (up a)
6075 |
6076 |
6077 |   export
6078 |   drawingBufferWidth :
6079 |        {auto 0 _ : JSType t1}
6080 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6081 |     -> (obj : t1)
6082 |     -> JSIO Int32
6083 |   drawingBufferWidth a = primJS $
6084 |     WebGLRenderingContextBase.prim__drawingBufferWidth (up a)
6085 |
6086 |
6087 |   export
6088 |   activeTexture :
6089 |        {auto 0 _ : JSType t1}
6090 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6091 |     -> (obj : t1)
6092 |     -> (texture : Bits32)
6093 |     -> JSIO ()
6094 |   activeTexture a b = primJS $
6095 |     WebGLRenderingContextBase.prim__activeTexture (up a) b
6096 |
6097 |
6098 |   export
6099 |   attachShader :
6100 |        {auto 0 _ : JSType t1}
6101 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6102 |     -> (obj : t1)
6103 |     -> (program : WebGLProgram)
6104 |     -> (shader : WebGLShader)
6105 |     -> JSIO ()
6106 |   attachShader a b c = primJS $
6107 |     WebGLRenderingContextBase.prim__attachShader (up a) b c
6108 |
6109 |
6110 |   export
6111 |   bindAttribLocation :
6112 |        {auto 0 _ : JSType t1}
6113 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6114 |     -> (obj : t1)
6115 |     -> (program : WebGLProgram)
6116 |     -> (index : Bits32)
6117 |     -> (name : String)
6118 |     -> JSIO ()
6119 |   bindAttribLocation a b c d = primJS $
6120 |     WebGLRenderingContextBase.prim__bindAttribLocation (up a) b c d
6121 |
6122 |
6123 |   export
6124 |   bindBuffer :
6125 |        {auto 0 _ : JSType t1}
6126 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6127 |     -> (obj : t1)
6128 |     -> (target : Bits32)
6129 |     -> (buffer : Maybe WebGLBuffer)
6130 |     -> JSIO ()
6131 |   bindBuffer a b c = primJS $
6132 |     WebGLRenderingContextBase.prim__bindBuffer (up a) b (toFFI c)
6133 |
6134 |
6135 |   export
6136 |   bindFramebuffer :
6137 |        {auto 0 _ : JSType t1}
6138 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6139 |     -> (obj : t1)
6140 |     -> (target : Bits32)
6141 |     -> (framebuffer : Maybe WebGLFramebuffer)
6142 |     -> JSIO ()
6143 |   bindFramebuffer a b c = primJS $
6144 |     WebGLRenderingContextBase.prim__bindFramebuffer (up a) b (toFFI c)
6145 |
6146 |
6147 |   export
6148 |   bindRenderbuffer :
6149 |        {auto 0 _ : JSType t1}
6150 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6151 |     -> (obj : t1)
6152 |     -> (target : Bits32)
6153 |     -> (renderbuffer : Maybe WebGLRenderbuffer)
6154 |     -> JSIO ()
6155 |   bindRenderbuffer a b c = primJS $
6156 |     WebGLRenderingContextBase.prim__bindRenderbuffer (up a) b (toFFI c)
6157 |
6158 |
6159 |   export
6160 |   bindTexture :
6161 |        {auto 0 _ : JSType t1}
6162 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6163 |     -> (obj : t1)
6164 |     -> (target : Bits32)
6165 |     -> (texture : Maybe WebGLTexture)
6166 |     -> JSIO ()
6167 |   bindTexture a b c = primJS $
6168 |     WebGLRenderingContextBase.prim__bindTexture (up a) b (toFFI c)
6169 |
6170 |
6171 |   export
6172 |   blendColor :
6173 |        {auto 0 _ : JSType t1}
6174 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6175 |     -> (obj : t1)
6176 |     -> (red : Double)
6177 |     -> (green : Double)
6178 |     -> (blue : Double)
6179 |     -> (alpha : Double)
6180 |     -> JSIO ()
6181 |   blendColor a b c d e = primJS $
6182 |     WebGLRenderingContextBase.prim__blendColor (up a) b c d e
6183 |
6184 |
6185 |   export
6186 |   blendEquationSeparate :
6187 |        {auto 0 _ : JSType t1}
6188 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6189 |     -> (obj : t1)
6190 |     -> (modeRGB : Bits32)
6191 |     -> (modeAlpha : Bits32)
6192 |     -> JSIO ()
6193 |   blendEquationSeparate a b c = primJS $
6194 |     WebGLRenderingContextBase.prim__blendEquationSeparate (up a) b c
6195 |
6196 |
6197 |   export
6198 |   blendEquation :
6199 |        {auto 0 _ : JSType t1}
6200 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6201 |     -> (obj : t1)
6202 |     -> (mode : Bits32)
6203 |     -> JSIO ()
6204 |   blendEquation a b = primJS $
6205 |     WebGLRenderingContextBase.prim__blendEquation (up a) b
6206 |
6207 |
6208 |   export
6209 |   blendFuncSeparate :
6210 |        {auto 0 _ : JSType t1}
6211 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6212 |     -> (obj : t1)
6213 |     -> (srcRGB : Bits32)
6214 |     -> (dstRGB : Bits32)
6215 |     -> (srcAlpha : Bits32)
6216 |     -> (dstAlpha : Bits32)
6217 |     -> JSIO ()
6218 |   blendFuncSeparate a b c d e = primJS $
6219 |     WebGLRenderingContextBase.prim__blendFuncSeparate (up a) b c d e
6220 |
6221 |
6222 |   export
6223 |   blendFunc :
6224 |        {auto 0 _ : JSType t1}
6225 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6226 |     -> (obj : t1)
6227 |     -> (sfactor : Bits32)
6228 |     -> (dfactor : Bits32)
6229 |     -> JSIO ()
6230 |   blendFunc a b c = primJS $
6231 |     WebGLRenderingContextBase.prim__blendFunc (up a) b c
6232 |
6233 |
6234 |   export
6235 |   checkFramebufferStatus :
6236 |        {auto 0 _ : JSType t1}
6237 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6238 |     -> (obj : t1)
6239 |     -> (target : Bits32)
6240 |     -> JSIO Bits32
6241 |   checkFramebufferStatus a b = primJS $
6242 |     WebGLRenderingContextBase.prim__checkFramebufferStatus (up a) b
6243 |
6244 |
6245 |   export
6246 |   clearColor :
6247 |        {auto 0 _ : JSType t1}
6248 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6249 |     -> (obj : t1)
6250 |     -> (red : Double)
6251 |     -> (green : Double)
6252 |     -> (blue : Double)
6253 |     -> (alpha : Double)
6254 |     -> JSIO ()
6255 |   clearColor a b c d e = primJS $
6256 |     WebGLRenderingContextBase.prim__clearColor (up a) b c d e
6257 |
6258 |
6259 |   export
6260 |   clearDepth :
6261 |        {auto 0 _ : JSType t1}
6262 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6263 |     -> (obj : t1)
6264 |     -> (depth : Double)
6265 |     -> JSIO ()
6266 |   clearDepth a b = primJS $ WebGLRenderingContextBase.prim__clearDepth (up a) b
6267 |
6268 |
6269 |   export
6270 |   clearStencil :
6271 |        {auto 0 _ : JSType t1}
6272 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6273 |     -> (obj : t1)
6274 |     -> (s : Int32)
6275 |     -> JSIO ()
6276 |   clearStencil a b = primJS $
6277 |     WebGLRenderingContextBase.prim__clearStencil (up a) b
6278 |
6279 |
6280 |   export
6281 |   clear :
6282 |        {auto 0 _ : JSType t1}
6283 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6284 |     -> (obj : t1)
6285 |     -> (mask : Bits32)
6286 |     -> JSIO ()
6287 |   clear a b = primJS $ WebGLRenderingContextBase.prim__clear (up a) b
6288 |
6289 |
6290 |   export
6291 |   colorMask :
6292 |        {auto 0 _ : JSType t1}
6293 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6294 |     -> (obj : t1)
6295 |     -> (red : Bool)
6296 |     -> (green : Bool)
6297 |     -> (blue : Bool)
6298 |     -> (alpha : Bool)
6299 |     -> JSIO ()
6300 |   colorMask a b c d e = primJS $
6301 |     WebGLRenderingContextBase.prim__colorMask
6302 |       (up a)
6303 |       (toFFI b)
6304 |       (toFFI c)
6305 |       (toFFI d)
6306 |       (toFFI e)
6307 |
6308 |
6309 |   export
6310 |   compileShader :
6311 |        {auto 0 _ : JSType t1}
6312 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6313 |     -> (obj : t1)
6314 |     -> (shader : WebGLShader)
6315 |     -> JSIO ()
6316 |   compileShader a b = primJS $
6317 |     WebGLRenderingContextBase.prim__compileShader (up a) b
6318 |
6319 |
6320 |   export
6321 |   copyTexImage2D :
6322 |        {auto 0 _ : JSType t1}
6323 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6324 |     -> (obj : t1)
6325 |     -> (target : Bits32)
6326 |     -> (level : Int32)
6327 |     -> (internalformat : Bits32)
6328 |     -> (x : Int32)
6329 |     -> (y : Int32)
6330 |     -> (width : Int32)
6331 |     -> (height : Int32)
6332 |     -> (border : Int32)
6333 |     -> JSIO ()
6334 |   copyTexImage2D a b c d e f g h i = primJS $
6335 |     WebGLRenderingContextBase.prim__copyTexImage2D (up a) b c d e f g h i
6336 |
6337 |
6338 |   export
6339 |   copyTexSubImage2D :
6340 |        {auto 0 _ : JSType t1}
6341 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6342 |     -> (obj : t1)
6343 |     -> (target : Bits32)
6344 |     -> (level : Int32)
6345 |     -> (xoffset : Int32)
6346 |     -> (yoffset : Int32)
6347 |     -> (x : Int32)
6348 |     -> (y : Int32)
6349 |     -> (width : Int32)
6350 |     -> (height : Int32)
6351 |     -> JSIO ()
6352 |   copyTexSubImage2D a b c d e f g h i = primJS $
6353 |     WebGLRenderingContextBase.prim__copyTexSubImage2D (up a) b c d e f g h i
6354 |
6355 |
6356 |   export
6357 |   createBuffer :
6358 |        {auto 0 _ : JSType t1}
6359 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6360 |     -> (obj : t1)
6361 |     -> JSIO (Maybe WebGLBuffer)
6362 |   createBuffer a = tryJS "WebGLRenderingContextBase.createBuffer" $
6363 |     WebGLRenderingContextBase.prim__createBuffer (up a)
6364 |
6365 |
6366 |   export
6367 |   createFramebuffer :
6368 |        {auto 0 _ : JSType t1}
6369 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6370 |     -> (obj : t1)
6371 |     -> JSIO (Maybe WebGLFramebuffer)
6372 |   createFramebuffer a = tryJS "WebGLRenderingContextBase.createFramebuffer" $
6373 |     WebGLRenderingContextBase.prim__createFramebuffer (up a)
6374 |
6375 |
6376 |   export
6377 |   createProgram :
6378 |        {auto 0 _ : JSType t1}
6379 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6380 |     -> (obj : t1)
6381 |     -> JSIO (Maybe WebGLProgram)
6382 |   createProgram a = tryJS "WebGLRenderingContextBase.createProgram" $
6383 |     WebGLRenderingContextBase.prim__createProgram (up a)
6384 |
6385 |
6386 |   export
6387 |   createRenderbuffer :
6388 |        {auto 0 _ : JSType t1}
6389 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6390 |     -> (obj : t1)
6391 |     -> JSIO (Maybe WebGLRenderbuffer)
6392 |   createRenderbuffer a = tryJS "WebGLRenderingContextBase.createRenderbuffer" $
6393 |     WebGLRenderingContextBase.prim__createRenderbuffer (up a)
6394 |
6395 |
6396 |   export
6397 |   createShader :
6398 |        {auto 0 _ : JSType t1}
6399 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6400 |     -> (obj : t1)
6401 |     -> (type : Bits32)
6402 |     -> JSIO (Maybe WebGLShader)
6403 |   createShader a b = tryJS "WebGLRenderingContextBase.createShader" $
6404 |     WebGLRenderingContextBase.prim__createShader (up a) b
6405 |
6406 |
6407 |   export
6408 |   createTexture :
6409 |        {auto 0 _ : JSType t1}
6410 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6411 |     -> (obj : t1)
6412 |     -> JSIO (Maybe WebGLTexture)
6413 |   createTexture a = tryJS "WebGLRenderingContextBase.createTexture" $
6414 |     WebGLRenderingContextBase.prim__createTexture (up a)
6415 |
6416 |
6417 |   export
6418 |   cullFace :
6419 |        {auto 0 _ : JSType t1}
6420 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6421 |     -> (obj : t1)
6422 |     -> (mode : Bits32)
6423 |     -> JSIO ()
6424 |   cullFace a b = primJS $ WebGLRenderingContextBase.prim__cullFace (up a) b
6425 |
6426 |
6427 |   export
6428 |   deleteBuffer :
6429 |        {auto 0 _ : JSType t1}
6430 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6431 |     -> (obj : t1)
6432 |     -> (buffer : Maybe WebGLBuffer)
6433 |     -> JSIO ()
6434 |   deleteBuffer a b = primJS $
6435 |     WebGLRenderingContextBase.prim__deleteBuffer (up a) (toFFI b)
6436 |
6437 |
6438 |   export
6439 |   deleteFramebuffer :
6440 |        {auto 0 _ : JSType t1}
6441 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6442 |     -> (obj : t1)
6443 |     -> (framebuffer : Maybe WebGLFramebuffer)
6444 |     -> JSIO ()
6445 |   deleteFramebuffer a b = primJS $
6446 |     WebGLRenderingContextBase.prim__deleteFramebuffer (up a) (toFFI b)
6447 |
6448 |
6449 |   export
6450 |   deleteProgram :
6451 |        {auto 0 _ : JSType t1}
6452 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6453 |     -> (obj : t1)
6454 |     -> (program : Maybe WebGLProgram)
6455 |     -> JSIO ()
6456 |   deleteProgram a b = primJS $
6457 |     WebGLRenderingContextBase.prim__deleteProgram (up a) (toFFI b)
6458 |
6459 |
6460 |   export
6461 |   deleteRenderbuffer :
6462 |        {auto 0 _ : JSType t1}
6463 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6464 |     -> (obj : t1)
6465 |     -> (renderbuffer : Maybe WebGLRenderbuffer)
6466 |     -> JSIO ()
6467 |   deleteRenderbuffer a b = primJS $
6468 |     WebGLRenderingContextBase.prim__deleteRenderbuffer (up a) (toFFI b)
6469 |
6470 |
6471 |   export
6472 |   deleteShader :
6473 |        {auto 0 _ : JSType t1}
6474 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6475 |     -> (obj : t1)
6476 |     -> (shader : Maybe WebGLShader)
6477 |     -> JSIO ()
6478 |   deleteShader a b = primJS $
6479 |     WebGLRenderingContextBase.prim__deleteShader (up a) (toFFI b)
6480 |
6481 |
6482 |   export
6483 |   deleteTexture :
6484 |        {auto 0 _ : JSType t1}
6485 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6486 |     -> (obj : t1)
6487 |     -> (texture : Maybe WebGLTexture)
6488 |     -> JSIO ()
6489 |   deleteTexture a b = primJS $
6490 |     WebGLRenderingContextBase.prim__deleteTexture (up a) (toFFI b)
6491 |
6492 |
6493 |   export
6494 |   depthFunc :
6495 |        {auto 0 _ : JSType t1}
6496 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6497 |     -> (obj : t1)
6498 |     -> (func : Bits32)
6499 |     -> JSIO ()
6500 |   depthFunc a b = primJS $ WebGLRenderingContextBase.prim__depthFunc (up a) b
6501 |
6502 |
6503 |   export
6504 |   depthMask :
6505 |        {auto 0 _ : JSType t1}
6506 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6507 |     -> (obj : t1)
6508 |     -> (flag : Bool)
6509 |     -> JSIO ()
6510 |   depthMask a b = primJS $
6511 |     WebGLRenderingContextBase.prim__depthMask (up a) (toFFI b)
6512 |
6513 |
6514 |   export
6515 |   depthRange :
6516 |        {auto 0 _ : JSType t1}
6517 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6518 |     -> (obj : t1)
6519 |     -> (zNear : Double)
6520 |     -> (zFar : Double)
6521 |     -> JSIO ()
6522 |   depthRange a b c = primJS $
6523 |     WebGLRenderingContextBase.prim__depthRange (up a) b c
6524 |
6525 |
6526 |   export
6527 |   detachShader :
6528 |        {auto 0 _ : JSType t1}
6529 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6530 |     -> (obj : t1)
6531 |     -> (program : WebGLProgram)
6532 |     -> (shader : WebGLShader)
6533 |     -> JSIO ()
6534 |   detachShader a b c = primJS $
6535 |     WebGLRenderingContextBase.prim__detachShader (up a) b c
6536 |
6537 |
6538 |   export
6539 |   disableVertexAttribArray :
6540 |        {auto 0 _ : JSType t1}
6541 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6542 |     -> (obj : t1)
6543 |     -> (index : Bits32)
6544 |     -> JSIO ()
6545 |   disableVertexAttribArray a b = primJS $
6546 |     WebGLRenderingContextBase.prim__disableVertexAttribArray (up a) b
6547 |
6548 |
6549 |   export
6550 |   disable :
6551 |        {auto 0 _ : JSType t1}
6552 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6553 |     -> (obj : t1)
6554 |     -> (cap : Bits32)
6555 |     -> JSIO ()
6556 |   disable a b = primJS $ WebGLRenderingContextBase.prim__disable (up a) b
6557 |
6558 |
6559 |   export
6560 |   drawArrays :
6561 |        {auto 0 _ : JSType t1}
6562 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6563 |     -> (obj : t1)
6564 |     -> (mode : Bits32)
6565 |     -> (first : Int32)
6566 |     -> (count : Int32)
6567 |     -> JSIO ()
6568 |   drawArrays a b c d = primJS $
6569 |     WebGLRenderingContextBase.prim__drawArrays (up a) b c d
6570 |
6571 |
6572 |   export
6573 |   drawElements :
6574 |        {auto 0 _ : JSType t1}
6575 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6576 |     -> (obj : t1)
6577 |     -> (mode : Bits32)
6578 |     -> (count : Int32)
6579 |     -> (type : Bits32)
6580 |     -> (offset : JSInt64)
6581 |     -> JSIO ()
6582 |   drawElements a b c d e = primJS $
6583 |     WebGLRenderingContextBase.prim__drawElements (up a) b c d e
6584 |
6585 |
6586 |   export
6587 |   enableVertexAttribArray :
6588 |        {auto 0 _ : JSType t1}
6589 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6590 |     -> (obj : t1)
6591 |     -> (index : Bits32)
6592 |     -> JSIO ()
6593 |   enableVertexAttribArray a b = primJS $
6594 |     WebGLRenderingContextBase.prim__enableVertexAttribArray (up a) b
6595 |
6596 |
6597 |   export
6598 |   enable :
6599 |        {auto 0 _ : JSType t1}
6600 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6601 |     -> (obj : t1)
6602 |     -> (cap : Bits32)
6603 |     -> JSIO ()
6604 |   enable a b = primJS $ WebGLRenderingContextBase.prim__enable (up a) b
6605 |
6606 |
6607 |   export
6608 |   finish :
6609 |        {auto 0 _ : JSType t1}
6610 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6611 |     -> (obj : t1)
6612 |     -> JSIO ()
6613 |   finish a = primJS $ WebGLRenderingContextBase.prim__finish (up a)
6614 |
6615 |
6616 |   export
6617 |   flush :
6618 |        {auto 0 _ : JSType t1}
6619 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6620 |     -> (obj : t1)
6621 |     -> JSIO ()
6622 |   flush a = primJS $ WebGLRenderingContextBase.prim__flush (up a)
6623 |
6624 |
6625 |   export
6626 |   framebufferRenderbuffer :
6627 |        {auto 0 _ : JSType t1}
6628 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6629 |     -> (obj : t1)
6630 |     -> (target : Bits32)
6631 |     -> (attachment : Bits32)
6632 |     -> (renderbuffertarget : Bits32)
6633 |     -> (renderbuffer : Maybe WebGLRenderbuffer)
6634 |     -> JSIO ()
6635 |   framebufferRenderbuffer a b c d e = primJS $
6636 |     WebGLRenderingContextBase.prim__framebufferRenderbuffer
6637 |       (up a)
6638 |       b
6639 |       c
6640 |       d
6641 |       (toFFI e)
6642 |
6643 |
6644 |   export
6645 |   framebufferTexture2D :
6646 |        {auto 0 _ : JSType t1}
6647 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6648 |     -> (obj : t1)
6649 |     -> (target : Bits32)
6650 |     -> (attachment : Bits32)
6651 |     -> (textarget : Bits32)
6652 |     -> (texture : Maybe WebGLTexture)
6653 |     -> (level : Int32)
6654 |     -> JSIO ()
6655 |   framebufferTexture2D a b c d e f = primJS $
6656 |     WebGLRenderingContextBase.prim__framebufferTexture2D
6657 |       (up a)
6658 |       b
6659 |       c
6660 |       d
6661 |       (toFFI e)
6662 |       f
6663 |
6664 |
6665 |   export
6666 |   frontFace :
6667 |        {auto 0 _ : JSType t1}
6668 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6669 |     -> (obj : t1)
6670 |     -> (mode : Bits32)
6671 |     -> JSIO ()
6672 |   frontFace a b = primJS $ WebGLRenderingContextBase.prim__frontFace (up a) b
6673 |
6674 |
6675 |   export
6676 |   generateMipmap :
6677 |        {auto 0 _ : JSType t1}
6678 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6679 |     -> (obj : t1)
6680 |     -> (target : Bits32)
6681 |     -> JSIO ()
6682 |   generateMipmap a b = primJS $
6683 |     WebGLRenderingContextBase.prim__generateMipmap (up a) b
6684 |
6685 |
6686 |   export
6687 |   getActiveAttrib :
6688 |        {auto 0 _ : JSType t1}
6689 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6690 |     -> (obj : t1)
6691 |     -> (program : WebGLProgram)
6692 |     -> (index : Bits32)
6693 |     -> JSIO (Maybe WebGLActiveInfo)
6694 |   getActiveAttrib a b c = tryJS "WebGLRenderingContextBase.getActiveAttrib" $
6695 |     WebGLRenderingContextBase.prim__getActiveAttrib (up a) b c
6696 |
6697 |
6698 |   export
6699 |   getActiveUniform :
6700 |        {auto 0 _ : JSType t1}
6701 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6702 |     -> (obj : t1)
6703 |     -> (program : WebGLProgram)
6704 |     -> (index : Bits32)
6705 |     -> JSIO (Maybe WebGLActiveInfo)
6706 |   getActiveUniform a b c = tryJS "WebGLRenderingContextBase.getActiveUniform" $
6707 |     WebGLRenderingContextBase.prim__getActiveUniform (up a) b c
6708 |
6709 |
6710 |   export
6711 |   getAttachedShaders :
6712 |        {auto 0 _ : JSType t1}
6713 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6714 |     -> (obj : t1)
6715 |     -> (program : WebGLProgram)
6716 |     -> JSIO (Maybe (Array WebGLShader))
6717 |   getAttachedShaders a b = tryJS "WebGLRenderingContextBase.getAttachedShaders" $
6718 |     WebGLRenderingContextBase.prim__getAttachedShaders (up a) b
6719 |
6720 |
6721 |   export
6722 |   getAttribLocation :
6723 |        {auto 0 _ : JSType t1}
6724 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6725 |     -> (obj : t1)
6726 |     -> (program : WebGLProgram)
6727 |     -> (name : String)
6728 |     -> JSIO Int32
6729 |   getAttribLocation a b c = primJS $
6730 |     WebGLRenderingContextBase.prim__getAttribLocation (up a) b c
6731 |
6732 |
6733 |   export
6734 |   getBufferParameter :
6735 |        {auto 0 _ : JSType t1}
6736 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6737 |     -> (obj : t1)
6738 |     -> (target : Bits32)
6739 |     -> (pname : Bits32)
6740 |     -> JSIO Any
6741 |   getBufferParameter a b c = tryJS "WebGLRenderingContextBase.getBufferParameter" $
6742 |     WebGLRenderingContextBase.prim__getBufferParameter (up a) b c
6743 |
6744 |
6745 |   export
6746 |   getContextAttributes :
6747 |        {auto 0 _ : JSType t1}
6748 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6749 |     -> (obj : t1)
6750 |     -> JSIO (Maybe WebGLContextAttributes)
6751 |   getContextAttributes a = tryJS "WebGLRenderingContextBase.getContextAttributes" $
6752 |     WebGLRenderingContextBase.prim__getContextAttributes (up a)
6753 |
6754 |
6755 |   export
6756 |   getError :
6757 |        {auto 0 _ : JSType t1}
6758 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6759 |     -> (obj : t1)
6760 |     -> JSIO Bits32
6761 |   getError a = primJS $ WebGLRenderingContextBase.prim__getError (up a)
6762 |
6763 |
6764 |   export
6765 |   getExtension :
6766 |        {auto 0 _ : JSType t1}
6767 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6768 |     -> (obj : t1)
6769 |     -> (name : String)
6770 |     -> JSIO (Maybe Object)
6771 |   getExtension a b = tryJS "WebGLRenderingContextBase.getExtension" $
6772 |     WebGLRenderingContextBase.prim__getExtension (up a) b
6773 |
6774 |
6775 |   export
6776 |   getFramebufferAttachmentParameter :
6777 |        {auto 0 _ : JSType t1}
6778 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6779 |     -> (obj : t1)
6780 |     -> (target : Bits32)
6781 |     -> (attachment : Bits32)
6782 |     -> (pname : Bits32)
6783 |     -> JSIO Any
6784 |   getFramebufferAttachmentParameter a b c d = tryJS "WebGLRenderingContextBase.getFramebufferAttachmentParameter" $
6785 |     WebGLRenderingContextBase.prim__getFramebufferAttachmentParameter (up a) b c d
6786 |
6787 |
6788 |   export
6789 |   getParameter :
6790 |        {auto 0 _ : JSType t1}
6791 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6792 |     -> (obj : t1)
6793 |     -> (pname : Bits32)
6794 |     -> JSIO Any
6795 |   getParameter a b = tryJS "WebGLRenderingContextBase.getParameter" $
6796 |     WebGLRenderingContextBase.prim__getParameter (up a) b
6797 |
6798 |
6799 |   export
6800 |   getProgramInfoLog :
6801 |        {auto 0 _ : JSType t1}
6802 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6803 |     -> (obj : t1)
6804 |     -> (program : WebGLProgram)
6805 |     -> JSIO (Maybe String)
6806 |   getProgramInfoLog a b = tryJS "WebGLRenderingContextBase.getProgramInfoLog" $
6807 |     WebGLRenderingContextBase.prim__getProgramInfoLog (up a) b
6808 |
6809 |
6810 |   export
6811 |   getProgramParameter :
6812 |        {auto 0 _ : JSType t1}
6813 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6814 |     -> (obj : t1)
6815 |     -> (program : WebGLProgram)
6816 |     -> (pname : Bits32)
6817 |     -> JSIO Any
6818 |   getProgramParameter a b c = tryJS "WebGLRenderingContextBase.getProgramParameter" $
6819 |     WebGLRenderingContextBase.prim__getProgramParameter (up a) b c
6820 |
6821 |
6822 |   export
6823 |   getRenderbufferParameter :
6824 |        {auto 0 _ : JSType t1}
6825 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6826 |     -> (obj : t1)
6827 |     -> (target : Bits32)
6828 |     -> (pname : Bits32)
6829 |     -> JSIO Any
6830 |   getRenderbufferParameter a b c = tryJS "WebGLRenderingContextBase.getRenderbufferParameter" $
6831 |     WebGLRenderingContextBase.prim__getRenderbufferParameter (up a) b c
6832 |
6833 |
6834 |   export
6835 |   getShaderInfoLog :
6836 |        {auto 0 _ : JSType t1}
6837 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6838 |     -> (obj : t1)
6839 |     -> (shader : WebGLShader)
6840 |     -> JSIO (Maybe String)
6841 |   getShaderInfoLog a b = tryJS "WebGLRenderingContextBase.getShaderInfoLog" $
6842 |     WebGLRenderingContextBase.prim__getShaderInfoLog (up a) b
6843 |
6844 |
6845 |   export
6846 |   getShaderParameter :
6847 |        {auto 0 _ : JSType t1}
6848 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6849 |     -> (obj : t1)
6850 |     -> (shader : WebGLShader)
6851 |     -> (pname : Bits32)
6852 |     -> JSIO Any
6853 |   getShaderParameter a b c = tryJS "WebGLRenderingContextBase.getShaderParameter" $
6854 |     WebGLRenderingContextBase.prim__getShaderParameter (up a) b c
6855 |
6856 |
6857 |   export
6858 |   getShaderPrecisionFormat :
6859 |        {auto 0 _ : JSType t1}
6860 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6861 |     -> (obj : t1)
6862 |     -> (shadertype : Bits32)
6863 |     -> (precisiontype : Bits32)
6864 |     -> JSIO (Maybe WebGLShaderPrecisionFormat)
6865 |   getShaderPrecisionFormat a b c = tryJS "WebGLRenderingContextBase.getShaderPrecisionFormat" $
6866 |     WebGLRenderingContextBase.prim__getShaderPrecisionFormat (up a) b c
6867 |
6868 |
6869 |   export
6870 |   getShaderSource :
6871 |        {auto 0 _ : JSType t1}
6872 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6873 |     -> (obj : t1)
6874 |     -> (shader : WebGLShader)
6875 |     -> JSIO (Maybe String)
6876 |   getShaderSource a b = tryJS "WebGLRenderingContextBase.getShaderSource" $
6877 |     WebGLRenderingContextBase.prim__getShaderSource (up a) b
6878 |
6879 |
6880 |   export
6881 |   getSupportedExtensions :
6882 |        {auto 0 _ : JSType t1}
6883 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6884 |     -> (obj : t1)
6885 |     -> JSIO (Maybe (Array String))
6886 |   getSupportedExtensions a = tryJS "WebGLRenderingContextBase.getSupportedExtensions" $
6887 |     WebGLRenderingContextBase.prim__getSupportedExtensions (up a)
6888 |
6889 |
6890 |   export
6891 |   getTexParameter :
6892 |        {auto 0 _ : JSType t1}
6893 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6894 |     -> (obj : t1)
6895 |     -> (target : Bits32)
6896 |     -> (pname : Bits32)
6897 |     -> JSIO Any
6898 |   getTexParameter a b c = tryJS "WebGLRenderingContextBase.getTexParameter" $
6899 |     WebGLRenderingContextBase.prim__getTexParameter (up a) b c
6900 |
6901 |
6902 |   export
6903 |   getUniformLocation :
6904 |        {auto 0 _ : JSType t1}
6905 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6906 |     -> (obj : t1)
6907 |     -> (program : WebGLProgram)
6908 |     -> (name : String)
6909 |     -> JSIO (Maybe WebGLUniformLocation)
6910 |   getUniformLocation a b c = tryJS "WebGLRenderingContextBase.getUniformLocation" $
6911 |     WebGLRenderingContextBase.prim__getUniformLocation (up a) b c
6912 |
6913 |
6914 |   export
6915 |   getUniform :
6916 |        {auto 0 _ : JSType t1}
6917 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6918 |     -> (obj : t1)
6919 |     -> (program : WebGLProgram)
6920 |     -> (location : WebGLUniformLocation)
6921 |     -> JSIO Any
6922 |   getUniform a b c = tryJS "WebGLRenderingContextBase.getUniform" $
6923 |     WebGLRenderingContextBase.prim__getUniform (up a) b c
6924 |
6925 |
6926 |   export
6927 |   getVertexAttribOffset :
6928 |        {auto 0 _ : JSType t1}
6929 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6930 |     -> (obj : t1)
6931 |     -> (index : Bits32)
6932 |     -> (pname : Bits32)
6933 |     -> JSIO JSInt64
6934 |   getVertexAttribOffset a b c = primJS $
6935 |     WebGLRenderingContextBase.prim__getVertexAttribOffset (up a) b c
6936 |
6937 |
6938 |   export
6939 |   getVertexAttrib :
6940 |        {auto 0 _ : JSType t1}
6941 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6942 |     -> (obj : t1)
6943 |     -> (index : Bits32)
6944 |     -> (pname : Bits32)
6945 |     -> JSIO Any
6946 |   getVertexAttrib a b c = tryJS "WebGLRenderingContextBase.getVertexAttrib" $
6947 |     WebGLRenderingContextBase.prim__getVertexAttrib (up a) b c
6948 |
6949 |
6950 |   export
6951 |   hint :
6952 |        {auto 0 _ : JSType t1}
6953 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6954 |     -> (obj : t1)
6955 |     -> (target : Bits32)
6956 |     -> (mode : Bits32)
6957 |     -> JSIO ()
6958 |   hint a b c = primJS $ WebGLRenderingContextBase.prim__hint (up a) b c
6959 |
6960 |
6961 |   export
6962 |   isBuffer :
6963 |        {auto 0 _ : JSType t1}
6964 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6965 |     -> (obj : t1)
6966 |     -> (buffer : Maybe WebGLBuffer)
6967 |     -> JSIO Bool
6968 |   isBuffer a b = tryJS "WebGLRenderingContextBase.isBuffer" $
6969 |     WebGLRenderingContextBase.prim__isBuffer (up a) (toFFI b)
6970 |
6971 |
6972 |   export
6973 |   isContextLost :
6974 |        {auto 0 _ : JSType t1}
6975 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6976 |     -> (obj : t1)
6977 |     -> JSIO Bool
6978 |   isContextLost a = tryJS "WebGLRenderingContextBase.isContextLost" $
6979 |     WebGLRenderingContextBase.prim__isContextLost (up a)
6980 |
6981 |
6982 |   export
6983 |   isEnabled :
6984 |        {auto 0 _ : JSType t1}
6985 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6986 |     -> (obj : t1)
6987 |     -> (cap : Bits32)
6988 |     -> JSIO Bool
6989 |   isEnabled a b = tryJS "WebGLRenderingContextBase.isEnabled" $
6990 |     WebGLRenderingContextBase.prim__isEnabled (up a) b
6991 |
6992 |
6993 |   export
6994 |   isFramebuffer :
6995 |        {auto 0 _ : JSType t1}
6996 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
6997 |     -> (obj : t1)
6998 |     -> (framebuffer : Maybe WebGLFramebuffer)
6999 |     -> JSIO Bool
7000 |   isFramebuffer a b = tryJS "WebGLRenderingContextBase.isFramebuffer" $
7001 |     WebGLRenderingContextBase.prim__isFramebuffer (up a) (toFFI b)
7002 |
7003 |
7004 |   export
7005 |   isProgram :
7006 |        {auto 0 _ : JSType t1}
7007 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7008 |     -> (obj : t1)
7009 |     -> (program : Maybe WebGLProgram)
7010 |     -> JSIO Bool
7011 |   isProgram a b = tryJS "WebGLRenderingContextBase.isProgram" $
7012 |     WebGLRenderingContextBase.prim__isProgram (up a) (toFFI b)
7013 |
7014 |
7015 |   export
7016 |   isRenderbuffer :
7017 |        {auto 0 _ : JSType t1}
7018 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7019 |     -> (obj : t1)
7020 |     -> (renderbuffer : Maybe WebGLRenderbuffer)
7021 |     -> JSIO Bool
7022 |   isRenderbuffer a b = tryJS "WebGLRenderingContextBase.isRenderbuffer" $
7023 |     WebGLRenderingContextBase.prim__isRenderbuffer (up a) (toFFI b)
7024 |
7025 |
7026 |   export
7027 |   isShader :
7028 |        {auto 0 _ : JSType t1}
7029 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7030 |     -> (obj : t1)
7031 |     -> (shader : Maybe WebGLShader)
7032 |     -> JSIO Bool
7033 |   isShader a b = tryJS "WebGLRenderingContextBase.isShader" $
7034 |     WebGLRenderingContextBase.prim__isShader (up a) (toFFI b)
7035 |
7036 |
7037 |   export
7038 |   isTexture :
7039 |        {auto 0 _ : JSType t1}
7040 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7041 |     -> (obj : t1)
7042 |     -> (texture : Maybe WebGLTexture)
7043 |     -> JSIO Bool
7044 |   isTexture a b = tryJS "WebGLRenderingContextBase.isTexture" $
7045 |     WebGLRenderingContextBase.prim__isTexture (up a) (toFFI b)
7046 |
7047 |
7048 |   export
7049 |   lineWidth :
7050 |        {auto 0 _ : JSType t1}
7051 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7052 |     -> (obj : t1)
7053 |     -> (width : Double)
7054 |     -> JSIO ()
7055 |   lineWidth a b = primJS $ WebGLRenderingContextBase.prim__lineWidth (up a) b
7056 |
7057 |
7058 |   export
7059 |   linkProgram :
7060 |        {auto 0 _ : JSType t1}
7061 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7062 |     -> (obj : t1)
7063 |     -> (program : WebGLProgram)
7064 |     -> JSIO ()
7065 |   linkProgram a b = primJS $
7066 |     WebGLRenderingContextBase.prim__linkProgram (up a) b
7067 |
7068 |
7069 |   export
7070 |   pixelStorei :
7071 |        {auto 0 _ : JSType t1}
7072 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7073 |     -> (obj : t1)
7074 |     -> (pname : Bits32)
7075 |     -> (param : Int32)
7076 |     -> JSIO ()
7077 |   pixelStorei a b c = primJS $
7078 |     WebGLRenderingContextBase.prim__pixelStorei (up a) b c
7079 |
7080 |
7081 |   export
7082 |   polygonOffset :
7083 |        {auto 0 _ : JSType t1}
7084 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7085 |     -> (obj : t1)
7086 |     -> (factor : Double)
7087 |     -> (units : Double)
7088 |     -> JSIO ()
7089 |   polygonOffset a b c = primJS $
7090 |     WebGLRenderingContextBase.prim__polygonOffset (up a) b c
7091 |
7092 |
7093 |   export
7094 |   renderbufferStorage :
7095 |        {auto 0 _ : JSType t1}
7096 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7097 |     -> (obj : t1)
7098 |     -> (target : Bits32)
7099 |     -> (internalformat : Bits32)
7100 |     -> (width : Int32)
7101 |     -> (height : Int32)
7102 |     -> JSIO ()
7103 |   renderbufferStorage a b c d e = primJS $
7104 |     WebGLRenderingContextBase.prim__renderbufferStorage (up a) b c d e
7105 |
7106 |
7107 |   export
7108 |   sampleCoverage :
7109 |        {auto 0 _ : JSType t1}
7110 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7111 |     -> (obj : t1)
7112 |     -> (value : Double)
7113 |     -> (invert : Bool)
7114 |     -> JSIO ()
7115 |   sampleCoverage a b c = primJS $
7116 |     WebGLRenderingContextBase.prim__sampleCoverage (up a) b (toFFI c)
7117 |
7118 |
7119 |   export
7120 |   scissor :
7121 |        {auto 0 _ : JSType t1}
7122 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7123 |     -> (obj : t1)
7124 |     -> (x : Int32)
7125 |     -> (y : Int32)
7126 |     -> (width : Int32)
7127 |     -> (height : Int32)
7128 |     -> JSIO ()
7129 |   scissor a b c d e = primJS $
7130 |     WebGLRenderingContextBase.prim__scissor (up a) b c d e
7131 |
7132 |
7133 |   export
7134 |   shaderSource :
7135 |        {auto 0 _ : JSType t1}
7136 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7137 |     -> (obj : t1)
7138 |     -> (shader : WebGLShader)
7139 |     -> (source : String)
7140 |     -> JSIO ()
7141 |   shaderSource a b c = primJS $
7142 |     WebGLRenderingContextBase.prim__shaderSource (up a) b c
7143 |
7144 |
7145 |   export
7146 |   stencilFuncSeparate :
7147 |        {auto 0 _ : JSType t1}
7148 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7149 |     -> (obj : t1)
7150 |     -> (face : Bits32)
7151 |     -> (func : Bits32)
7152 |     -> (ref : Int32)
7153 |     -> (mask : Bits32)
7154 |     -> JSIO ()
7155 |   stencilFuncSeparate a b c d e = primJS $
7156 |     WebGLRenderingContextBase.prim__stencilFuncSeparate (up a) b c d e
7157 |
7158 |
7159 |   export
7160 |   stencilFunc :
7161 |        {auto 0 _ : JSType t1}
7162 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7163 |     -> (obj : t1)
7164 |     -> (func : Bits32)
7165 |     -> (ref : Int32)
7166 |     -> (mask : Bits32)
7167 |     -> JSIO ()
7168 |   stencilFunc a b c d = primJS $
7169 |     WebGLRenderingContextBase.prim__stencilFunc (up a) b c d
7170 |
7171 |
7172 |   export
7173 |   stencilMaskSeparate :
7174 |        {auto 0 _ : JSType t1}
7175 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7176 |     -> (obj : t1)
7177 |     -> (face : Bits32)
7178 |     -> (mask : Bits32)
7179 |     -> JSIO ()
7180 |   stencilMaskSeparate a b c = primJS $
7181 |     WebGLRenderingContextBase.prim__stencilMaskSeparate (up a) b c
7182 |
7183 |
7184 |   export
7185 |   stencilMask :
7186 |        {auto 0 _ : JSType t1}
7187 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7188 |     -> (obj : t1)
7189 |     -> (mask : Bits32)
7190 |     -> JSIO ()
7191 |   stencilMask a b = primJS $
7192 |     WebGLRenderingContextBase.prim__stencilMask (up a) b
7193 |
7194 |
7195 |   export
7196 |   stencilOpSeparate :
7197 |        {auto 0 _ : JSType t1}
7198 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7199 |     -> (obj : t1)
7200 |     -> (face : Bits32)
7201 |     -> (fail : Bits32)
7202 |     -> (zfail : Bits32)
7203 |     -> (zpass : Bits32)
7204 |     -> JSIO ()
7205 |   stencilOpSeparate a b c d e = primJS $
7206 |     WebGLRenderingContextBase.prim__stencilOpSeparate (up a) b c d e
7207 |
7208 |
7209 |   export
7210 |   stencilOp :
7211 |        {auto 0 _ : JSType t1}
7212 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7213 |     -> (obj : t1)
7214 |     -> (fail : Bits32)
7215 |     -> (zfail : Bits32)
7216 |     -> (zpass : Bits32)
7217 |     -> JSIO ()
7218 |   stencilOp a b c d = primJS $
7219 |     WebGLRenderingContextBase.prim__stencilOp (up a) b c d
7220 |
7221 |
7222 |   export
7223 |   texParameterf :
7224 |        {auto 0 _ : JSType t1}
7225 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7226 |     -> (obj : t1)
7227 |     -> (target : Bits32)
7228 |     -> (pname : Bits32)
7229 |     -> (param : Double)
7230 |     -> JSIO ()
7231 |   texParameterf a b c d = primJS $
7232 |     WebGLRenderingContextBase.prim__texParameterf (up a) b c d
7233 |
7234 |
7235 |   export
7236 |   texParameteri :
7237 |        {auto 0 _ : JSType t1}
7238 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7239 |     -> (obj : t1)
7240 |     -> (target : Bits32)
7241 |     -> (pname : Bits32)
7242 |     -> (param : Int32)
7243 |     -> JSIO ()
7244 |   texParameteri a b c d = primJS $
7245 |     WebGLRenderingContextBase.prim__texParameteri (up a) b c d
7246 |
7247 |
7248 |   export
7249 |   uniform1f :
7250 |        {auto 0 _ : JSType t1}
7251 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7252 |     -> (obj : t1)
7253 |     -> (location : Maybe WebGLUniformLocation)
7254 |     -> (x : Double)
7255 |     -> JSIO ()
7256 |   uniform1f a b c = primJS $
7257 |     WebGLRenderingContextBase.prim__uniform1f (up a) (toFFI b) c
7258 |
7259 |
7260 |   export
7261 |   uniform1i :
7262 |        {auto 0 _ : JSType t1}
7263 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7264 |     -> (obj : t1)
7265 |     -> (location : Maybe WebGLUniformLocation)
7266 |     -> (x : Int32)
7267 |     -> JSIO ()
7268 |   uniform1i a b c = primJS $
7269 |     WebGLRenderingContextBase.prim__uniform1i (up a) (toFFI b) c
7270 |
7271 |
7272 |   export
7273 |   uniform2f :
7274 |        {auto 0 _ : JSType t1}
7275 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7276 |     -> (obj : t1)
7277 |     -> (location : Maybe WebGLUniformLocation)
7278 |     -> (x : Double)
7279 |     -> (y : Double)
7280 |     -> JSIO ()
7281 |   uniform2f a b c d = primJS $
7282 |     WebGLRenderingContextBase.prim__uniform2f (up a) (toFFI b) c d
7283 |
7284 |
7285 |   export
7286 |   uniform2i :
7287 |        {auto 0 _ : JSType t1}
7288 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7289 |     -> (obj : t1)
7290 |     -> (location : Maybe WebGLUniformLocation)
7291 |     -> (x : Int32)
7292 |     -> (y : Int32)
7293 |     -> JSIO ()
7294 |   uniform2i a b c d = primJS $
7295 |     WebGLRenderingContextBase.prim__uniform2i (up a) (toFFI b) c d
7296 |
7297 |
7298 |   export
7299 |   uniform3f :
7300 |        {auto 0 _ : JSType t1}
7301 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7302 |     -> (obj : t1)
7303 |     -> (location : Maybe WebGLUniformLocation)
7304 |     -> (x : Double)
7305 |     -> (y : Double)
7306 |     -> (z : Double)
7307 |     -> JSIO ()
7308 |   uniform3f a b c d e = primJS $
7309 |     WebGLRenderingContextBase.prim__uniform3f (up a) (toFFI b) c d e
7310 |
7311 |
7312 |   export
7313 |   uniform3i :
7314 |        {auto 0 _ : JSType t1}
7315 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7316 |     -> (obj : t1)
7317 |     -> (location : Maybe WebGLUniformLocation)
7318 |     -> (x : Int32)
7319 |     -> (y : Int32)
7320 |     -> (z : Int32)
7321 |     -> JSIO ()
7322 |   uniform3i a b c d e = primJS $
7323 |     WebGLRenderingContextBase.prim__uniform3i (up a) (toFFI b) c d e
7324 |
7325 |
7326 |   export
7327 |   uniform4f :
7328 |        {auto 0 _ : JSType t1}
7329 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7330 |     -> (obj : t1)
7331 |     -> (location : Maybe WebGLUniformLocation)
7332 |     -> (x : Double)
7333 |     -> (y : Double)
7334 |     -> (z : Double)
7335 |     -> (w : Double)
7336 |     -> JSIO ()
7337 |   uniform4f a b c d e f = primJS $
7338 |     WebGLRenderingContextBase.prim__uniform4f (up a) (toFFI b) c d e f
7339 |
7340 |
7341 |   export
7342 |   uniform4i :
7343 |        {auto 0 _ : JSType t1}
7344 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7345 |     -> (obj : t1)
7346 |     -> (location : Maybe WebGLUniformLocation)
7347 |     -> (x : Int32)
7348 |     -> (y : Int32)
7349 |     -> (z : Int32)
7350 |     -> (w : Int32)
7351 |     -> JSIO ()
7352 |   uniform4i a b c d e f = primJS $
7353 |     WebGLRenderingContextBase.prim__uniform4i (up a) (toFFI b) c d e f
7354 |
7355 |
7356 |   export
7357 |   useProgram :
7358 |        {auto 0 _ : JSType t1}
7359 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7360 |     -> (obj : t1)
7361 |     -> (program : Maybe WebGLProgram)
7362 |     -> JSIO ()
7363 |   useProgram a b = primJS $
7364 |     WebGLRenderingContextBase.prim__useProgram (up a) (toFFI b)
7365 |
7366 |
7367 |   export
7368 |   validateProgram :
7369 |        {auto 0 _ : JSType t1}
7370 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7371 |     -> (obj : t1)
7372 |     -> (program : WebGLProgram)
7373 |     -> JSIO ()
7374 |   validateProgram a b = primJS $
7375 |     WebGLRenderingContextBase.prim__validateProgram (up a) b
7376 |
7377 |
7378 |   export
7379 |   vertexAttrib1f :
7380 |        {auto 0 _ : JSType t1}
7381 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7382 |     -> (obj : t1)
7383 |     -> (index : Bits32)
7384 |     -> (x : Double)
7385 |     -> JSIO ()
7386 |   vertexAttrib1f a b c = primJS $
7387 |     WebGLRenderingContextBase.prim__vertexAttrib1f (up a) b c
7388 |
7389 |
7390 |   export
7391 |   vertexAttrib1fv :
7392 |        {auto 0 _ : JSType t1}
7393 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7394 |     -> (obj : t1)
7395 |     -> (index : Bits32)
7396 |     -> (values : HSum [Float32Array, Array Double])
7397 |     -> JSIO ()
7398 |   vertexAttrib1fv a b c = primJS $
7399 |     WebGLRenderingContextBase.prim__vertexAttrib1fv (up a) b (toFFI c)
7400 |
7401 |
7402 |   export
7403 |   vertexAttrib2f :
7404 |        {auto 0 _ : JSType t1}
7405 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7406 |     -> (obj : t1)
7407 |     -> (index : Bits32)
7408 |     -> (x : Double)
7409 |     -> (y : Double)
7410 |     -> JSIO ()
7411 |   vertexAttrib2f a b c d = primJS $
7412 |     WebGLRenderingContextBase.prim__vertexAttrib2f (up a) b c d
7413 |
7414 |
7415 |   export
7416 |   vertexAttrib2fv :
7417 |        {auto 0 _ : JSType t1}
7418 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7419 |     -> (obj : t1)
7420 |     -> (index : Bits32)
7421 |     -> (values : HSum [Float32Array, Array Double])
7422 |     -> JSIO ()
7423 |   vertexAttrib2fv a b c = primJS $
7424 |     WebGLRenderingContextBase.prim__vertexAttrib2fv (up a) b (toFFI c)
7425 |
7426 |
7427 |   export
7428 |   vertexAttrib3f :
7429 |        {auto 0 _ : JSType t1}
7430 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7431 |     -> (obj : t1)
7432 |     -> (index : Bits32)
7433 |     -> (x : Double)
7434 |     -> (y : Double)
7435 |     -> (z : Double)
7436 |     -> JSIO ()
7437 |   vertexAttrib3f a b c d e = primJS $
7438 |     WebGLRenderingContextBase.prim__vertexAttrib3f (up a) b c d e
7439 |
7440 |
7441 |   export
7442 |   vertexAttrib3fv :
7443 |        {auto 0 _ : JSType t1}
7444 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7445 |     -> (obj : t1)
7446 |     -> (index : Bits32)
7447 |     -> (values : HSum [Float32Array, Array Double])
7448 |     -> JSIO ()
7449 |   vertexAttrib3fv a b c = primJS $
7450 |     WebGLRenderingContextBase.prim__vertexAttrib3fv (up a) b (toFFI c)
7451 |
7452 |
7453 |   export
7454 |   vertexAttrib4f :
7455 |        {auto 0 _ : JSType t1}
7456 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7457 |     -> (obj : t1)
7458 |     -> (index : Bits32)
7459 |     -> (x : Double)
7460 |     -> (y : Double)
7461 |     -> (z : Double)
7462 |     -> (w : Double)
7463 |     -> JSIO ()
7464 |   vertexAttrib4f a b c d e f = primJS $
7465 |     WebGLRenderingContextBase.prim__vertexAttrib4f (up a) b c d e f
7466 |
7467 |
7468 |   export
7469 |   vertexAttrib4fv :
7470 |        {auto 0 _ : JSType t1}
7471 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7472 |     -> (obj : t1)
7473 |     -> (index : Bits32)
7474 |     -> (values : HSum [Float32Array, Array Double])
7475 |     -> JSIO ()
7476 |   vertexAttrib4fv a b c = primJS $
7477 |     WebGLRenderingContextBase.prim__vertexAttrib4fv (up a) b (toFFI c)
7478 |
7479 |
7480 |   export
7481 |   vertexAttribPointer :
7482 |        {auto 0 _ : JSType t1}
7483 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7484 |     -> (obj : t1)
7485 |     -> (index : Bits32)
7486 |     -> (size : Int32)
7487 |     -> (type : Bits32)
7488 |     -> (normalized : Bool)
7489 |     -> (stride : Int32)
7490 |     -> (offset : JSInt64)
7491 |     -> JSIO ()
7492 |   vertexAttribPointer a b c d e f g = primJS $
7493 |     WebGLRenderingContextBase.prim__vertexAttribPointer
7494 |       (up a)
7495 |       b
7496 |       c
7497 |       d
7498 |       (toFFI e)
7499 |       f
7500 |       g
7501 |
7502 |
7503 |   export
7504 |   viewport :
7505 |        {auto 0 _ : JSType t1}
7506 |     -> {auto 0 _ : Elem WebGLRenderingContextBase (Types t1)}
7507 |     -> (obj : t1)
7508 |     -> (x : Int32)
7509 |     -> (y : Int32)
7510 |     -> (width : Int32)
7511 |     -> (height : Int32)
7512 |     -> JSIO ()
7513 |   viewport a b c d e = primJS $
7514 |     WebGLRenderingContextBase.prim__viewport (up a) b c d e
7515 |
7516 |
7517 |
7518 | namespace WebGLRenderingContextOverloads
7519 |
7520 |   export
7521 |   bufferData :
7522 |        {auto 0 _ : JSType t1}
7523 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7524 |     -> (obj : t1)
7525 |     -> (target : Bits32)
7526 |     -> (size : JSInt64)
7527 |     -> (usage : Bits32)
7528 |     -> JSIO ()
7529 |   bufferData a b c d = primJS $
7530 |     WebGLRenderingContextOverloads.prim__bufferData (up a) b c d
7531 |
7532 |
7533 |   export
7534 |   bufferData1 :
7535 |        {auto 0 _ : JSType t1}
7536 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7537 |     -> (obj : t1)
7538 |     -> (target : Bits32)
7539 |     -> (data_ : Maybe
7540 |                   (HSum
7541 |                      [ Int8Array
7542 |                      , Int16Array
7543 |                      , Int32Array
7544 |                      , UInt8Array
7545 |                      , UInt8Array
7546 |                      , UInt8Array
7547 |                      , UInt8ClampedArray
7548 |                      , Float32Array
7549 |                      , Float64Array
7550 |                      , DataView
7551 |                      , ArrayBuffer
7552 |                      ]))
7553 |     -> (usage : Bits32)
7554 |     -> JSIO ()
7555 |   bufferData1 a b c d = primJS $
7556 |     WebGLRenderingContextOverloads.prim__bufferData1 (up a) b (toFFI c) d
7557 |
7558 |
7559 |   export
7560 |   bufferSubData :
7561 |        {auto 0 _ : JSType t1}
7562 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7563 |     -> (obj : t1)
7564 |     -> (target : Bits32)
7565 |     -> (offset : JSInt64)
7566 |     -> (data_ : HSum
7567 |                   [ Int8Array
7568 |                   , Int16Array
7569 |                   , Int32Array
7570 |                   , UInt8Array
7571 |                   , UInt8Array
7572 |                   , UInt8Array
7573 |                   , UInt8ClampedArray
7574 |                   , Float32Array
7575 |                   , Float64Array
7576 |                   , DataView
7577 |                   , ArrayBuffer
7578 |                   ])
7579 |     -> JSIO ()
7580 |   bufferSubData a b c d = primJS $
7581 |     WebGLRenderingContextOverloads.prim__bufferSubData (up a) b c (toFFI d)
7582 |
7583 |
7584 |   export
7585 |   compressedTexImage2D :
7586 |        {auto 0 _ : JSType t1}
7587 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7588 |     -> (obj : t1)
7589 |     -> (target : Bits32)
7590 |     -> (level : Int32)
7591 |     -> (internalformat : Bits32)
7592 |     -> (width : Int32)
7593 |     -> (height : Int32)
7594 |     -> (border : Int32)
7595 |     -> (data_ : HSum
7596 |                   [ Int8Array
7597 |                   , Int16Array
7598 |                   , Int32Array
7599 |                   , UInt8Array
7600 |                   , UInt8Array
7601 |                   , UInt8Array
7602 |                   , UInt8ClampedArray
7603 |                   , Float32Array
7604 |                   , Float64Array
7605 |                   , DataView
7606 |                   ])
7607 |     -> JSIO ()
7608 |   compressedTexImage2D a b c d e f g h = primJS $
7609 |     WebGLRenderingContextOverloads.prim__compressedTexImage2D
7610 |       (up a)
7611 |       b
7612 |       c
7613 |       d
7614 |       e
7615 |       f
7616 |       g
7617 |       (toFFI h)
7618 |
7619 |
7620 |   export
7621 |   compressedTexSubImage2D :
7622 |        {auto 0 _ : JSType t1}
7623 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7624 |     -> (obj : t1)
7625 |     -> (target : Bits32)
7626 |     -> (level : Int32)
7627 |     -> (xoffset : Int32)
7628 |     -> (yoffset : Int32)
7629 |     -> (width : Int32)
7630 |     -> (height : Int32)
7631 |     -> (format : Bits32)
7632 |     -> (data_ : HSum
7633 |                   [ Int8Array
7634 |                   , Int16Array
7635 |                   , Int32Array
7636 |                   , UInt8Array
7637 |                   , UInt8Array
7638 |                   , UInt8Array
7639 |                   , UInt8ClampedArray
7640 |                   , Float32Array
7641 |                   , Float64Array
7642 |                   , DataView
7643 |                   ])
7644 |     -> JSIO ()
7645 |   compressedTexSubImage2D a b c d e f g h i = primJS $
7646 |     WebGLRenderingContextOverloads.prim__compressedTexSubImage2D
7647 |       (up a)
7648 |       b
7649 |       c
7650 |       d
7651 |       e
7652 |       f
7653 |       g
7654 |       h
7655 |       (toFFI i)
7656 |
7657 |
7658 |   export
7659 |   readPixels :
7660 |        {auto 0 _ : JSType t1}
7661 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7662 |     -> (obj : t1)
7663 |     -> (x : Int32)
7664 |     -> (y : Int32)
7665 |     -> (width : Int32)
7666 |     -> (height : Int32)
7667 |     -> (format : Bits32)
7668 |     -> (type : Bits32)
7669 |     -> (pixels : Maybe
7670 |                    (HSum
7671 |                       [ Int8Array
7672 |                       , Int16Array
7673 |                       , Int32Array
7674 |                       , UInt8Array
7675 |                       , UInt8Array
7676 |                       , UInt8Array
7677 |                       , UInt8ClampedArray
7678 |                       , Float32Array
7679 |                       , Float64Array
7680 |                       , DataView
7681 |                       ]))
7682 |     -> JSIO ()
7683 |   readPixels a b c d e f g h = primJS $
7684 |     WebGLRenderingContextOverloads.prim__readPixels (up a) b c d e f g (toFFI h)
7685 |
7686 |
7687 |   export
7688 |   texImage2D :
7689 |        {auto 0 _ : JSType t1}
7690 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7691 |     -> (obj : t1)
7692 |     -> (target : Bits32)
7693 |     -> (level : Int32)
7694 |     -> (internalformat : Int32)
7695 |     -> (width : Int32)
7696 |     -> (height : Int32)
7697 |     -> (border : Int32)
7698 |     -> (format : Bits32)
7699 |     -> (type : Bits32)
7700 |     -> (pixels : Maybe
7701 |                    (HSum
7702 |                       [ Int8Array
7703 |                       , Int16Array
7704 |                       , Int32Array
7705 |                       , UInt8Array
7706 |                       , UInt8Array
7707 |                       , UInt8Array
7708 |                       , UInt8ClampedArray
7709 |                       , Float32Array
7710 |                       , Float64Array
7711 |                       , DataView
7712 |                       ]))
7713 |     -> JSIO ()
7714 |   texImage2D a b c d e f g h i j = primJS $
7715 |     WebGLRenderingContextOverloads.prim__texImage2D
7716 |       (up a)
7717 |       b
7718 |       c
7719 |       d
7720 |       e
7721 |       f
7722 |       g
7723 |       h
7724 |       i
7725 |       (toFFI j)
7726 |
7727 |
7728 |   export
7729 |   texImage2D1 :
7730 |        {auto 0 _ : JSType t1}
7731 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7732 |     -> (obj : t1)
7733 |     -> (target : Bits32)
7734 |     -> (level : Int32)
7735 |     -> (internalformat : Int32)
7736 |     -> (format : Bits32)
7737 |     -> (type : Bits32)
7738 |     -> (source : HSum
7739 |                    [ ImageBitmap
7740 |                    , ImageData
7741 |                    , HTMLImageElement
7742 |                    , HTMLCanvasElement
7743 |                    , HTMLVideoElement
7744 |                    , OffscreenCanvas
7745 |                    ])
7746 |     -> JSIO ()
7747 |   texImage2D1 a b c d e f g = primJS $
7748 |     WebGLRenderingContextOverloads.prim__texImage2D1 (up a) b c d e f (toFFI g)
7749 |
7750 |
7751 |   export
7752 |   texSubImage2D :
7753 |        {auto 0 _ : JSType t1}
7754 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7755 |     -> (obj : t1)
7756 |     -> (target : Bits32)
7757 |     -> (level : Int32)
7758 |     -> (xoffset : Int32)
7759 |     -> (yoffset : Int32)
7760 |     -> (width : Int32)
7761 |     -> (height : Int32)
7762 |     -> (format : Bits32)
7763 |     -> (type : Bits32)
7764 |     -> (pixels : Maybe
7765 |                    (HSum
7766 |                       [ Int8Array
7767 |                       , Int16Array
7768 |                       , Int32Array
7769 |                       , UInt8Array
7770 |                       , UInt8Array
7771 |                       , UInt8Array
7772 |                       , UInt8ClampedArray
7773 |                       , Float32Array
7774 |                       , Float64Array
7775 |                       , DataView
7776 |                       ]))
7777 |     -> JSIO ()
7778 |   texSubImage2D a b c d e f g h i j = primJS $
7779 |     WebGLRenderingContextOverloads.prim__texSubImage2D
7780 |       (up a)
7781 |       b
7782 |       c
7783 |       d
7784 |       e
7785 |       f
7786 |       g
7787 |       h
7788 |       i
7789 |       (toFFI j)
7790 |
7791 |
7792 |   export
7793 |   texSubImage2D1 :
7794 |        {auto 0 _ : JSType t1}
7795 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7796 |     -> (obj : t1)
7797 |     -> (target : Bits32)
7798 |     -> (level : Int32)
7799 |     -> (xoffset : Int32)
7800 |     -> (yoffset : Int32)
7801 |     -> (format : Bits32)
7802 |     -> (type : Bits32)
7803 |     -> (source : HSum
7804 |                    [ ImageBitmap
7805 |                    , ImageData
7806 |                    , HTMLImageElement
7807 |                    , HTMLCanvasElement
7808 |                    , HTMLVideoElement
7809 |                    , OffscreenCanvas
7810 |                    ])
7811 |     -> JSIO ()
7812 |   texSubImage2D1 a b c d e f g h = primJS $
7813 |     WebGLRenderingContextOverloads.prim__texSubImage2D1
7814 |       (up a)
7815 |       b
7816 |       c
7817 |       d
7818 |       e
7819 |       f
7820 |       g
7821 |       (toFFI h)
7822 |
7823 |
7824 |   export
7825 |   uniform1fv :
7826 |        {auto 0 _ : JSType t1}
7827 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7828 |     -> (obj : t1)
7829 |     -> (location : Maybe WebGLUniformLocation)
7830 |     -> (v : HSum [Float32Array, Array Double])
7831 |     -> JSIO ()
7832 |   uniform1fv a b c = primJS $
7833 |     WebGLRenderingContextOverloads.prim__uniform1fv (up a) (toFFI b) (toFFI c)
7834 |
7835 |
7836 |   export
7837 |   uniform1iv :
7838 |        {auto 0 _ : JSType t1}
7839 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7840 |     -> (obj : t1)
7841 |     -> (location : Maybe WebGLUniformLocation)
7842 |     -> (v : HSum [Int32Array, Array Int32])
7843 |     -> JSIO ()
7844 |   uniform1iv a b c = primJS $
7845 |     WebGLRenderingContextOverloads.prim__uniform1iv (up a) (toFFI b) (toFFI c)
7846 |
7847 |
7848 |   export
7849 |   uniform2fv :
7850 |        {auto 0 _ : JSType t1}
7851 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7852 |     -> (obj : t1)
7853 |     -> (location : Maybe WebGLUniformLocation)
7854 |     -> (v : HSum [Float32Array, Array Double])
7855 |     -> JSIO ()
7856 |   uniform2fv a b c = primJS $
7857 |     WebGLRenderingContextOverloads.prim__uniform2fv (up a) (toFFI b) (toFFI c)
7858 |
7859 |
7860 |   export
7861 |   uniform2iv :
7862 |        {auto 0 _ : JSType t1}
7863 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7864 |     -> (obj : t1)
7865 |     -> (location : Maybe WebGLUniformLocation)
7866 |     -> (v : HSum [Int32Array, Array Int32])
7867 |     -> JSIO ()
7868 |   uniform2iv a b c = primJS $
7869 |     WebGLRenderingContextOverloads.prim__uniform2iv (up a) (toFFI b) (toFFI c)
7870 |
7871 |
7872 |   export
7873 |   uniform3fv :
7874 |        {auto 0 _ : JSType t1}
7875 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7876 |     -> (obj : t1)
7877 |     -> (location : Maybe WebGLUniformLocation)
7878 |     -> (v : HSum [Float32Array, Array Double])
7879 |     -> JSIO ()
7880 |   uniform3fv a b c = primJS $
7881 |     WebGLRenderingContextOverloads.prim__uniform3fv (up a) (toFFI b) (toFFI c)
7882 |
7883 |
7884 |   export
7885 |   uniform3iv :
7886 |        {auto 0 _ : JSType t1}
7887 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7888 |     -> (obj : t1)
7889 |     -> (location : Maybe WebGLUniformLocation)
7890 |     -> (v : HSum [Int32Array, Array Int32])
7891 |     -> JSIO ()
7892 |   uniform3iv a b c = primJS $
7893 |     WebGLRenderingContextOverloads.prim__uniform3iv (up a) (toFFI b) (toFFI c)
7894 |
7895 |
7896 |   export
7897 |   uniform4fv :
7898 |        {auto 0 _ : JSType t1}
7899 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7900 |     -> (obj : t1)
7901 |     -> (location : Maybe WebGLUniformLocation)
7902 |     -> (v : HSum [Float32Array, Array Double])
7903 |     -> JSIO ()
7904 |   uniform4fv a b c = primJS $
7905 |     WebGLRenderingContextOverloads.prim__uniform4fv (up a) (toFFI b) (toFFI c)
7906 |
7907 |
7908 |   export
7909 |   uniform4iv :
7910 |        {auto 0 _ : JSType t1}
7911 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7912 |     -> (obj : t1)
7913 |     -> (location : Maybe WebGLUniformLocation)
7914 |     -> (v : HSum [Int32Array, Array Int32])
7915 |     -> JSIO ()
7916 |   uniform4iv a b c = primJS $
7917 |     WebGLRenderingContextOverloads.prim__uniform4iv (up a) (toFFI b) (toFFI c)
7918 |
7919 |
7920 |   export
7921 |   uniformMatrix2fv :
7922 |        {auto 0 _ : JSType t1}
7923 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7924 |     -> (obj : t1)
7925 |     -> (location : Maybe WebGLUniformLocation)
7926 |     -> (transpose : Bool)
7927 |     -> (value : HSum [Float32Array, Array Double])
7928 |     -> JSIO ()
7929 |   uniformMatrix2fv a b c d = primJS $
7930 |     WebGLRenderingContextOverloads.prim__uniformMatrix2fv
7931 |       (up a)
7932 |       (toFFI b)
7933 |       (toFFI c)
7934 |       (toFFI d)
7935 |
7936 |
7937 |   export
7938 |   uniformMatrix3fv :
7939 |        {auto 0 _ : JSType t1}
7940 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7941 |     -> (obj : t1)
7942 |     -> (location : Maybe WebGLUniformLocation)
7943 |     -> (transpose : Bool)
7944 |     -> (value : HSum [Float32Array, Array Double])
7945 |     -> JSIO ()
7946 |   uniformMatrix3fv a b c d = primJS $
7947 |     WebGLRenderingContextOverloads.prim__uniformMatrix3fv
7948 |       (up a)
7949 |       (toFFI b)
7950 |       (toFFI c)
7951 |       (toFFI d)
7952 |
7953 |
7954 |   export
7955 |   uniformMatrix4fv :
7956 |        {auto 0 _ : JSType t1}
7957 |     -> {auto 0 _ : Elem WebGLRenderingContextOverloads (Types t1)}
7958 |     -> (obj : t1)
7959 |     -> (location : Maybe WebGLUniformLocation)
7960 |     -> (transpose : Bool)
7961 |     -> (value : HSum [Float32Array, Array Double])
7962 |     -> JSIO ()
7963 |   uniformMatrix4fv a b c d = primJS $
7964 |     WebGLRenderingContextOverloads.prim__uniformMatrix4fv
7965 |       (up a)
7966 |       (toFFI b)
7967 |       (toFFI c)
7968 |       (toFFI d)
7969 |
7970 |
7971 |
7972 |
7973 | --------------------------------------------------------------------------------
7974 | --          Dictionaries
7975 | --------------------------------------------------------------------------------
7976 |
7977 | namespace WebGLContextAttributes
7978 |
7979 |   export
7980 |   new' :
7981 |        (alpha : Optional Bool)
7982 |     -> (depth : Optional Bool)
7983 |     -> (stencil : Optional Bool)
7984 |     -> (antialias : Optional Bool)
7985 |     -> (premultipliedAlpha : Optional Bool)
7986 |     -> (preserveDrawingBuffer : Optional Bool)
7987 |     -> (powerPreference : Optional WebGLPowerPreference)
7988 |     -> (failIfMajorPerformanceCaveat : Optional Bool)
7989 |     -> (desynchronized : Optional Bool)
7990 |     -> JSIO WebGLContextAttributes
7991 |   new' a b c d e f g h i = primJS $
7992 |     WebGLContextAttributes.prim__new
7993 |       (toFFI a)
7994 |       (toFFI b)
7995 |       (toFFI c)
7996 |       (toFFI d)
7997 |       (toFFI e)
7998 |       (toFFI f)
7999 |       (toFFI g)
8000 |       (toFFI h)
8001 |       (toFFI i)
8002 |
8003 |   export
8004 |   new : JSIO WebGLContextAttributes
8005 |   new = primJS $
8006 |     WebGLContextAttributes.prim__new
8007 |       undef
8008 |       undef
8009 |       undef
8010 |       undef
8011 |       undef
8012 |       undef
8013 |       undef
8014 |       undef
8015 |       undef
8016 |
8017 |
8018 |   export
8019 |   alpha :
8020 |        {auto 0 _ : JSType t}
8021 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8022 |     -> t
8023 |     -> Attribute True Optional Bool
8024 |   alpha v = fromUndefOrPrim
8025 |               "WebGLContextAttributes.getalpha"
8026 |               prim__alpha
8027 |               prim__setAlpha
8028 |               True
8029 |               (v :> WebGLContextAttributes)
8030 |
8031 |
8032 |   export
8033 |   antialias :
8034 |        {auto 0 _ : JSType t}
8035 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8036 |     -> t
8037 |     -> Attribute True Optional Bool
8038 |   antialias v = fromUndefOrPrim
8039 |                   "WebGLContextAttributes.getantialias"
8040 |                   prim__antialias
8041 |                   prim__setAntialias
8042 |                   True
8043 |                   (v :> WebGLContextAttributes)
8044 |
8045 |
8046 |   export
8047 |   depth :
8048 |        {auto 0 _ : JSType t}
8049 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8050 |     -> t
8051 |     -> Attribute True Optional Bool
8052 |   depth v = fromUndefOrPrim
8053 |               "WebGLContextAttributes.getdepth"
8054 |               prim__depth
8055 |               prim__setDepth
8056 |               True
8057 |               (v :> WebGLContextAttributes)
8058 |
8059 |
8060 |   export
8061 |   desynchronized :
8062 |        {auto 0 _ : JSType t}
8063 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8064 |     -> t
8065 |     -> Attribute True Optional Bool
8066 |   desynchronized v = fromUndefOrPrim
8067 |                        "WebGLContextAttributes.getdesynchronized"
8068 |                        prim__desynchronized
8069 |                        prim__setDesynchronized
8070 |                        False
8071 |                        (v :> WebGLContextAttributes)
8072 |
8073 |
8074 |   export
8075 |   failIfMajorPerformanceCaveat :
8076 |        {auto 0 _ : JSType t}
8077 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8078 |     -> t
8079 |     -> Attribute True Optional Bool
8080 |   failIfMajorPerformanceCaveat v = fromUndefOrPrim
8081 |                                      "WebGLContextAttributes.getfailIfMajorPerformanceCaveat"
8082 |                                      prim__failIfMajorPerformanceCaveat
8083 |                                      prim__setFailIfMajorPerformanceCaveat
8084 |                                      False
8085 |                                      (v :> WebGLContextAttributes)
8086 |
8087 |
8088 |   export
8089 |   powerPreference :
8090 |        {auto 0 _ : JSType t}
8091 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8092 |     -> t
8093 |     -> Attribute False Optional WebGLPowerPreference
8094 |   powerPreference v = fromUndefOrPrimNoDefault
8095 |                         "WebGLContextAttributes.getpowerPreference"
8096 |                         prim__powerPreference
8097 |                         prim__setPowerPreference
8098 |                         (v :> WebGLContextAttributes)
8099 |
8100 |
8101 |   export
8102 |   premultipliedAlpha :
8103 |        {auto 0 _ : JSType t}
8104 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8105 |     -> t
8106 |     -> Attribute True Optional Bool
8107 |   premultipliedAlpha v = fromUndefOrPrim
8108 |                            "WebGLContextAttributes.getpremultipliedAlpha"
8109 |                            prim__premultipliedAlpha
8110 |                            prim__setPremultipliedAlpha
8111 |                            True
8112 |                            (v :> WebGLContextAttributes)
8113 |
8114 |
8115 |   export
8116 |   preserveDrawingBuffer :
8117 |        {auto 0 _ : JSType t}
8118 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8119 |     -> t
8120 |     -> Attribute True Optional Bool
8121 |   preserveDrawingBuffer v = fromUndefOrPrim
8122 |                               "WebGLContextAttributes.getpreserveDrawingBuffer"
8123 |                               prim__preserveDrawingBuffer
8124 |                               prim__setPreserveDrawingBuffer
8125 |                               False
8126 |                               (v :> WebGLContextAttributes)
8127 |
8128 |
8129 |   export
8130 |   stencil :
8131 |        {auto 0 _ : JSType t}
8132 |     -> {auto 0 _ : Elem WebGLContextAttributes (Types t)}
8133 |     -> t
8134 |     -> Attribute True Optional Bool
8135 |   stencil v = fromUndefOrPrim
8136 |                 "WebGLContextAttributes.getstencil"
8137 |                 prim__stencil
8138 |                 prim__setStencil
8139 |                 False
8140 |                 (v :> WebGLContextAttributes)
8141 |