0 | module Web.Internal.WebglPrim
   1 |
   2 | import JS
   3 | import Web.Internal.Types
   4 |
   5 | %default total
   6 |
   7 |
   8 | --------------------------------------------------------------------------------
   9 | --          Interfaces
  10 | --------------------------------------------------------------------------------
  11 |
  12 |
  13 | namespace WebGLActiveInfo
  14 |
  15 |   export
  16 |   %foreign "browser:lambda:x=>x.name"
  17 |   prim__name : WebGLActiveInfo -> PrimIO String
  18 |
  19 |
  20 |   export
  21 |   %foreign "browser:lambda:x=>x.size"
  22 |   prim__size : WebGLActiveInfo -> PrimIO Int32
  23 |
  24 |
  25 |   export
  26 |   %foreign "browser:lambda:x=>x.type"
  27 |   prim__type : WebGLActiveInfo -> PrimIO Bits32
  28 |
  29 |
  30 |
  31 |
  32 |
  33 |
  34 |
  35 |
  36 |
  37 |
  38 |
  39 |
  40 | namespace WebGLShaderPrecisionFormat
  41 |
  42 |   export
  43 |   %foreign "browser:lambda:x=>x.precision"
  44 |   prim__precision : WebGLShaderPrecisionFormat -> PrimIO Int32
  45 |
  46 |
  47 |   export
  48 |   %foreign "browser:lambda:x=>x.rangeMax"
  49 |   prim__rangeMax : WebGLShaderPrecisionFormat -> PrimIO Int32
  50 |
  51 |
  52 |   export
  53 |   %foreign "browser:lambda:x=>x.rangeMin"
  54 |   prim__rangeMin : WebGLShaderPrecisionFormat -> PrimIO Int32
  55 |
  56 |
  57 |
  58 |
  59 |
  60 |
  61 |
  62 |
  63 |
  64 | --------------------------------------------------------------------------------
  65 | --          Mixins
  66 | --------------------------------------------------------------------------------
  67 |
  68 | namespace WebGL2RenderingContextBase
  69 |
  70 |   export
  71 |   %foreign "browser:lambda:(x,a,b)=>x.beginQuery(a,b)"
  72 |   prim__beginQuery :
  73 |        WebGL2RenderingContextBase
  74 |     -> Bits32
  75 |     -> WebGLQuery
  76 |     -> PrimIO ()
  77 |
  78 |
  79 |   export
  80 |   %foreign "browser:lambda:(x,a)=>x.beginTransformFeedback(a)"
  81 |   prim__beginTransformFeedback :
  82 |        WebGL2RenderingContextBase
  83 |     -> Bits32
  84 |     -> PrimIO ()
  85 |
  86 |
  87 |   export
  88 |   %foreign "browser:lambda:(x,a,b,c)=>x.bindBufferBase(a,b,c)"
  89 |   prim__bindBufferBase :
  90 |        WebGL2RenderingContextBase
  91 |     -> Bits32
  92 |     -> Bits32
  93 |     -> Nullable WebGLBuffer
  94 |     -> PrimIO ()
  95 |
  96 |
  97 |   export
  98 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.bindBufferRange(a,b,c,d,e)"
  99 |   prim__bindBufferRange :
 100 |        WebGL2RenderingContextBase
 101 |     -> Bits32
 102 |     -> Bits32
 103 |     -> Nullable WebGLBuffer
 104 |     -> JSInt64
 105 |     -> JSInt64
 106 |     -> PrimIO ()
 107 |
 108 |
 109 |   export
 110 |   %foreign "browser:lambda:(x,a,b)=>x.bindSampler(a,b)"
 111 |   prim__bindSampler :
 112 |        WebGL2RenderingContextBase
 113 |     -> Bits32
 114 |     -> Nullable WebGLSampler
 115 |     -> PrimIO ()
 116 |
 117 |
 118 |   export
 119 |   %foreign "browser:lambda:(x,a,b)=>x.bindTransformFeedback(a,b)"
 120 |   prim__bindTransformFeedback :
 121 |        WebGL2RenderingContextBase
 122 |     -> Bits32
 123 |     -> Nullable WebGLTransformFeedback
 124 |     -> PrimIO ()
 125 |
 126 |
 127 |   export
 128 |   %foreign "browser:lambda:(x,a)=>x.bindVertexArray(a)"
 129 |   prim__bindVertexArray :
 130 |        WebGL2RenderingContextBase
 131 |     -> Nullable WebGLVertexArrayObject
 132 |     -> PrimIO ()
 133 |
 134 |
 135 |   export
 136 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.blitFramebuffer(a,b,c,d,e,f,g,h,i,j)"
 137 |   prim__blitFramebuffer :
 138 |        WebGL2RenderingContextBase
 139 |     -> Int32
 140 |     -> Int32
 141 |     -> Int32
 142 |     -> Int32
 143 |     -> Int32
 144 |     -> Int32
 145 |     -> Int32
 146 |     -> Int32
 147 |     -> Bits32
 148 |     -> Bits32
 149 |     -> PrimIO ()
 150 |
 151 |
 152 |   export
 153 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.clearBufferfi(a,b,c,d)"
 154 |   prim__clearBufferfi :
 155 |        WebGL2RenderingContextBase
 156 |     -> Bits32
 157 |     -> Int32
 158 |     -> Double
 159 |     -> Int32
 160 |     -> PrimIO ()
 161 |
 162 |
 163 |   export
 164 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.clearBufferfv(a,b,c,d)"
 165 |   prim__clearBufferfv :
 166 |        WebGL2RenderingContextBase
 167 |     -> Bits32
 168 |     -> Int32
 169 |     -> Union2 Float32Array (Array Double)
 170 |     -> UndefOr Bits32
 171 |     -> PrimIO ()
 172 |
 173 |
 174 |   export
 175 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.clearBufferiv(a,b,c,d)"
 176 |   prim__clearBufferiv :
 177 |        WebGL2RenderingContextBase
 178 |     -> Bits32
 179 |     -> Int32
 180 |     -> Union2 Int32Array (Array Int32)
 181 |     -> UndefOr Bits32
 182 |     -> PrimIO ()
 183 |
 184 |
 185 |   export
 186 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.clearBufferuiv(a,b,c,d)"
 187 |   prim__clearBufferuiv :
 188 |        WebGL2RenderingContextBase
 189 |     -> Bits32
 190 |     -> Int32
 191 |     -> Union2 UInt8Array (Array Bits32)
 192 |     -> UndefOr Bits32
 193 |     -> PrimIO ()
 194 |
 195 |
 196 |   export
 197 |   %foreign "browser:lambda:(x,a,b,c)=>x.clientWaitSync(a,b,c)"
 198 |   prim__clientWaitSync :
 199 |        WebGL2RenderingContextBase
 200 |     -> WebGLSync
 201 |     -> Bits32
 202 |     -> JSBits64
 203 |     -> PrimIO Bits32
 204 |
 205 |
 206 |   export
 207 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.compressedTexImage3D(a,b,c,d,e,f,g,h,i)"
 208 |   prim__compressedTexImage3D :
 209 |        WebGL2RenderingContextBase
 210 |     -> Bits32
 211 |     -> Int32
 212 |     -> Bits32
 213 |     -> Int32
 214 |     -> Int32
 215 |     -> Int32
 216 |     -> Int32
 217 |     -> Int32
 218 |     -> JSInt64
 219 |     -> PrimIO ()
 220 |
 221 |
 222 |   export
 223 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.compressedTexImage3D(a,b,c,d,e,f,g,h,i,j)"
 224 |   prim__compressedTexImage3D1 :
 225 |        WebGL2RenderingContextBase
 226 |     -> Bits32
 227 |     -> Int32
 228 |     -> Bits32
 229 |     -> Int32
 230 |     -> Int32
 231 |     -> Int32
 232 |     -> Int32
 233 |     -> Union10
 234 |          Int8Array
 235 |          Int16Array
 236 |          Int32Array
 237 |          UInt8Array
 238 |          UInt8Array
 239 |          UInt8Array
 240 |          UInt8ClampedArray
 241 |          Float32Array
 242 |          Float64Array
 243 |          DataView
 244 |     -> UndefOr Bits32
 245 |     -> UndefOr Bits32
 246 |     -> PrimIO ()
 247 |
 248 |
 249 |   export
 250 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k)=>x.compressedTexSubImage3D(a,b,c,d,e,f,g,h,i,j,k)"
 251 |   prim__compressedTexSubImage3D :
 252 |        WebGL2RenderingContextBase
 253 |     -> Bits32
 254 |     -> Int32
 255 |     -> Int32
 256 |     -> Int32
 257 |     -> Int32
 258 |     -> Int32
 259 |     -> Int32
 260 |     -> Int32
 261 |     -> Bits32
 262 |     -> Int32
 263 |     -> JSInt64
 264 |     -> PrimIO ()
 265 |
 266 |
 267 |   export
 268 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k,l)=>x.compressedTexSubImage3D(a,b,c,d,e,f,g,h,i,j,k,l)"
 269 |   prim__compressedTexSubImage3D1 :
 270 |        WebGL2RenderingContextBase
 271 |     -> Bits32
 272 |     -> Int32
 273 |     -> Int32
 274 |     -> Int32
 275 |     -> Int32
 276 |     -> Int32
 277 |     -> Int32
 278 |     -> Int32
 279 |     -> Bits32
 280 |     -> Union10
 281 |          Int8Array
 282 |          Int16Array
 283 |          Int32Array
 284 |          UInt8Array
 285 |          UInt8Array
 286 |          UInt8Array
 287 |          UInt8ClampedArray
 288 |          Float32Array
 289 |          Float64Array
 290 |          DataView
 291 |     -> UndefOr Bits32
 292 |     -> UndefOr Bits32
 293 |     -> PrimIO ()
 294 |
 295 |
 296 |   export
 297 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.copyBufferSubData(a,b,c,d,e)"
 298 |   prim__copyBufferSubData :
 299 |        WebGL2RenderingContextBase
 300 |     -> Bits32
 301 |     -> Bits32
 302 |     -> JSInt64
 303 |     -> JSInt64
 304 |     -> JSInt64
 305 |     -> PrimIO ()
 306 |
 307 |
 308 |   export
 309 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.copyTexSubImage3D(a,b,c,d,e,f,g,h,i)"
 310 |   prim__copyTexSubImage3D :
 311 |        WebGL2RenderingContextBase
 312 |     -> Bits32
 313 |     -> Int32
 314 |     -> Int32
 315 |     -> Int32
 316 |     -> Int32
 317 |     -> Int32
 318 |     -> Int32
 319 |     -> Int32
 320 |     -> Int32
 321 |     -> PrimIO ()
 322 |
 323 |
 324 |   export
 325 |   %foreign "browser:lambda:x=>x.createQuery()"
 326 |   prim__createQuery : WebGL2RenderingContextBase -> PrimIO (Nullable WebGLQuery)
 327 |
 328 |
 329 |   export
 330 |   %foreign "browser:lambda:x=>x.createSampler()"
 331 |   prim__createSampler :
 332 |        WebGL2RenderingContextBase
 333 |     -> PrimIO (Nullable WebGLSampler)
 334 |
 335 |
 336 |   export
 337 |   %foreign "browser:lambda:x=>x.createTransformFeedback()"
 338 |   prim__createTransformFeedback :
 339 |        WebGL2RenderingContextBase
 340 |     -> PrimIO (Nullable WebGLTransformFeedback)
 341 |
 342 |
 343 |   export
 344 |   %foreign "browser:lambda:x=>x.createVertexArray()"
 345 |   prim__createVertexArray :
 346 |        WebGL2RenderingContextBase
 347 |     -> PrimIO (Nullable WebGLVertexArrayObject)
 348 |
 349 |
 350 |   export
 351 |   %foreign "browser:lambda:(x,a)=>x.deleteQuery(a)"
 352 |   prim__deleteQuery :
 353 |        WebGL2RenderingContextBase
 354 |     -> Nullable WebGLQuery
 355 |     -> PrimIO ()
 356 |
 357 |
 358 |   export
 359 |   %foreign "browser:lambda:(x,a)=>x.deleteSampler(a)"
 360 |   prim__deleteSampler :
 361 |        WebGL2RenderingContextBase
 362 |     -> Nullable WebGLSampler
 363 |     -> PrimIO ()
 364 |
 365 |
 366 |   export
 367 |   %foreign "browser:lambda:(x,a)=>x.deleteSync(a)"
 368 |   prim__deleteSync :
 369 |        WebGL2RenderingContextBase
 370 |     -> Nullable WebGLSync
 371 |     -> PrimIO ()
 372 |
 373 |
 374 |   export
 375 |   %foreign "browser:lambda:(x,a)=>x.deleteTransformFeedback(a)"
 376 |   prim__deleteTransformFeedback :
 377 |        WebGL2RenderingContextBase
 378 |     -> Nullable WebGLTransformFeedback
 379 |     -> PrimIO ()
 380 |
 381 |
 382 |   export
 383 |   %foreign "browser:lambda:(x,a)=>x.deleteVertexArray(a)"
 384 |   prim__deleteVertexArray :
 385 |        WebGL2RenderingContextBase
 386 |     -> Nullable WebGLVertexArrayObject
 387 |     -> PrimIO ()
 388 |
 389 |
 390 |   export
 391 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.drawArraysInstanced(a,b,c,d)"
 392 |   prim__drawArraysInstanced :
 393 |        WebGL2RenderingContextBase
 394 |     -> Bits32
 395 |     -> Int32
 396 |     -> Int32
 397 |     -> Int32
 398 |     -> PrimIO ()
 399 |
 400 |
 401 |   export
 402 |   %foreign "browser:lambda:(x,a)=>x.drawBuffers(a)"
 403 |   prim__drawBuffers : WebGL2RenderingContextBase -> Array Bits32 -> PrimIO ()
 404 |
 405 |
 406 |   export
 407 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.drawElementsInstanced(a,b,c,d,e)"
 408 |   prim__drawElementsInstanced :
 409 |        WebGL2RenderingContextBase
 410 |     -> Bits32
 411 |     -> Int32
 412 |     -> Bits32
 413 |     -> JSInt64
 414 |     -> Int32
 415 |     -> PrimIO ()
 416 |
 417 |
 418 |   export
 419 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.drawRangeElements(a,b,c,d,e,f)"
 420 |   prim__drawRangeElements :
 421 |        WebGL2RenderingContextBase
 422 |     -> Bits32
 423 |     -> Bits32
 424 |     -> Bits32
 425 |     -> Int32
 426 |     -> Bits32
 427 |     -> JSInt64
 428 |     -> PrimIO ()
 429 |
 430 |
 431 |   export
 432 |   %foreign "browser:lambda:(x,a)=>x.endQuery(a)"
 433 |   prim__endQuery : WebGL2RenderingContextBase -> Bits32 -> PrimIO ()
 434 |
 435 |
 436 |   export
 437 |   %foreign "browser:lambda:x=>x.endTransformFeedback()"
 438 |   prim__endTransformFeedback : WebGL2RenderingContextBase -> PrimIO ()
 439 |
 440 |
 441 |   export
 442 |   %foreign "browser:lambda:(x,a,b)=>x.fenceSync(a,b)"
 443 |   prim__fenceSync :
 444 |        WebGL2RenderingContextBase
 445 |     -> Bits32
 446 |     -> Bits32
 447 |     -> PrimIO (Nullable WebGLSync)
 448 |
 449 |
 450 |   export
 451 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.framebufferTextureLayer(a,b,c,d,e)"
 452 |   prim__framebufferTextureLayer :
 453 |        WebGL2RenderingContextBase
 454 |     -> Bits32
 455 |     -> Bits32
 456 |     -> Nullable WebGLTexture
 457 |     -> Int32
 458 |     -> Int32
 459 |     -> PrimIO ()
 460 |
 461 |
 462 |   export
 463 |   %foreign "browser:lambda:(x,a,b)=>x.getActiveUniformBlockName(a,b)"
 464 |   prim__getActiveUniformBlockName :
 465 |        WebGL2RenderingContextBase
 466 |     -> WebGLProgram
 467 |     -> Bits32
 468 |     -> PrimIO (Nullable String)
 469 |
 470 |
 471 |   export
 472 |   %foreign "browser:lambda:(x,a,b,c)=>x.getActiveUniformBlockParameter(a,b,c)"
 473 |   prim__getActiveUniformBlockParameter :
 474 |        WebGL2RenderingContextBase
 475 |     -> WebGLProgram
 476 |     -> Bits32
 477 |     -> Bits32
 478 |     -> PrimIO AnyPtr
 479 |
 480 |
 481 |   export
 482 |   %foreign "browser:lambda:(x,a,b,c)=>x.getActiveUniforms(a,b,c)"
 483 |   prim__getActiveUniforms :
 484 |        WebGL2RenderingContextBase
 485 |     -> WebGLProgram
 486 |     -> Array Bits32
 487 |     -> Bits32
 488 |     -> PrimIO AnyPtr
 489 |
 490 |
 491 |   export
 492 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.getBufferSubData(a,b,c,d,e)"
 493 |   prim__getBufferSubData :
 494 |        WebGL2RenderingContextBase
 495 |     -> Bits32
 496 |     -> JSInt64
 497 |     -> Union10
 498 |          Int8Array
 499 |          Int16Array
 500 |          Int32Array
 501 |          UInt8Array
 502 |          UInt8Array
 503 |          UInt8Array
 504 |          UInt8ClampedArray
 505 |          Float32Array
 506 |          Float64Array
 507 |          DataView
 508 |     -> UndefOr Bits32
 509 |     -> UndefOr Bits32
 510 |     -> PrimIO ()
 511 |
 512 |
 513 |   export
 514 |   %foreign "browser:lambda:(x,a,b)=>x.getFragDataLocation(a,b)"
 515 |   prim__getFragDataLocation :
 516 |        WebGL2RenderingContextBase
 517 |     -> WebGLProgram
 518 |     -> String
 519 |     -> PrimIO Int32
 520 |
 521 |
 522 |   export
 523 |   %foreign "browser:lambda:(x,a,b)=>x.getIndexedParameter(a,b)"
 524 |   prim__getIndexedParameter :
 525 |        WebGL2RenderingContextBase
 526 |     -> Bits32
 527 |     -> Bits32
 528 |     -> PrimIO AnyPtr
 529 |
 530 |
 531 |   export
 532 |   %foreign "browser:lambda:(x,a,b,c)=>x.getInternalformatParameter(a,b,c)"
 533 |   prim__getInternalformatParameter :
 534 |        WebGL2RenderingContextBase
 535 |     -> Bits32
 536 |     -> Bits32
 537 |     -> Bits32
 538 |     -> PrimIO AnyPtr
 539 |
 540 |
 541 |   export
 542 |   %foreign "browser:lambda:(x,a,b)=>x.getQueryParameter(a,b)"
 543 |   prim__getQueryParameter :
 544 |        WebGL2RenderingContextBase
 545 |     -> WebGLQuery
 546 |     -> Bits32
 547 |     -> PrimIO AnyPtr
 548 |
 549 |
 550 |   export
 551 |   %foreign "browser:lambda:(x,a,b)=>x.getQuery(a,b)"
 552 |   prim__getQuery :
 553 |        WebGL2RenderingContextBase
 554 |     -> Bits32
 555 |     -> Bits32
 556 |     -> PrimIO (Nullable WebGLQuery)
 557 |
 558 |
 559 |   export
 560 |   %foreign "browser:lambda:(x,a,b)=>x.getSamplerParameter(a,b)"
 561 |   prim__getSamplerParameter :
 562 |        WebGL2RenderingContextBase
 563 |     -> WebGLSampler
 564 |     -> Bits32
 565 |     -> PrimIO AnyPtr
 566 |
 567 |
 568 |   export
 569 |   %foreign "browser:lambda:(x,a,b)=>x.getSyncParameter(a,b)"
 570 |   prim__getSyncParameter :
 571 |        WebGL2RenderingContextBase
 572 |     -> WebGLSync
 573 |     -> Bits32
 574 |     -> PrimIO AnyPtr
 575 |
 576 |
 577 |   export
 578 |   %foreign "browser:lambda:(x,a,b)=>x.getTransformFeedbackVarying(a,b)"
 579 |   prim__getTransformFeedbackVarying :
 580 |        WebGL2RenderingContextBase
 581 |     -> WebGLProgram
 582 |     -> Bits32
 583 |     -> PrimIO (Nullable WebGLActiveInfo)
 584 |
 585 |
 586 |   export
 587 |   %foreign "browser:lambda:(x,a,b)=>x.getUniformBlockIndex(a,b)"
 588 |   prim__getUniformBlockIndex :
 589 |        WebGL2RenderingContextBase
 590 |     -> WebGLProgram
 591 |     -> String
 592 |     -> PrimIO Bits32
 593 |
 594 |
 595 |   export
 596 |   %foreign "browser:lambda:(x,a,b)=>x.getUniformIndices(a,b)"
 597 |   prim__getUniformIndices :
 598 |        WebGL2RenderingContextBase
 599 |     -> WebGLProgram
 600 |     -> Array String
 601 |     -> PrimIO (Nullable (Array Bits32))
 602 |
 603 |
 604 |   export
 605 |   %foreign "browser:lambda:(x,a,b)=>x.invalidateFramebuffer(a,b)"
 606 |   prim__invalidateFramebuffer :
 607 |        WebGL2RenderingContextBase
 608 |     -> Bits32
 609 |     -> Array Bits32
 610 |     -> PrimIO ()
 611 |
 612 |
 613 |   export
 614 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.invalidateSubFramebuffer(a,b,c,d,e,f)"
 615 |   prim__invalidateSubFramebuffer :
 616 |        WebGL2RenderingContextBase
 617 |     -> Bits32
 618 |     -> Array Bits32
 619 |     -> Int32
 620 |     -> Int32
 621 |     -> Int32
 622 |     -> Int32
 623 |     -> PrimIO ()
 624 |
 625 |
 626 |   export
 627 |   %foreign "browser:lambda:(x,a)=>x.isQuery(a)"
 628 |   prim__isQuery :
 629 |        WebGL2RenderingContextBase
 630 |     -> Nullable WebGLQuery
 631 |     -> PrimIO Boolean
 632 |
 633 |
 634 |   export
 635 |   %foreign "browser:lambda:(x,a)=>x.isSampler(a)"
 636 |   prim__isSampler :
 637 |        WebGL2RenderingContextBase
 638 |     -> Nullable WebGLSampler
 639 |     -> PrimIO Boolean
 640 |
 641 |
 642 |   export
 643 |   %foreign "browser:lambda:(x,a)=>x.isSync(a)"
 644 |   prim__isSync :
 645 |        WebGL2RenderingContextBase
 646 |     -> Nullable WebGLSync
 647 |     -> PrimIO Boolean
 648 |
 649 |
 650 |   export
 651 |   %foreign "browser:lambda:(x,a)=>x.isTransformFeedback(a)"
 652 |   prim__isTransformFeedback :
 653 |        WebGL2RenderingContextBase
 654 |     -> Nullable WebGLTransformFeedback
 655 |     -> PrimIO Boolean
 656 |
 657 |
 658 |   export
 659 |   %foreign "browser:lambda:(x,a)=>x.isVertexArray(a)"
 660 |   prim__isVertexArray :
 661 |        WebGL2RenderingContextBase
 662 |     -> Nullable WebGLVertexArrayObject
 663 |     -> PrimIO Boolean
 664 |
 665 |
 666 |   export
 667 |   %foreign "browser:lambda:x=>x.pauseTransformFeedback()"
 668 |   prim__pauseTransformFeedback : WebGL2RenderingContextBase -> PrimIO ()
 669 |
 670 |
 671 |   export
 672 |   %foreign "browser:lambda:(x,a)=>x.readBuffer(a)"
 673 |   prim__readBuffer : WebGL2RenderingContextBase -> Bits32 -> PrimIO ()
 674 |
 675 |
 676 |   export
 677 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.renderbufferStorageMultisample(a,b,c,d,e)"
 678 |   prim__renderbufferStorageMultisample :
 679 |        WebGL2RenderingContextBase
 680 |     -> Bits32
 681 |     -> Int32
 682 |     -> Bits32
 683 |     -> Int32
 684 |     -> Int32
 685 |     -> PrimIO ()
 686 |
 687 |
 688 |   export
 689 |   %foreign "browser:lambda:x=>x.resumeTransformFeedback()"
 690 |   prim__resumeTransformFeedback : WebGL2RenderingContextBase -> PrimIO ()
 691 |
 692 |
 693 |   export
 694 |   %foreign "browser:lambda:(x,a,b,c)=>x.samplerParameterf(a,b,c)"
 695 |   prim__samplerParameterf :
 696 |        WebGL2RenderingContextBase
 697 |     -> WebGLSampler
 698 |     -> Bits32
 699 |     -> Double
 700 |     -> PrimIO ()
 701 |
 702 |
 703 |   export
 704 |   %foreign "browser:lambda:(x,a,b,c)=>x.samplerParameteri(a,b,c)"
 705 |   prim__samplerParameteri :
 706 |        WebGL2RenderingContextBase
 707 |     -> WebGLSampler
 708 |     -> Bits32
 709 |     -> Int32
 710 |     -> PrimIO ()
 711 |
 712 |
 713 |   export
 714 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.texImage3D(a,b,c,d,e,f,g,h,i,j)"
 715 |   prim__texImage3D :
 716 |        WebGL2RenderingContextBase
 717 |     -> Bits32
 718 |     -> Int32
 719 |     -> Int32
 720 |     -> Int32
 721 |     -> Int32
 722 |     -> Int32
 723 |     -> Int32
 724 |     -> Bits32
 725 |     -> Bits32
 726 |     -> JSInt64
 727 |     -> PrimIO ()
 728 |
 729 |
 730 |   export
 731 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.texImage3D(a,b,c,d,e,f,g,h,i,j)"
 732 |   prim__texImage3D1 :
 733 |        WebGL2RenderingContextBase
 734 |     -> Bits32
 735 |     -> Int32
 736 |     -> Int32
 737 |     -> Int32
 738 |     -> Int32
 739 |     -> Int32
 740 |     -> Int32
 741 |     -> Bits32
 742 |     -> Bits32
 743 |     -> Union6
 744 |          ImageBitmap
 745 |          ImageData
 746 |          HTMLImageElement
 747 |          HTMLCanvasElement
 748 |          HTMLVideoElement
 749 |          OffscreenCanvas
 750 |     -> PrimIO ()
 751 |
 752 |
 753 |   export
 754 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.texImage3D(a,b,c,d,e,f,g,h,i,j)"
 755 |   prim__texImage3D2 :
 756 |        WebGL2RenderingContextBase
 757 |     -> Bits32
 758 |     -> Int32
 759 |     -> Int32
 760 |     -> Int32
 761 |     -> Int32
 762 |     -> Int32
 763 |     -> Int32
 764 |     -> Bits32
 765 |     -> Bits32
 766 |     -> Nullable
 767 |          (Union10
 768 |             Int8Array
 769 |             Int16Array
 770 |             Int32Array
 771 |             UInt8Array
 772 |             UInt8Array
 773 |             UInt8Array
 774 |             UInt8ClampedArray
 775 |             Float32Array
 776 |             Float64Array
 777 |             DataView)
 778 |     -> PrimIO ()
 779 |
 780 |
 781 |   export
 782 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k)=>x.texImage3D(a,b,c,d,e,f,g,h,i,j,k)"
 783 |   prim__texImage3D3 :
 784 |        WebGL2RenderingContextBase
 785 |     -> Bits32
 786 |     -> Int32
 787 |     -> Int32
 788 |     -> Int32
 789 |     -> Int32
 790 |     -> Int32
 791 |     -> Int32
 792 |     -> Bits32
 793 |     -> Bits32
 794 |     -> Union10
 795 |          Int8Array
 796 |          Int16Array
 797 |          Int32Array
 798 |          UInt8Array
 799 |          UInt8Array
 800 |          UInt8Array
 801 |          UInt8ClampedArray
 802 |          Float32Array
 803 |          Float64Array
 804 |          DataView
 805 |     -> Bits32
 806 |     -> PrimIO ()
 807 |
 808 |
 809 |   export
 810 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.texStorage2D(a,b,c,d,e)"
 811 |   prim__texStorage2D :
 812 |        WebGL2RenderingContextBase
 813 |     -> Bits32
 814 |     -> Int32
 815 |     -> Bits32
 816 |     -> Int32
 817 |     -> Int32
 818 |     -> PrimIO ()
 819 |
 820 |
 821 |   export
 822 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.texStorage3D(a,b,c,d,e,f)"
 823 |   prim__texStorage3D :
 824 |        WebGL2RenderingContextBase
 825 |     -> Bits32
 826 |     -> Int32
 827 |     -> Bits32
 828 |     -> Int32
 829 |     -> Int32
 830 |     -> Int32
 831 |     -> PrimIO ()
 832 |
 833 |
 834 |   export
 835 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k)=>x.texSubImage3D(a,b,c,d,e,f,g,h,i,j,k)"
 836 |   prim__texSubImage3D :
 837 |        WebGL2RenderingContextBase
 838 |     -> Bits32
 839 |     -> Int32
 840 |     -> Int32
 841 |     -> Int32
 842 |     -> Int32
 843 |     -> Int32
 844 |     -> Int32
 845 |     -> Int32
 846 |     -> Bits32
 847 |     -> Bits32
 848 |     -> JSInt64
 849 |     -> PrimIO ()
 850 |
 851 |
 852 |   export
 853 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k)=>x.texSubImage3D(a,b,c,d,e,f,g,h,i,j,k)"
 854 |   prim__texSubImage3D1 :
 855 |        WebGL2RenderingContextBase
 856 |     -> Bits32
 857 |     -> Int32
 858 |     -> Int32
 859 |     -> Int32
 860 |     -> Int32
 861 |     -> Int32
 862 |     -> Int32
 863 |     -> Int32
 864 |     -> Bits32
 865 |     -> Bits32
 866 |     -> Union6
 867 |          ImageBitmap
 868 |          ImageData
 869 |          HTMLImageElement
 870 |          HTMLCanvasElement
 871 |          HTMLVideoElement
 872 |          OffscreenCanvas
 873 |     -> PrimIO ()
 874 |
 875 |
 876 |   export
 877 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j,k,l)=>x.texSubImage3D(a,b,c,d,e,f,g,h,i,j,k,l)"
 878 |   prim__texSubImage3D2 :
 879 |        WebGL2RenderingContextBase
 880 |     -> Bits32
 881 |     -> Int32
 882 |     -> Int32
 883 |     -> Int32
 884 |     -> Int32
 885 |     -> Int32
 886 |     -> Int32
 887 |     -> Int32
 888 |     -> Bits32
 889 |     -> Bits32
 890 |     -> Nullable
 891 |          (Union10
 892 |             Int8Array
 893 |             Int16Array
 894 |             Int32Array
 895 |             UInt8Array
 896 |             UInt8Array
 897 |             UInt8Array
 898 |             UInt8ClampedArray
 899 |             Float32Array
 900 |             Float64Array
 901 |             DataView)
 902 |     -> UndefOr Bits32
 903 |     -> PrimIO ()
 904 |
 905 |
 906 |   export
 907 |   %foreign "browser:lambda:(x,a,b,c)=>x.transformFeedbackVaryings(a,b,c)"
 908 |   prim__transformFeedbackVaryings :
 909 |        WebGL2RenderingContextBase
 910 |     -> WebGLProgram
 911 |     -> Array String
 912 |     -> Bits32
 913 |     -> PrimIO ()
 914 |
 915 |
 916 |   export
 917 |   %foreign "browser:lambda:(x,a,b)=>x.uniform1ui(a,b)"
 918 |   prim__uniform1ui :
 919 |        WebGL2RenderingContextBase
 920 |     -> Nullable WebGLUniformLocation
 921 |     -> Bits32
 922 |     -> PrimIO ()
 923 |
 924 |
 925 |   export
 926 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform1uiv(a,b,c,d)"
 927 |   prim__uniform1uiv :
 928 |        WebGL2RenderingContextBase
 929 |     -> Nullable WebGLUniformLocation
 930 |     -> Union2 UInt8Array (Array Bits32)
 931 |     -> UndefOr Bits32
 932 |     -> UndefOr Bits32
 933 |     -> PrimIO ()
 934 |
 935 |
 936 |   export
 937 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniform2ui(a,b,c)"
 938 |   prim__uniform2ui :
 939 |        WebGL2RenderingContextBase
 940 |     -> Nullable WebGLUniformLocation
 941 |     -> Bits32
 942 |     -> Bits32
 943 |     -> PrimIO ()
 944 |
 945 |
 946 |   export
 947 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform2uiv(a,b,c,d)"
 948 |   prim__uniform2uiv :
 949 |        WebGL2RenderingContextBase
 950 |     -> Nullable WebGLUniformLocation
 951 |     -> Union2 UInt8Array (Array Bits32)
 952 |     -> UndefOr Bits32
 953 |     -> UndefOr Bits32
 954 |     -> PrimIO ()
 955 |
 956 |
 957 |   export
 958 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3ui(a,b,c,d)"
 959 |   prim__uniform3ui :
 960 |        WebGL2RenderingContextBase
 961 |     -> Nullable WebGLUniformLocation
 962 |     -> Bits32
 963 |     -> Bits32
 964 |     -> Bits32
 965 |     -> PrimIO ()
 966 |
 967 |
 968 |   export
 969 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3uiv(a,b,c,d)"
 970 |   prim__uniform3uiv :
 971 |        WebGL2RenderingContextBase
 972 |     -> Nullable WebGLUniformLocation
 973 |     -> Union2 UInt8Array (Array Bits32)
 974 |     -> UndefOr Bits32
 975 |     -> UndefOr Bits32
 976 |     -> PrimIO ()
 977 |
 978 |
 979 |   export
 980 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniform4ui(a,b,c,d,e)"
 981 |   prim__uniform4ui :
 982 |        WebGL2RenderingContextBase
 983 |     -> Nullable WebGLUniformLocation
 984 |     -> Bits32
 985 |     -> Bits32
 986 |     -> Bits32
 987 |     -> Bits32
 988 |     -> PrimIO ()
 989 |
 990 |
 991 |   export
 992 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform4uiv(a,b,c,d)"
 993 |   prim__uniform4uiv :
 994 |        WebGL2RenderingContextBase
 995 |     -> Nullable WebGLUniformLocation
 996 |     -> Union2 UInt8Array (Array Bits32)
 997 |     -> UndefOr Bits32
 998 |     -> UndefOr Bits32
 999 |     -> PrimIO ()
1000 |
1001 |
1002 |   export
1003 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniformBlockBinding(a,b,c)"
1004 |   prim__uniformBlockBinding :
1005 |        WebGL2RenderingContextBase
1006 |     -> WebGLProgram
1007 |     -> Bits32
1008 |     -> Bits32
1009 |     -> PrimIO ()
1010 |
1011 |
1012 |   export
1013 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix2x3fv(a,b,c,d,e)"
1014 |   prim__uniformMatrix2x3fv :
1015 |        WebGL2RenderingContextBase
1016 |     -> Nullable WebGLUniformLocation
1017 |     -> Boolean
1018 |     -> Union2 Float32Array (Array Double)
1019 |     -> UndefOr Bits32
1020 |     -> UndefOr Bits32
1021 |     -> PrimIO ()
1022 |
1023 |
1024 |   export
1025 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix2x4fv(a,b,c,d,e)"
1026 |   prim__uniformMatrix2x4fv :
1027 |        WebGL2RenderingContextBase
1028 |     -> Nullable WebGLUniformLocation
1029 |     -> Boolean
1030 |     -> Union2 Float32Array (Array Double)
1031 |     -> UndefOr Bits32
1032 |     -> UndefOr Bits32
1033 |     -> PrimIO ()
1034 |
1035 |
1036 |   export
1037 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix3x2fv(a,b,c,d,e)"
1038 |   prim__uniformMatrix3x2fv :
1039 |        WebGL2RenderingContextBase
1040 |     -> Nullable WebGLUniformLocation
1041 |     -> Boolean
1042 |     -> Union2 Float32Array (Array Double)
1043 |     -> UndefOr Bits32
1044 |     -> UndefOr Bits32
1045 |     -> PrimIO ()
1046 |
1047 |
1048 |   export
1049 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix3x4fv(a,b,c,d,e)"
1050 |   prim__uniformMatrix3x4fv :
1051 |        WebGL2RenderingContextBase
1052 |     -> Nullable WebGLUniformLocation
1053 |     -> Boolean
1054 |     -> Union2 Float32Array (Array Double)
1055 |     -> UndefOr Bits32
1056 |     -> UndefOr Bits32
1057 |     -> PrimIO ()
1058 |
1059 |
1060 |   export
1061 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix4x2fv(a,b,c,d,e)"
1062 |   prim__uniformMatrix4x2fv :
1063 |        WebGL2RenderingContextBase
1064 |     -> Nullable WebGLUniformLocation
1065 |     -> Boolean
1066 |     -> Union2 Float32Array (Array Double)
1067 |     -> UndefOr Bits32
1068 |     -> UndefOr Bits32
1069 |     -> PrimIO ()
1070 |
1071 |
1072 |   export
1073 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix4x3fv(a,b,c,d,e)"
1074 |   prim__uniformMatrix4x3fv :
1075 |        WebGL2RenderingContextBase
1076 |     -> Nullable WebGLUniformLocation
1077 |     -> Boolean
1078 |     -> Union2 Float32Array (Array Double)
1079 |     -> UndefOr Bits32
1080 |     -> UndefOr Bits32
1081 |     -> PrimIO ()
1082 |
1083 |
1084 |   export
1085 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttribDivisor(a,b)"
1086 |   prim__vertexAttribDivisor :
1087 |        WebGL2RenderingContextBase
1088 |     -> Bits32
1089 |     -> Bits32
1090 |     -> PrimIO ()
1091 |
1092 |
1093 |   export
1094 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.vertexAttribI4i(a,b,c,d,e)"
1095 |   prim__vertexAttribI4i :
1096 |        WebGL2RenderingContextBase
1097 |     -> Bits32
1098 |     -> Int32
1099 |     -> Int32
1100 |     -> Int32
1101 |     -> Int32
1102 |     -> PrimIO ()
1103 |
1104 |
1105 |   export
1106 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttribI4iv(a,b)"
1107 |   prim__vertexAttribI4iv :
1108 |        WebGL2RenderingContextBase
1109 |     -> Bits32
1110 |     -> Union2 Int32Array (Array Int32)
1111 |     -> PrimIO ()
1112 |
1113 |
1114 |   export
1115 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.vertexAttribI4ui(a,b,c,d,e)"
1116 |   prim__vertexAttribI4ui :
1117 |        WebGL2RenderingContextBase
1118 |     -> Bits32
1119 |     -> Bits32
1120 |     -> Bits32
1121 |     -> Bits32
1122 |     -> Bits32
1123 |     -> PrimIO ()
1124 |
1125 |
1126 |   export
1127 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttribI4uiv(a,b)"
1128 |   prim__vertexAttribI4uiv :
1129 |        WebGL2RenderingContextBase
1130 |     -> Bits32
1131 |     -> Union2 UInt8Array (Array Bits32)
1132 |     -> PrimIO ()
1133 |
1134 |
1135 |   export
1136 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.vertexAttribIPointer(a,b,c,d,e)"
1137 |   prim__vertexAttribIPointer :
1138 |        WebGL2RenderingContextBase
1139 |     -> Bits32
1140 |     -> Int32
1141 |     -> Bits32
1142 |     -> Int32
1143 |     -> JSInt64
1144 |     -> PrimIO ()
1145 |
1146 |
1147 |   export
1148 |   %foreign "browser:lambda:(x,a,b,c)=>x.waitSync(a,b,c)"
1149 |   prim__waitSync :
1150 |        WebGL2RenderingContextBase
1151 |     -> WebGLSync
1152 |     -> Bits32
1153 |     -> JSInt64
1154 |     -> PrimIO ()
1155 |
1156 |
1157 |
1158 | namespace WebGL2RenderingContextOverloads
1159 |
1160 |   export
1161 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferData(a,b,c)"
1162 |   prim__bufferData :
1163 |        WebGL2RenderingContextOverloads
1164 |     -> Bits32
1165 |     -> JSInt64
1166 |     -> Bits32
1167 |     -> PrimIO ()
1168 |
1169 |
1170 |   export
1171 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferData(a,b,c)"
1172 |   prim__bufferData1 :
1173 |        WebGL2RenderingContextOverloads
1174 |     -> Bits32
1175 |     -> Nullable
1176 |          (Union11
1177 |             Int8Array
1178 |             Int16Array
1179 |             Int32Array
1180 |             UInt8Array
1181 |             UInt8Array
1182 |             UInt8Array
1183 |             UInt8ClampedArray
1184 |             Float32Array
1185 |             Float64Array
1186 |             DataView
1187 |             ArrayBuffer)
1188 |     -> Bits32
1189 |     -> PrimIO ()
1190 |
1191 |
1192 |   export
1193 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.bufferData(a,b,c,d,e)"
1194 |   prim__bufferData2 :
1195 |        WebGL2RenderingContextOverloads
1196 |     -> Bits32
1197 |     -> Union10
1198 |          Int8Array
1199 |          Int16Array
1200 |          Int32Array
1201 |          UInt8Array
1202 |          UInt8Array
1203 |          UInt8Array
1204 |          UInt8ClampedArray
1205 |          Float32Array
1206 |          Float64Array
1207 |          DataView
1208 |     -> Bits32
1209 |     -> Bits32
1210 |     -> UndefOr Bits32
1211 |     -> PrimIO ()
1212 |
1213 |
1214 |   export
1215 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferSubData(a,b,c)"
1216 |   prim__bufferSubData :
1217 |        WebGL2RenderingContextOverloads
1218 |     -> Bits32
1219 |     -> JSInt64
1220 |     -> Union11
1221 |          Int8Array
1222 |          Int16Array
1223 |          Int32Array
1224 |          UInt8Array
1225 |          UInt8Array
1226 |          UInt8Array
1227 |          UInt8ClampedArray
1228 |          Float32Array
1229 |          Float64Array
1230 |          DataView
1231 |          ArrayBuffer
1232 |     -> PrimIO ()
1233 |
1234 |
1235 |   export
1236 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.bufferSubData(a,b,c,d,e)"
1237 |   prim__bufferSubData1 :
1238 |        WebGL2RenderingContextOverloads
1239 |     -> Bits32
1240 |     -> JSInt64
1241 |     -> Union10
1242 |          Int8Array
1243 |          Int16Array
1244 |          Int32Array
1245 |          UInt8Array
1246 |          UInt8Array
1247 |          UInt8Array
1248 |          UInt8ClampedArray
1249 |          Float32Array
1250 |          Float64Array
1251 |          DataView
1252 |     -> Bits32
1253 |     -> UndefOr Bits32
1254 |     -> PrimIO ()
1255 |
1256 |
1257 |   export
1258 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h)=>x.compressedTexImage2D(a,b,c,d,e,f,g,h)"
1259 |   prim__compressedTexImage2D :
1260 |        WebGL2RenderingContextOverloads
1261 |     -> Bits32
1262 |     -> Int32
1263 |     -> Bits32
1264 |     -> Int32
1265 |     -> Int32
1266 |     -> Int32
1267 |     -> Int32
1268 |     -> JSInt64
1269 |     -> PrimIO ()
1270 |
1271 |
1272 |   export
1273 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.compressedTexImage2D(a,b,c,d,e,f,g,h,i)"
1274 |   prim__compressedTexImage2D1 :
1275 |        WebGL2RenderingContextOverloads
1276 |     -> Bits32
1277 |     -> Int32
1278 |     -> Bits32
1279 |     -> Int32
1280 |     -> Int32
1281 |     -> Int32
1282 |     -> Union10
1283 |          Int8Array
1284 |          Int16Array
1285 |          Int32Array
1286 |          UInt8Array
1287 |          UInt8Array
1288 |          UInt8Array
1289 |          UInt8ClampedArray
1290 |          Float32Array
1291 |          Float64Array
1292 |          DataView
1293 |     -> UndefOr Bits32
1294 |     -> UndefOr Bits32
1295 |     -> PrimIO ()
1296 |
1297 |
1298 |   export
1299 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.compressedTexSubImage2D(a,b,c,d,e,f,g,h,i)"
1300 |   prim__compressedTexSubImage2D :
1301 |        WebGL2RenderingContextOverloads
1302 |     -> Bits32
1303 |     -> Int32
1304 |     -> Int32
1305 |     -> Int32
1306 |     -> Int32
1307 |     -> Int32
1308 |     -> Bits32
1309 |     -> Int32
1310 |     -> JSInt64
1311 |     -> PrimIO ()
1312 |
1313 |
1314 |   export
1315 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.compressedTexSubImage2D(a,b,c,d,e,f,g,h,i,j)"
1316 |   prim__compressedTexSubImage2D1 :
1317 |        WebGL2RenderingContextOverloads
1318 |     -> Bits32
1319 |     -> Int32
1320 |     -> Int32
1321 |     -> Int32
1322 |     -> Int32
1323 |     -> Int32
1324 |     -> Bits32
1325 |     -> Union10
1326 |          Int8Array
1327 |          Int16Array
1328 |          Int32Array
1329 |          UInt8Array
1330 |          UInt8Array
1331 |          UInt8Array
1332 |          UInt8ClampedArray
1333 |          Float32Array
1334 |          Float64Array
1335 |          DataView
1336 |     -> UndefOr Bits32
1337 |     -> UndefOr Bits32
1338 |     -> PrimIO ()
1339 |
1340 |
1341 |   export
1342 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.readPixels(a,b,c,d,e,f,g)"
1343 |   prim__readPixels :
1344 |        WebGL2RenderingContextOverloads
1345 |     -> Int32
1346 |     -> Int32
1347 |     -> Int32
1348 |     -> Int32
1349 |     -> Bits32
1350 |     -> Bits32
1351 |     -> Nullable
1352 |          (Union10
1353 |             Int8Array
1354 |             Int16Array
1355 |             Int32Array
1356 |             UInt8Array
1357 |             UInt8Array
1358 |             UInt8Array
1359 |             UInt8ClampedArray
1360 |             Float32Array
1361 |             Float64Array
1362 |             DataView)
1363 |     -> PrimIO ()
1364 |
1365 |
1366 |   export
1367 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.readPixels(a,b,c,d,e,f,g)"
1368 |   prim__readPixels1 :
1369 |        WebGL2RenderingContextOverloads
1370 |     -> Int32
1371 |     -> Int32
1372 |     -> Int32
1373 |     -> Int32
1374 |     -> Bits32
1375 |     -> Bits32
1376 |     -> JSInt64
1377 |     -> PrimIO ()
1378 |
1379 |
1380 |   export
1381 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h)=>x.readPixels(a,b,c,d,e,f,g,h)"
1382 |   prim__readPixels2 :
1383 |        WebGL2RenderingContextOverloads
1384 |     -> Int32
1385 |     -> Int32
1386 |     -> Int32
1387 |     -> Int32
1388 |     -> Bits32
1389 |     -> Bits32
1390 |     -> Union10
1391 |          Int8Array
1392 |          Int16Array
1393 |          Int32Array
1394 |          UInt8Array
1395 |          UInt8Array
1396 |          UInt8Array
1397 |          UInt8ClampedArray
1398 |          Float32Array
1399 |          Float64Array
1400 |          DataView
1401 |     -> Bits32
1402 |     -> PrimIO ()
1403 |
1404 |
1405 |   export
1406 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texImage2D(a,b,c,d,e,f,g,h,i)"
1407 |   prim__texImage2D :
1408 |        WebGL2RenderingContextOverloads
1409 |     -> Bits32
1410 |     -> Int32
1411 |     -> Int32
1412 |     -> Int32
1413 |     -> Int32
1414 |     -> Int32
1415 |     -> Bits32
1416 |     -> Bits32
1417 |     -> Nullable
1418 |          (Union10
1419 |             Int8Array
1420 |             Int16Array
1421 |             Int32Array
1422 |             UInt8Array
1423 |             UInt8Array
1424 |             UInt8Array
1425 |             UInt8ClampedArray
1426 |             Float32Array
1427 |             Float64Array
1428 |             DataView)
1429 |     -> PrimIO ()
1430 |
1431 |
1432 |   export
1433 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.texImage2D(a,b,c,d,e,f)"
1434 |   prim__texImage2D1 :
1435 |        WebGL2RenderingContextOverloads
1436 |     -> Bits32
1437 |     -> Int32
1438 |     -> Int32
1439 |     -> Bits32
1440 |     -> Bits32
1441 |     -> Union6
1442 |          ImageBitmap
1443 |          ImageData
1444 |          HTMLImageElement
1445 |          HTMLCanvasElement
1446 |          HTMLVideoElement
1447 |          OffscreenCanvas
1448 |     -> PrimIO ()
1449 |
1450 |
1451 |   export
1452 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texImage2D(a,b,c,d,e,f,g,h,i)"
1453 |   prim__texImage2D2 :
1454 |        WebGL2RenderingContextOverloads
1455 |     -> Bits32
1456 |     -> Int32
1457 |     -> Int32
1458 |     -> Int32
1459 |     -> Int32
1460 |     -> Int32
1461 |     -> Bits32
1462 |     -> Bits32
1463 |     -> JSInt64
1464 |     -> PrimIO ()
1465 |
1466 |
1467 |   export
1468 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texImage2D(a,b,c,d,e,f,g,h,i)"
1469 |   prim__texImage2D3 :
1470 |        WebGL2RenderingContextOverloads
1471 |     -> Bits32
1472 |     -> Int32
1473 |     -> Int32
1474 |     -> Int32
1475 |     -> Int32
1476 |     -> Int32
1477 |     -> Bits32
1478 |     -> Bits32
1479 |     -> Union6
1480 |          ImageBitmap
1481 |          ImageData
1482 |          HTMLImageElement
1483 |          HTMLCanvasElement
1484 |          HTMLVideoElement
1485 |          OffscreenCanvas
1486 |     -> PrimIO ()
1487 |
1488 |
1489 |   export
1490 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.texImage2D(a,b,c,d,e,f,g,h,i,j)"
1491 |   prim__texImage2D4 :
1492 |        WebGL2RenderingContextOverloads
1493 |     -> Bits32
1494 |     -> Int32
1495 |     -> Int32
1496 |     -> Int32
1497 |     -> Int32
1498 |     -> Int32
1499 |     -> Bits32
1500 |     -> Bits32
1501 |     -> Union10
1502 |          Int8Array
1503 |          Int16Array
1504 |          Int32Array
1505 |          UInt8Array
1506 |          UInt8Array
1507 |          UInt8Array
1508 |          UInt8ClampedArray
1509 |          Float32Array
1510 |          Float64Array
1511 |          DataView
1512 |     -> Bits32
1513 |     -> PrimIO ()
1514 |
1515 |
1516 |   export
1517 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texSubImage2D(a,b,c,d,e,f,g,h,i)"
1518 |   prim__texSubImage2D :
1519 |        WebGL2RenderingContextOverloads
1520 |     -> Bits32
1521 |     -> Int32
1522 |     -> Int32
1523 |     -> Int32
1524 |     -> Int32
1525 |     -> Int32
1526 |     -> Bits32
1527 |     -> Bits32
1528 |     -> Nullable
1529 |          (Union10
1530 |             Int8Array
1531 |             Int16Array
1532 |             Int32Array
1533 |             UInt8Array
1534 |             UInt8Array
1535 |             UInt8Array
1536 |             UInt8ClampedArray
1537 |             Float32Array
1538 |             Float64Array
1539 |             DataView)
1540 |     -> PrimIO ()
1541 |
1542 |
1543 |   export
1544 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.texSubImage2D(a,b,c,d,e,f,g)"
1545 |   prim__texSubImage2D1 :
1546 |        WebGL2RenderingContextOverloads
1547 |     -> Bits32
1548 |     -> Int32
1549 |     -> Int32
1550 |     -> Int32
1551 |     -> Bits32
1552 |     -> Bits32
1553 |     -> Union6
1554 |          ImageBitmap
1555 |          ImageData
1556 |          HTMLImageElement
1557 |          HTMLCanvasElement
1558 |          HTMLVideoElement
1559 |          OffscreenCanvas
1560 |     -> PrimIO ()
1561 |
1562 |
1563 |   export
1564 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texSubImage2D(a,b,c,d,e,f,g,h,i)"
1565 |   prim__texSubImage2D2 :
1566 |        WebGL2RenderingContextOverloads
1567 |     -> Bits32
1568 |     -> Int32
1569 |     -> Int32
1570 |     -> Int32
1571 |     -> Int32
1572 |     -> Int32
1573 |     -> Bits32
1574 |     -> Bits32
1575 |     -> JSInt64
1576 |     -> PrimIO ()
1577 |
1578 |
1579 |   export
1580 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texSubImage2D(a,b,c,d,e,f,g,h,i)"
1581 |   prim__texSubImage2D3 :
1582 |        WebGL2RenderingContextOverloads
1583 |     -> Bits32
1584 |     -> Int32
1585 |     -> Int32
1586 |     -> Int32
1587 |     -> Int32
1588 |     -> Int32
1589 |     -> Bits32
1590 |     -> Bits32
1591 |     -> Union6
1592 |          ImageBitmap
1593 |          ImageData
1594 |          HTMLImageElement
1595 |          HTMLCanvasElement
1596 |          HTMLVideoElement
1597 |          OffscreenCanvas
1598 |     -> PrimIO ()
1599 |
1600 |
1601 |   export
1602 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i,j)=>x.texSubImage2D(a,b,c,d,e,f,g,h,i,j)"
1603 |   prim__texSubImage2D4 :
1604 |        WebGL2RenderingContextOverloads
1605 |     -> Bits32
1606 |     -> Int32
1607 |     -> Int32
1608 |     -> Int32
1609 |     -> Int32
1610 |     -> Int32
1611 |     -> Bits32
1612 |     -> Bits32
1613 |     -> Union10
1614 |          Int8Array
1615 |          Int16Array
1616 |          Int32Array
1617 |          UInt8Array
1618 |          UInt8Array
1619 |          UInt8Array
1620 |          UInt8ClampedArray
1621 |          Float32Array
1622 |          Float64Array
1623 |          DataView
1624 |     -> Bits32
1625 |     -> PrimIO ()
1626 |
1627 |
1628 |   export
1629 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform1fv(a,b,c,d)"
1630 |   prim__uniform1fv :
1631 |        WebGL2RenderingContextOverloads
1632 |     -> Nullable WebGLUniformLocation
1633 |     -> Union2 Float32Array (Array Double)
1634 |     -> UndefOr Bits32
1635 |     -> UndefOr Bits32
1636 |     -> PrimIO ()
1637 |
1638 |
1639 |   export
1640 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform1iv(a,b,c,d)"
1641 |   prim__uniform1iv :
1642 |        WebGL2RenderingContextOverloads
1643 |     -> Nullable WebGLUniformLocation
1644 |     -> Union2 Int32Array (Array Int32)
1645 |     -> UndefOr Bits32
1646 |     -> UndefOr Bits32
1647 |     -> PrimIO ()
1648 |
1649 |
1650 |   export
1651 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform2fv(a,b,c,d)"
1652 |   prim__uniform2fv :
1653 |        WebGL2RenderingContextOverloads
1654 |     -> Nullable WebGLUniformLocation
1655 |     -> Union2 Float32Array (Array Double)
1656 |     -> UndefOr Bits32
1657 |     -> UndefOr Bits32
1658 |     -> PrimIO ()
1659 |
1660 |
1661 |   export
1662 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform2iv(a,b,c,d)"
1663 |   prim__uniform2iv :
1664 |        WebGL2RenderingContextOverloads
1665 |     -> Nullable WebGLUniformLocation
1666 |     -> Union2 Int32Array (Array Int32)
1667 |     -> UndefOr Bits32
1668 |     -> UndefOr Bits32
1669 |     -> PrimIO ()
1670 |
1671 |
1672 |   export
1673 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3fv(a,b,c,d)"
1674 |   prim__uniform3fv :
1675 |        WebGL2RenderingContextOverloads
1676 |     -> Nullable WebGLUniformLocation
1677 |     -> Union2 Float32Array (Array Double)
1678 |     -> UndefOr Bits32
1679 |     -> UndefOr Bits32
1680 |     -> PrimIO ()
1681 |
1682 |
1683 |   export
1684 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3iv(a,b,c,d)"
1685 |   prim__uniform3iv :
1686 |        WebGL2RenderingContextOverloads
1687 |     -> Nullable WebGLUniformLocation
1688 |     -> Union2 Int32Array (Array Int32)
1689 |     -> UndefOr Bits32
1690 |     -> UndefOr Bits32
1691 |     -> PrimIO ()
1692 |
1693 |
1694 |   export
1695 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform4fv(a,b,c,d)"
1696 |   prim__uniform4fv :
1697 |        WebGL2RenderingContextOverloads
1698 |     -> Nullable WebGLUniformLocation
1699 |     -> Union2 Float32Array (Array Double)
1700 |     -> UndefOr Bits32
1701 |     -> UndefOr Bits32
1702 |     -> PrimIO ()
1703 |
1704 |
1705 |   export
1706 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform4iv(a,b,c,d)"
1707 |   prim__uniform4iv :
1708 |        WebGL2RenderingContextOverloads
1709 |     -> Nullable WebGLUniformLocation
1710 |     -> Union2 Int32Array (Array Int32)
1711 |     -> UndefOr Bits32
1712 |     -> UndefOr Bits32
1713 |     -> PrimIO ()
1714 |
1715 |
1716 |   export
1717 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix2fv(a,b,c,d,e)"
1718 |   prim__uniformMatrix2fv :
1719 |        WebGL2RenderingContextOverloads
1720 |     -> Nullable WebGLUniformLocation
1721 |     -> Boolean
1722 |     -> Union2 Float32Array (Array Double)
1723 |     -> UndefOr Bits32
1724 |     -> UndefOr Bits32
1725 |     -> PrimIO ()
1726 |
1727 |
1728 |   export
1729 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix3fv(a,b,c,d,e)"
1730 |   prim__uniformMatrix3fv :
1731 |        WebGL2RenderingContextOverloads
1732 |     -> Nullable WebGLUniformLocation
1733 |     -> Boolean
1734 |     -> Union2 Float32Array (Array Double)
1735 |     -> UndefOr Bits32
1736 |     -> UndefOr Bits32
1737 |     -> PrimIO ()
1738 |
1739 |
1740 |   export
1741 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniformMatrix4fv(a,b,c,d,e)"
1742 |   prim__uniformMatrix4fv :
1743 |        WebGL2RenderingContextOverloads
1744 |     -> Nullable WebGLUniformLocation
1745 |     -> Boolean
1746 |     -> Union2 Float32Array (Array Double)
1747 |     -> UndefOr Bits32
1748 |     -> UndefOr Bits32
1749 |     -> PrimIO ()
1750 |
1751 |
1752 |
1753 | namespace WebGLRenderingContextBase
1754 |
1755 |   export
1756 |   %foreign "browser:lambda:x=>x.canvas"
1757 |   prim__canvas :
1758 |        WebGLRenderingContextBase
1759 |     -> PrimIO (Union2 HTMLCanvasElement OffscreenCanvas)
1760 |
1761 |
1762 |   export
1763 |   %foreign "browser:lambda:x=>x.drawingBufferHeight"
1764 |   prim__drawingBufferHeight : WebGLRenderingContextBase -> PrimIO Int32
1765 |
1766 |
1767 |   export
1768 |   %foreign "browser:lambda:x=>x.drawingBufferWidth"
1769 |   prim__drawingBufferWidth : WebGLRenderingContextBase -> PrimIO Int32
1770 |
1771 |
1772 |   export
1773 |   %foreign "browser:lambda:(x,a)=>x.activeTexture(a)"
1774 |   prim__activeTexture : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
1775 |
1776 |
1777 |   export
1778 |   %foreign "browser:lambda:(x,a,b)=>x.attachShader(a,b)"
1779 |   prim__attachShader :
1780 |        WebGLRenderingContextBase
1781 |     -> WebGLProgram
1782 |     -> WebGLShader
1783 |     -> PrimIO ()
1784 |
1785 |
1786 |   export
1787 |   %foreign "browser:lambda:(x,a,b,c)=>x.bindAttribLocation(a,b,c)"
1788 |   prim__bindAttribLocation :
1789 |        WebGLRenderingContextBase
1790 |     -> WebGLProgram
1791 |     -> Bits32
1792 |     -> String
1793 |     -> PrimIO ()
1794 |
1795 |
1796 |   export
1797 |   %foreign "browser:lambda:(x,a,b)=>x.bindBuffer(a,b)"
1798 |   prim__bindBuffer :
1799 |        WebGLRenderingContextBase
1800 |     -> Bits32
1801 |     -> Nullable WebGLBuffer
1802 |     -> PrimIO ()
1803 |
1804 |
1805 |   export
1806 |   %foreign "browser:lambda:(x,a,b)=>x.bindFramebuffer(a,b)"
1807 |   prim__bindFramebuffer :
1808 |        WebGLRenderingContextBase
1809 |     -> Bits32
1810 |     -> Nullable WebGLFramebuffer
1811 |     -> PrimIO ()
1812 |
1813 |
1814 |   export
1815 |   %foreign "browser:lambda:(x,a,b)=>x.bindRenderbuffer(a,b)"
1816 |   prim__bindRenderbuffer :
1817 |        WebGLRenderingContextBase
1818 |     -> Bits32
1819 |     -> Nullable WebGLRenderbuffer
1820 |     -> PrimIO ()
1821 |
1822 |
1823 |   export
1824 |   %foreign "browser:lambda:(x,a,b)=>x.bindTexture(a,b)"
1825 |   prim__bindTexture :
1826 |        WebGLRenderingContextBase
1827 |     -> Bits32
1828 |     -> Nullable WebGLTexture
1829 |     -> PrimIO ()
1830 |
1831 |
1832 |   export
1833 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.blendColor(a,b,c,d)"
1834 |   prim__blendColor :
1835 |        WebGLRenderingContextBase
1836 |     -> Double
1837 |     -> Double
1838 |     -> Double
1839 |     -> Double
1840 |     -> PrimIO ()
1841 |
1842 |
1843 |   export
1844 |   %foreign "browser:lambda:(x,a,b)=>x.blendEquationSeparate(a,b)"
1845 |   prim__blendEquationSeparate :
1846 |        WebGLRenderingContextBase
1847 |     -> Bits32
1848 |     -> Bits32
1849 |     -> PrimIO ()
1850 |
1851 |
1852 |   export
1853 |   %foreign "browser:lambda:(x,a)=>x.blendEquation(a)"
1854 |   prim__blendEquation : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
1855 |
1856 |
1857 |   export
1858 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.blendFuncSeparate(a,b,c,d)"
1859 |   prim__blendFuncSeparate :
1860 |        WebGLRenderingContextBase
1861 |     -> Bits32
1862 |     -> Bits32
1863 |     -> Bits32
1864 |     -> Bits32
1865 |     -> PrimIO ()
1866 |
1867 |
1868 |   export
1869 |   %foreign "browser:lambda:(x,a,b)=>x.blendFunc(a,b)"
1870 |   prim__blendFunc : WebGLRenderingContextBase -> Bits32 -> Bits32 -> PrimIO ()
1871 |
1872 |
1873 |   export
1874 |   %foreign "browser:lambda:(x,a)=>x.checkFramebufferStatus(a)"
1875 |   prim__checkFramebufferStatus :
1876 |        WebGLRenderingContextBase
1877 |     -> Bits32
1878 |     -> PrimIO Bits32
1879 |
1880 |
1881 |   export
1882 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.clearColor(a,b,c,d)"
1883 |   prim__clearColor :
1884 |        WebGLRenderingContextBase
1885 |     -> Double
1886 |     -> Double
1887 |     -> Double
1888 |     -> Double
1889 |     -> PrimIO ()
1890 |
1891 |
1892 |   export
1893 |   %foreign "browser:lambda:(x,a)=>x.clearDepth(a)"
1894 |   prim__clearDepth : WebGLRenderingContextBase -> Double -> PrimIO ()
1895 |
1896 |
1897 |   export
1898 |   %foreign "browser:lambda:(x,a)=>x.clearStencil(a)"
1899 |   prim__clearStencil : WebGLRenderingContextBase -> Int32 -> PrimIO ()
1900 |
1901 |
1902 |   export
1903 |   %foreign "browser:lambda:(x,a)=>x.clear(a)"
1904 |   prim__clear : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
1905 |
1906 |
1907 |   export
1908 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.colorMask(a,b,c,d)"
1909 |   prim__colorMask :
1910 |        WebGLRenderingContextBase
1911 |     -> Boolean
1912 |     -> Boolean
1913 |     -> Boolean
1914 |     -> Boolean
1915 |     -> PrimIO ()
1916 |
1917 |
1918 |   export
1919 |   %foreign "browser:lambda:(x,a)=>x.compileShader(a)"
1920 |   prim__compileShader : WebGLRenderingContextBase -> WebGLShader -> PrimIO ()
1921 |
1922 |
1923 |   export
1924 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h)=>x.copyTexImage2D(a,b,c,d,e,f,g,h)"
1925 |   prim__copyTexImage2D :
1926 |        WebGLRenderingContextBase
1927 |     -> Bits32
1928 |     -> Int32
1929 |     -> Bits32
1930 |     -> Int32
1931 |     -> Int32
1932 |     -> Int32
1933 |     -> Int32
1934 |     -> Int32
1935 |     -> PrimIO ()
1936 |
1937 |
1938 |   export
1939 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h)=>x.copyTexSubImage2D(a,b,c,d,e,f,g,h)"
1940 |   prim__copyTexSubImage2D :
1941 |        WebGLRenderingContextBase
1942 |     -> Bits32
1943 |     -> Int32
1944 |     -> Int32
1945 |     -> Int32
1946 |     -> Int32
1947 |     -> Int32
1948 |     -> Int32
1949 |     -> Int32
1950 |     -> PrimIO ()
1951 |
1952 |
1953 |   export
1954 |   %foreign "browser:lambda:x=>x.createBuffer()"
1955 |   prim__createBuffer :
1956 |        WebGLRenderingContextBase
1957 |     -> PrimIO (Nullable WebGLBuffer)
1958 |
1959 |
1960 |   export
1961 |   %foreign "browser:lambda:x=>x.createFramebuffer()"
1962 |   prim__createFramebuffer :
1963 |        WebGLRenderingContextBase
1964 |     -> PrimIO (Nullable WebGLFramebuffer)
1965 |
1966 |
1967 |   export
1968 |   %foreign "browser:lambda:x=>x.createProgram()"
1969 |   prim__createProgram :
1970 |        WebGLRenderingContextBase
1971 |     -> PrimIO (Nullable WebGLProgram)
1972 |
1973 |
1974 |   export
1975 |   %foreign "browser:lambda:x=>x.createRenderbuffer()"
1976 |   prim__createRenderbuffer :
1977 |        WebGLRenderingContextBase
1978 |     -> PrimIO (Nullable WebGLRenderbuffer)
1979 |
1980 |
1981 |   export
1982 |   %foreign "browser:lambda:(x,a)=>x.createShader(a)"
1983 |   prim__createShader :
1984 |        WebGLRenderingContextBase
1985 |     -> Bits32
1986 |     -> PrimIO (Nullable WebGLShader)
1987 |
1988 |
1989 |   export
1990 |   %foreign "browser:lambda:x=>x.createTexture()"
1991 |   prim__createTexture :
1992 |        WebGLRenderingContextBase
1993 |     -> PrimIO (Nullable WebGLTexture)
1994 |
1995 |
1996 |   export
1997 |   %foreign "browser:lambda:(x,a)=>x.cullFace(a)"
1998 |   prim__cullFace : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
1999 |
2000 |
2001 |   export
2002 |   %foreign "browser:lambda:(x,a)=>x.deleteBuffer(a)"
2003 |   prim__deleteBuffer :
2004 |        WebGLRenderingContextBase
2005 |     -> Nullable WebGLBuffer
2006 |     -> PrimIO ()
2007 |
2008 |
2009 |   export
2010 |   %foreign "browser:lambda:(x,a)=>x.deleteFramebuffer(a)"
2011 |   prim__deleteFramebuffer :
2012 |        WebGLRenderingContextBase
2013 |     -> Nullable WebGLFramebuffer
2014 |     -> PrimIO ()
2015 |
2016 |
2017 |   export
2018 |   %foreign "browser:lambda:(x,a)=>x.deleteProgram(a)"
2019 |   prim__deleteProgram :
2020 |        WebGLRenderingContextBase
2021 |     -> Nullable WebGLProgram
2022 |     -> PrimIO ()
2023 |
2024 |
2025 |   export
2026 |   %foreign "browser:lambda:(x,a)=>x.deleteRenderbuffer(a)"
2027 |   prim__deleteRenderbuffer :
2028 |        WebGLRenderingContextBase
2029 |     -> Nullable WebGLRenderbuffer
2030 |     -> PrimIO ()
2031 |
2032 |
2033 |   export
2034 |   %foreign "browser:lambda:(x,a)=>x.deleteShader(a)"
2035 |   prim__deleteShader :
2036 |        WebGLRenderingContextBase
2037 |     -> Nullable WebGLShader
2038 |     -> PrimIO ()
2039 |
2040 |
2041 |   export
2042 |   %foreign "browser:lambda:(x,a)=>x.deleteTexture(a)"
2043 |   prim__deleteTexture :
2044 |        WebGLRenderingContextBase
2045 |     -> Nullable WebGLTexture
2046 |     -> PrimIO ()
2047 |
2048 |
2049 |   export
2050 |   %foreign "browser:lambda:(x,a)=>x.depthFunc(a)"
2051 |   prim__depthFunc : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2052 |
2053 |
2054 |   export
2055 |   %foreign "browser:lambda:(x,a)=>x.depthMask(a)"
2056 |   prim__depthMask : WebGLRenderingContextBase -> Boolean -> PrimIO ()
2057 |
2058 |
2059 |   export
2060 |   %foreign "browser:lambda:(x,a,b)=>x.depthRange(a,b)"
2061 |   prim__depthRange : WebGLRenderingContextBase -> Double -> Double -> PrimIO ()
2062 |
2063 |
2064 |   export
2065 |   %foreign "browser:lambda:(x,a,b)=>x.detachShader(a,b)"
2066 |   prim__detachShader :
2067 |        WebGLRenderingContextBase
2068 |     -> WebGLProgram
2069 |     -> WebGLShader
2070 |     -> PrimIO ()
2071 |
2072 |
2073 |   export
2074 |   %foreign "browser:lambda:(x,a)=>x.disableVertexAttribArray(a)"
2075 |   prim__disableVertexAttribArray :
2076 |        WebGLRenderingContextBase
2077 |     -> Bits32
2078 |     -> PrimIO ()
2079 |
2080 |
2081 |   export
2082 |   %foreign "browser:lambda:(x,a)=>x.disable(a)"
2083 |   prim__disable : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2084 |
2085 |
2086 |   export
2087 |   %foreign "browser:lambda:(x,a,b,c)=>x.drawArrays(a,b,c)"
2088 |   prim__drawArrays :
2089 |        WebGLRenderingContextBase
2090 |     -> Bits32
2091 |     -> Int32
2092 |     -> Int32
2093 |     -> PrimIO ()
2094 |
2095 |
2096 |   export
2097 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.drawElements(a,b,c,d)"
2098 |   prim__drawElements :
2099 |        WebGLRenderingContextBase
2100 |     -> Bits32
2101 |     -> Int32
2102 |     -> Bits32
2103 |     -> JSInt64
2104 |     -> PrimIO ()
2105 |
2106 |
2107 |   export
2108 |   %foreign "browser:lambda:(x,a)=>x.enableVertexAttribArray(a)"
2109 |   prim__enableVertexAttribArray :
2110 |        WebGLRenderingContextBase
2111 |     -> Bits32
2112 |     -> PrimIO ()
2113 |
2114 |
2115 |   export
2116 |   %foreign "browser:lambda:(x,a)=>x.enable(a)"
2117 |   prim__enable : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2118 |
2119 |
2120 |   export
2121 |   %foreign "browser:lambda:x=>x.finish()"
2122 |   prim__finish : WebGLRenderingContextBase -> PrimIO ()
2123 |
2124 |
2125 |   export
2126 |   %foreign "browser:lambda:x=>x.flush()"
2127 |   prim__flush : WebGLRenderingContextBase -> PrimIO ()
2128 |
2129 |
2130 |   export
2131 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.framebufferRenderbuffer(a,b,c,d)"
2132 |   prim__framebufferRenderbuffer :
2133 |        WebGLRenderingContextBase
2134 |     -> Bits32
2135 |     -> Bits32
2136 |     -> Bits32
2137 |     -> Nullable WebGLRenderbuffer
2138 |     -> PrimIO ()
2139 |
2140 |
2141 |   export
2142 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.framebufferTexture2D(a,b,c,d,e)"
2143 |   prim__framebufferTexture2D :
2144 |        WebGLRenderingContextBase
2145 |     -> Bits32
2146 |     -> Bits32
2147 |     -> Bits32
2148 |     -> Nullable WebGLTexture
2149 |     -> Int32
2150 |     -> PrimIO ()
2151 |
2152 |
2153 |   export
2154 |   %foreign "browser:lambda:(x,a)=>x.frontFace(a)"
2155 |   prim__frontFace : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2156 |
2157 |
2158 |   export
2159 |   %foreign "browser:lambda:(x,a)=>x.generateMipmap(a)"
2160 |   prim__generateMipmap : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2161 |
2162 |
2163 |   export
2164 |   %foreign "browser:lambda:(x,a,b)=>x.getActiveAttrib(a,b)"
2165 |   prim__getActiveAttrib :
2166 |        WebGLRenderingContextBase
2167 |     -> WebGLProgram
2168 |     -> Bits32
2169 |     -> PrimIO (Nullable WebGLActiveInfo)
2170 |
2171 |
2172 |   export
2173 |   %foreign "browser:lambda:(x,a,b)=>x.getActiveUniform(a,b)"
2174 |   prim__getActiveUniform :
2175 |        WebGLRenderingContextBase
2176 |     -> WebGLProgram
2177 |     -> Bits32
2178 |     -> PrimIO (Nullable WebGLActiveInfo)
2179 |
2180 |
2181 |   export
2182 |   %foreign "browser:lambda:(x,a)=>x.getAttachedShaders(a)"
2183 |   prim__getAttachedShaders :
2184 |        WebGLRenderingContextBase
2185 |     -> WebGLProgram
2186 |     -> PrimIO (Nullable (Array WebGLShader))
2187 |
2188 |
2189 |   export
2190 |   %foreign "browser:lambda:(x,a,b)=>x.getAttribLocation(a,b)"
2191 |   prim__getAttribLocation :
2192 |        WebGLRenderingContextBase
2193 |     -> WebGLProgram
2194 |     -> String
2195 |     -> PrimIO Int32
2196 |
2197 |
2198 |   export
2199 |   %foreign "browser:lambda:(x,a,b)=>x.getBufferParameter(a,b)"
2200 |   prim__getBufferParameter :
2201 |        WebGLRenderingContextBase
2202 |     -> Bits32
2203 |     -> Bits32
2204 |     -> PrimIO AnyPtr
2205 |
2206 |
2207 |   export
2208 |   %foreign "browser:lambda:x=>x.getContextAttributes()"
2209 |   prim__getContextAttributes :
2210 |        WebGLRenderingContextBase
2211 |     -> PrimIO (Nullable WebGLContextAttributes)
2212 |
2213 |
2214 |   export
2215 |   %foreign "browser:lambda:x=>x.getError()"
2216 |   prim__getError : WebGLRenderingContextBase -> PrimIO Bits32
2217 |
2218 |
2219 |   export
2220 |   %foreign "browser:lambda:(x,a)=>x.getExtension(a)"
2221 |   prim__getExtension :
2222 |        WebGLRenderingContextBase
2223 |     -> String
2224 |     -> PrimIO (Nullable Object)
2225 |
2226 |
2227 |   export
2228 |   %foreign "browser:lambda:(x,a,b,c)=>x.getFramebufferAttachmentParameter(a,b,c)"
2229 |   prim__getFramebufferAttachmentParameter :
2230 |        WebGLRenderingContextBase
2231 |     -> Bits32
2232 |     -> Bits32
2233 |     -> Bits32
2234 |     -> PrimIO AnyPtr
2235 |
2236 |
2237 |   export
2238 |   %foreign "browser:lambda:(x,a)=>x.getParameter(a)"
2239 |   prim__getParameter : WebGLRenderingContextBase -> Bits32 -> PrimIO AnyPtr
2240 |
2241 |
2242 |   export
2243 |   %foreign "browser:lambda:(x,a)=>x.getProgramInfoLog(a)"
2244 |   prim__getProgramInfoLog :
2245 |        WebGLRenderingContextBase
2246 |     -> WebGLProgram
2247 |     -> PrimIO (Nullable String)
2248 |
2249 |
2250 |   export
2251 |   %foreign "browser:lambda:(x,a,b)=>x.getProgramParameter(a,b)"
2252 |   prim__getProgramParameter :
2253 |        WebGLRenderingContextBase
2254 |     -> WebGLProgram
2255 |     -> Bits32
2256 |     -> PrimIO AnyPtr
2257 |
2258 |
2259 |   export
2260 |   %foreign "browser:lambda:(x,a,b)=>x.getRenderbufferParameter(a,b)"
2261 |   prim__getRenderbufferParameter :
2262 |        WebGLRenderingContextBase
2263 |     -> Bits32
2264 |     -> Bits32
2265 |     -> PrimIO AnyPtr
2266 |
2267 |
2268 |   export
2269 |   %foreign "browser:lambda:(x,a)=>x.getShaderInfoLog(a)"
2270 |   prim__getShaderInfoLog :
2271 |        WebGLRenderingContextBase
2272 |     -> WebGLShader
2273 |     -> PrimIO (Nullable String)
2274 |
2275 |
2276 |   export
2277 |   %foreign "browser:lambda:(x,a,b)=>x.getShaderParameter(a,b)"
2278 |   prim__getShaderParameter :
2279 |        WebGLRenderingContextBase
2280 |     -> WebGLShader
2281 |     -> Bits32
2282 |     -> PrimIO AnyPtr
2283 |
2284 |
2285 |   export
2286 |   %foreign "browser:lambda:(x,a,b)=>x.getShaderPrecisionFormat(a,b)"
2287 |   prim__getShaderPrecisionFormat :
2288 |        WebGLRenderingContextBase
2289 |     -> Bits32
2290 |     -> Bits32
2291 |     -> PrimIO (Nullable WebGLShaderPrecisionFormat)
2292 |
2293 |
2294 |   export
2295 |   %foreign "browser:lambda:(x,a)=>x.getShaderSource(a)"
2296 |   prim__getShaderSource :
2297 |        WebGLRenderingContextBase
2298 |     -> WebGLShader
2299 |     -> PrimIO (Nullable String)
2300 |
2301 |
2302 |   export
2303 |   %foreign "browser:lambda:x=>x.getSupportedExtensions()"
2304 |   prim__getSupportedExtensions :
2305 |        WebGLRenderingContextBase
2306 |     -> PrimIO (Nullable (Array String))
2307 |
2308 |
2309 |   export
2310 |   %foreign "browser:lambda:(x,a,b)=>x.getTexParameter(a,b)"
2311 |   prim__getTexParameter :
2312 |        WebGLRenderingContextBase
2313 |     -> Bits32
2314 |     -> Bits32
2315 |     -> PrimIO AnyPtr
2316 |
2317 |
2318 |   export
2319 |   %foreign "browser:lambda:(x,a,b)=>x.getUniformLocation(a,b)"
2320 |   prim__getUniformLocation :
2321 |        WebGLRenderingContextBase
2322 |     -> WebGLProgram
2323 |     -> String
2324 |     -> PrimIO (Nullable WebGLUniformLocation)
2325 |
2326 |
2327 |   export
2328 |   %foreign "browser:lambda:(x,a,b)=>x.getUniform(a,b)"
2329 |   prim__getUniform :
2330 |        WebGLRenderingContextBase
2331 |     -> WebGLProgram
2332 |     -> WebGLUniformLocation
2333 |     -> PrimIO AnyPtr
2334 |
2335 |
2336 |   export
2337 |   %foreign "browser:lambda:(x,a,b)=>x.getVertexAttribOffset(a,b)"
2338 |   prim__getVertexAttribOffset :
2339 |        WebGLRenderingContextBase
2340 |     -> Bits32
2341 |     -> Bits32
2342 |     -> PrimIO JSInt64
2343 |
2344 |
2345 |   export
2346 |   %foreign "browser:lambda:(x,a,b)=>x.getVertexAttrib(a,b)"
2347 |   prim__getVertexAttrib :
2348 |        WebGLRenderingContextBase
2349 |     -> Bits32
2350 |     -> Bits32
2351 |     -> PrimIO AnyPtr
2352 |
2353 |
2354 |   export
2355 |   %foreign "browser:lambda:(x,a,b)=>x.hint(a,b)"
2356 |   prim__hint : WebGLRenderingContextBase -> Bits32 -> Bits32 -> PrimIO ()
2357 |
2358 |
2359 |   export
2360 |   %foreign "browser:lambda:(x,a)=>x.isBuffer(a)"
2361 |   prim__isBuffer :
2362 |        WebGLRenderingContextBase
2363 |     -> Nullable WebGLBuffer
2364 |     -> PrimIO Boolean
2365 |
2366 |
2367 |   export
2368 |   %foreign "browser:lambda:x=>x.isContextLost()"
2369 |   prim__isContextLost : WebGLRenderingContextBase -> PrimIO Boolean
2370 |
2371 |
2372 |   export
2373 |   %foreign "browser:lambda:(x,a)=>x.isEnabled(a)"
2374 |   prim__isEnabled : WebGLRenderingContextBase -> Bits32 -> PrimIO Boolean
2375 |
2376 |
2377 |   export
2378 |   %foreign "browser:lambda:(x,a)=>x.isFramebuffer(a)"
2379 |   prim__isFramebuffer :
2380 |        WebGLRenderingContextBase
2381 |     -> Nullable WebGLFramebuffer
2382 |     -> PrimIO Boolean
2383 |
2384 |
2385 |   export
2386 |   %foreign "browser:lambda:(x,a)=>x.isProgram(a)"
2387 |   prim__isProgram :
2388 |        WebGLRenderingContextBase
2389 |     -> Nullable WebGLProgram
2390 |     -> PrimIO Boolean
2391 |
2392 |
2393 |   export
2394 |   %foreign "browser:lambda:(x,a)=>x.isRenderbuffer(a)"
2395 |   prim__isRenderbuffer :
2396 |        WebGLRenderingContextBase
2397 |     -> Nullable WebGLRenderbuffer
2398 |     -> PrimIO Boolean
2399 |
2400 |
2401 |   export
2402 |   %foreign "browser:lambda:(x,a)=>x.isShader(a)"
2403 |   prim__isShader :
2404 |        WebGLRenderingContextBase
2405 |     -> Nullable WebGLShader
2406 |     -> PrimIO Boolean
2407 |
2408 |
2409 |   export
2410 |   %foreign "browser:lambda:(x,a)=>x.isTexture(a)"
2411 |   prim__isTexture :
2412 |        WebGLRenderingContextBase
2413 |     -> Nullable WebGLTexture
2414 |     -> PrimIO Boolean
2415 |
2416 |
2417 |   export
2418 |   %foreign "browser:lambda:(x,a)=>x.lineWidth(a)"
2419 |   prim__lineWidth : WebGLRenderingContextBase -> Double -> PrimIO ()
2420 |
2421 |
2422 |   export
2423 |   %foreign "browser:lambda:(x,a)=>x.linkProgram(a)"
2424 |   prim__linkProgram : WebGLRenderingContextBase -> WebGLProgram -> PrimIO ()
2425 |
2426 |
2427 |   export
2428 |   %foreign "browser:lambda:(x,a,b)=>x.pixelStorei(a,b)"
2429 |   prim__pixelStorei : WebGLRenderingContextBase -> Bits32 -> Int32 -> PrimIO ()
2430 |
2431 |
2432 |   export
2433 |   %foreign "browser:lambda:(x,a,b)=>x.polygonOffset(a,b)"
2434 |   prim__polygonOffset :
2435 |        WebGLRenderingContextBase
2436 |     -> Double
2437 |     -> Double
2438 |     -> PrimIO ()
2439 |
2440 |
2441 |   export
2442 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.renderbufferStorage(a,b,c,d)"
2443 |   prim__renderbufferStorage :
2444 |        WebGLRenderingContextBase
2445 |     -> Bits32
2446 |     -> Bits32
2447 |     -> Int32
2448 |     -> Int32
2449 |     -> PrimIO ()
2450 |
2451 |
2452 |   export
2453 |   %foreign "browser:lambda:(x,a,b)=>x.sampleCoverage(a,b)"
2454 |   prim__sampleCoverage :
2455 |        WebGLRenderingContextBase
2456 |     -> Double
2457 |     -> Boolean
2458 |     -> PrimIO ()
2459 |
2460 |
2461 |   export
2462 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.scissor(a,b,c,d)"
2463 |   prim__scissor :
2464 |        WebGLRenderingContextBase
2465 |     -> Int32
2466 |     -> Int32
2467 |     -> Int32
2468 |     -> Int32
2469 |     -> PrimIO ()
2470 |
2471 |
2472 |   export
2473 |   %foreign "browser:lambda:(x,a,b)=>x.shaderSource(a,b)"
2474 |   prim__shaderSource :
2475 |        WebGLRenderingContextBase
2476 |     -> WebGLShader
2477 |     -> String
2478 |     -> PrimIO ()
2479 |
2480 |
2481 |   export
2482 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.stencilFuncSeparate(a,b,c,d)"
2483 |   prim__stencilFuncSeparate :
2484 |        WebGLRenderingContextBase
2485 |     -> Bits32
2486 |     -> Bits32
2487 |     -> Int32
2488 |     -> Bits32
2489 |     -> PrimIO ()
2490 |
2491 |
2492 |   export
2493 |   %foreign "browser:lambda:(x,a,b,c)=>x.stencilFunc(a,b,c)"
2494 |   prim__stencilFunc :
2495 |        WebGLRenderingContextBase
2496 |     -> Bits32
2497 |     -> Int32
2498 |     -> Bits32
2499 |     -> PrimIO ()
2500 |
2501 |
2502 |   export
2503 |   %foreign "browser:lambda:(x,a,b)=>x.stencilMaskSeparate(a,b)"
2504 |   prim__stencilMaskSeparate :
2505 |        WebGLRenderingContextBase
2506 |     -> Bits32
2507 |     -> Bits32
2508 |     -> PrimIO ()
2509 |
2510 |
2511 |   export
2512 |   %foreign "browser:lambda:(x,a)=>x.stencilMask(a)"
2513 |   prim__stencilMask : WebGLRenderingContextBase -> Bits32 -> PrimIO ()
2514 |
2515 |
2516 |   export
2517 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.stencilOpSeparate(a,b,c,d)"
2518 |   prim__stencilOpSeparate :
2519 |        WebGLRenderingContextBase
2520 |     -> Bits32
2521 |     -> Bits32
2522 |     -> Bits32
2523 |     -> Bits32
2524 |     -> PrimIO ()
2525 |
2526 |
2527 |   export
2528 |   %foreign "browser:lambda:(x,a,b,c)=>x.stencilOp(a,b,c)"
2529 |   prim__stencilOp :
2530 |        WebGLRenderingContextBase
2531 |     -> Bits32
2532 |     -> Bits32
2533 |     -> Bits32
2534 |     -> PrimIO ()
2535 |
2536 |
2537 |   export
2538 |   %foreign "browser:lambda:(x,a,b,c)=>x.texParameterf(a,b,c)"
2539 |   prim__texParameterf :
2540 |        WebGLRenderingContextBase
2541 |     -> Bits32
2542 |     -> Bits32
2543 |     -> Double
2544 |     -> PrimIO ()
2545 |
2546 |
2547 |   export
2548 |   %foreign "browser:lambda:(x,a,b,c)=>x.texParameteri(a,b,c)"
2549 |   prim__texParameteri :
2550 |        WebGLRenderingContextBase
2551 |     -> Bits32
2552 |     -> Bits32
2553 |     -> Int32
2554 |     -> PrimIO ()
2555 |
2556 |
2557 |   export
2558 |   %foreign "browser:lambda:(x,a,b)=>x.uniform1f(a,b)"
2559 |   prim__uniform1f :
2560 |        WebGLRenderingContextBase
2561 |     -> Nullable WebGLUniformLocation
2562 |     -> Double
2563 |     -> PrimIO ()
2564 |
2565 |
2566 |   export
2567 |   %foreign "browser:lambda:(x,a,b)=>x.uniform1i(a,b)"
2568 |   prim__uniform1i :
2569 |        WebGLRenderingContextBase
2570 |     -> Nullable WebGLUniformLocation
2571 |     -> Int32
2572 |     -> PrimIO ()
2573 |
2574 |
2575 |   export
2576 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniform2f(a,b,c)"
2577 |   prim__uniform2f :
2578 |        WebGLRenderingContextBase
2579 |     -> Nullable WebGLUniformLocation
2580 |     -> Double
2581 |     -> Double
2582 |     -> PrimIO ()
2583 |
2584 |
2585 |   export
2586 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniform2i(a,b,c)"
2587 |   prim__uniform2i :
2588 |        WebGLRenderingContextBase
2589 |     -> Nullable WebGLUniformLocation
2590 |     -> Int32
2591 |     -> Int32
2592 |     -> PrimIO ()
2593 |
2594 |
2595 |   export
2596 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3f(a,b,c,d)"
2597 |   prim__uniform3f :
2598 |        WebGLRenderingContextBase
2599 |     -> Nullable WebGLUniformLocation
2600 |     -> Double
2601 |     -> Double
2602 |     -> Double
2603 |     -> PrimIO ()
2604 |
2605 |
2606 |   export
2607 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.uniform3i(a,b,c,d)"
2608 |   prim__uniform3i :
2609 |        WebGLRenderingContextBase
2610 |     -> Nullable WebGLUniformLocation
2611 |     -> Int32
2612 |     -> Int32
2613 |     -> Int32
2614 |     -> PrimIO ()
2615 |
2616 |
2617 |   export
2618 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniform4f(a,b,c,d,e)"
2619 |   prim__uniform4f :
2620 |        WebGLRenderingContextBase
2621 |     -> Nullable WebGLUniformLocation
2622 |     -> Double
2623 |     -> Double
2624 |     -> Double
2625 |     -> Double
2626 |     -> PrimIO ()
2627 |
2628 |
2629 |   export
2630 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.uniform4i(a,b,c,d,e)"
2631 |   prim__uniform4i :
2632 |        WebGLRenderingContextBase
2633 |     -> Nullable WebGLUniformLocation
2634 |     -> Int32
2635 |     -> Int32
2636 |     -> Int32
2637 |     -> Int32
2638 |     -> PrimIO ()
2639 |
2640 |
2641 |   export
2642 |   %foreign "browser:lambda:(x,a)=>x.useProgram(a)"
2643 |   prim__useProgram :
2644 |        WebGLRenderingContextBase
2645 |     -> Nullable WebGLProgram
2646 |     -> PrimIO ()
2647 |
2648 |
2649 |   export
2650 |   %foreign "browser:lambda:(x,a)=>x.validateProgram(a)"
2651 |   prim__validateProgram : WebGLRenderingContextBase -> WebGLProgram -> PrimIO ()
2652 |
2653 |
2654 |   export
2655 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttrib1f(a,b)"
2656 |   prim__vertexAttrib1f :
2657 |        WebGLRenderingContextBase
2658 |     -> Bits32
2659 |     -> Double
2660 |     -> PrimIO ()
2661 |
2662 |
2663 |   export
2664 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttrib1fv(a,b)"
2665 |   prim__vertexAttrib1fv :
2666 |        WebGLRenderingContextBase
2667 |     -> Bits32
2668 |     -> Union2 Float32Array (Array Double)
2669 |     -> PrimIO ()
2670 |
2671 |
2672 |   export
2673 |   %foreign "browser:lambda:(x,a,b,c)=>x.vertexAttrib2f(a,b,c)"
2674 |   prim__vertexAttrib2f :
2675 |        WebGLRenderingContextBase
2676 |     -> Bits32
2677 |     -> Double
2678 |     -> Double
2679 |     -> PrimIO ()
2680 |
2681 |
2682 |   export
2683 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttrib2fv(a,b)"
2684 |   prim__vertexAttrib2fv :
2685 |        WebGLRenderingContextBase
2686 |     -> Bits32
2687 |     -> Union2 Float32Array (Array Double)
2688 |     -> PrimIO ()
2689 |
2690 |
2691 |   export
2692 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.vertexAttrib3f(a,b,c,d)"
2693 |   prim__vertexAttrib3f :
2694 |        WebGLRenderingContextBase
2695 |     -> Bits32
2696 |     -> Double
2697 |     -> Double
2698 |     -> Double
2699 |     -> PrimIO ()
2700 |
2701 |
2702 |   export
2703 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttrib3fv(a,b)"
2704 |   prim__vertexAttrib3fv :
2705 |        WebGLRenderingContextBase
2706 |     -> Bits32
2707 |     -> Union2 Float32Array (Array Double)
2708 |     -> PrimIO ()
2709 |
2710 |
2711 |   export
2712 |   %foreign "browser:lambda:(x,a,b,c,d,e)=>x.vertexAttrib4f(a,b,c,d,e)"
2713 |   prim__vertexAttrib4f :
2714 |        WebGLRenderingContextBase
2715 |     -> Bits32
2716 |     -> Double
2717 |     -> Double
2718 |     -> Double
2719 |     -> Double
2720 |     -> PrimIO ()
2721 |
2722 |
2723 |   export
2724 |   %foreign "browser:lambda:(x,a,b)=>x.vertexAttrib4fv(a,b)"
2725 |   prim__vertexAttrib4fv :
2726 |        WebGLRenderingContextBase
2727 |     -> Bits32
2728 |     -> Union2 Float32Array (Array Double)
2729 |     -> PrimIO ()
2730 |
2731 |
2732 |   export
2733 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.vertexAttribPointer(a,b,c,d,e,f)"
2734 |   prim__vertexAttribPointer :
2735 |        WebGLRenderingContextBase
2736 |     -> Bits32
2737 |     -> Int32
2738 |     -> Bits32
2739 |     -> Boolean
2740 |     -> Int32
2741 |     -> JSInt64
2742 |     -> PrimIO ()
2743 |
2744 |
2745 |   export
2746 |   %foreign "browser:lambda:(x,a,b,c,d)=>x.viewport(a,b,c,d)"
2747 |   prim__viewport :
2748 |        WebGLRenderingContextBase
2749 |     -> Int32
2750 |     -> Int32
2751 |     -> Int32
2752 |     -> Int32
2753 |     -> PrimIO ()
2754 |
2755 |
2756 |
2757 | namespace WebGLRenderingContextOverloads
2758 |
2759 |   export
2760 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferData(a,b,c)"
2761 |   prim__bufferData :
2762 |        WebGLRenderingContextOverloads
2763 |     -> Bits32
2764 |     -> JSInt64
2765 |     -> Bits32
2766 |     -> PrimIO ()
2767 |
2768 |
2769 |   export
2770 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferData(a,b,c)"
2771 |   prim__bufferData1 :
2772 |        WebGLRenderingContextOverloads
2773 |     -> Bits32
2774 |     -> Nullable
2775 |          (Union11
2776 |             Int8Array
2777 |             Int16Array
2778 |             Int32Array
2779 |             UInt8Array
2780 |             UInt8Array
2781 |             UInt8Array
2782 |             UInt8ClampedArray
2783 |             Float32Array
2784 |             Float64Array
2785 |             DataView
2786 |             ArrayBuffer)
2787 |     -> Bits32
2788 |     -> PrimIO ()
2789 |
2790 |
2791 |   export
2792 |   %foreign "browser:lambda:(x,a,b,c)=>x.bufferSubData(a,b,c)"
2793 |   prim__bufferSubData :
2794 |        WebGLRenderingContextOverloads
2795 |     -> Bits32
2796 |     -> JSInt64
2797 |     -> Union11
2798 |          Int8Array
2799 |          Int16Array
2800 |          Int32Array
2801 |          UInt8Array
2802 |          UInt8Array
2803 |          UInt8Array
2804 |          UInt8ClampedArray
2805 |          Float32Array
2806 |          Float64Array
2807 |          DataView
2808 |          ArrayBuffer
2809 |     -> PrimIO ()
2810 |
2811 |
2812 |   export
2813 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.compressedTexImage2D(a,b,c,d,e,f,g)"
2814 |   prim__compressedTexImage2D :
2815 |        WebGLRenderingContextOverloads
2816 |     -> Bits32
2817 |     -> Int32
2818 |     -> Bits32
2819 |     -> Int32
2820 |     -> Int32
2821 |     -> Int32
2822 |     -> Union10
2823 |          Int8Array
2824 |          Int16Array
2825 |          Int32Array
2826 |          UInt8Array
2827 |          UInt8Array
2828 |          UInt8Array
2829 |          UInt8ClampedArray
2830 |          Float32Array
2831 |          Float64Array
2832 |          DataView
2833 |     -> PrimIO ()
2834 |
2835 |
2836 |   export
2837 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h)=>x.compressedTexSubImage2D(a,b,c,d,e,f,g,h)"
2838 |   prim__compressedTexSubImage2D :
2839 |        WebGLRenderingContextOverloads
2840 |     -> Bits32
2841 |     -> Int32
2842 |     -> Int32
2843 |     -> Int32
2844 |     -> Int32
2845 |     -> Int32
2846 |     -> Bits32
2847 |     -> Union10
2848 |          Int8Array
2849 |          Int16Array
2850 |          Int32Array
2851 |          UInt8Array
2852 |          UInt8Array
2853 |          UInt8Array
2854 |          UInt8ClampedArray
2855 |          Float32Array
2856 |          Float64Array
2857 |          DataView
2858 |     -> PrimIO ()
2859 |
2860 |
2861 |   export
2862 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.readPixels(a,b,c,d,e,f,g)"
2863 |   prim__readPixels :
2864 |        WebGLRenderingContextOverloads
2865 |     -> Int32
2866 |     -> Int32
2867 |     -> Int32
2868 |     -> Int32
2869 |     -> Bits32
2870 |     -> Bits32
2871 |     -> Nullable
2872 |          (Union10
2873 |             Int8Array
2874 |             Int16Array
2875 |             Int32Array
2876 |             UInt8Array
2877 |             UInt8Array
2878 |             UInt8Array
2879 |             UInt8ClampedArray
2880 |             Float32Array
2881 |             Float64Array
2882 |             DataView)
2883 |     -> PrimIO ()
2884 |
2885 |
2886 |   export
2887 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texImage2D(a,b,c,d,e,f,g,h,i)"
2888 |   prim__texImage2D :
2889 |        WebGLRenderingContextOverloads
2890 |     -> Bits32
2891 |     -> Int32
2892 |     -> Int32
2893 |     -> Int32
2894 |     -> Int32
2895 |     -> Int32
2896 |     -> Bits32
2897 |     -> Bits32
2898 |     -> Nullable
2899 |          (Union10
2900 |             Int8Array
2901 |             Int16Array
2902 |             Int32Array
2903 |             UInt8Array
2904 |             UInt8Array
2905 |             UInt8Array
2906 |             UInt8ClampedArray
2907 |             Float32Array
2908 |             Float64Array
2909 |             DataView)
2910 |     -> PrimIO ()
2911 |
2912 |
2913 |   export
2914 |   %foreign "browser:lambda:(x,a,b,c,d,e,f)=>x.texImage2D(a,b,c,d,e,f)"
2915 |   prim__texImage2D1 :
2916 |        WebGLRenderingContextOverloads
2917 |     -> Bits32
2918 |     -> Int32
2919 |     -> Int32
2920 |     -> Bits32
2921 |     -> Bits32
2922 |     -> Union6
2923 |          ImageBitmap
2924 |          ImageData
2925 |          HTMLImageElement
2926 |          HTMLCanvasElement
2927 |          HTMLVideoElement
2928 |          OffscreenCanvas
2929 |     -> PrimIO ()
2930 |
2931 |
2932 |   export
2933 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g,h,i)=>x.texSubImage2D(a,b,c,d,e,f,g,h,i)"
2934 |   prim__texSubImage2D :
2935 |        WebGLRenderingContextOverloads
2936 |     -> Bits32
2937 |     -> Int32
2938 |     -> Int32
2939 |     -> Int32
2940 |     -> Int32
2941 |     -> Int32
2942 |     -> Bits32
2943 |     -> Bits32
2944 |     -> Nullable
2945 |          (Union10
2946 |             Int8Array
2947 |             Int16Array
2948 |             Int32Array
2949 |             UInt8Array
2950 |             UInt8Array
2951 |             UInt8Array
2952 |             UInt8ClampedArray
2953 |             Float32Array
2954 |             Float64Array
2955 |             DataView)
2956 |     -> PrimIO ()
2957 |
2958 |
2959 |   export
2960 |   %foreign "browser:lambda:(x,a,b,c,d,e,f,g)=>x.texSubImage2D(a,b,c,d,e,f,g)"
2961 |   prim__texSubImage2D1 :
2962 |        WebGLRenderingContextOverloads
2963 |     -> Bits32
2964 |     -> Int32
2965 |     -> Int32
2966 |     -> Int32
2967 |     -> Bits32
2968 |     -> Bits32
2969 |     -> Union6
2970 |          ImageBitmap
2971 |          ImageData
2972 |          HTMLImageElement
2973 |          HTMLCanvasElement
2974 |          HTMLVideoElement
2975 |          OffscreenCanvas
2976 |     -> PrimIO ()
2977 |
2978 |
2979 |   export
2980 |   %foreign "browser:lambda:(x,a,b)=>x.uniform1fv(a,b)"
2981 |   prim__uniform1fv :
2982 |        WebGLRenderingContextOverloads
2983 |     -> Nullable WebGLUniformLocation
2984 |     -> Union2 Float32Array (Array Double)
2985 |     -> PrimIO ()
2986 |
2987 |
2988 |   export
2989 |   %foreign "browser:lambda:(x,a,b)=>x.uniform1iv(a,b)"
2990 |   prim__uniform1iv :
2991 |        WebGLRenderingContextOverloads
2992 |     -> Nullable WebGLUniformLocation
2993 |     -> Union2 Int32Array (Array Int32)
2994 |     -> PrimIO ()
2995 |
2996 |
2997 |   export
2998 |   %foreign "browser:lambda:(x,a,b)=>x.uniform2fv(a,b)"
2999 |   prim__uniform2fv :
3000 |        WebGLRenderingContextOverloads
3001 |     -> Nullable WebGLUniformLocation
3002 |     -> Union2 Float32Array (Array Double)
3003 |     -> PrimIO ()
3004 |
3005 |
3006 |   export
3007 |   %foreign "browser:lambda:(x,a,b)=>x.uniform2iv(a,b)"
3008 |   prim__uniform2iv :
3009 |        WebGLRenderingContextOverloads
3010 |     -> Nullable WebGLUniformLocation
3011 |     -> Union2 Int32Array (Array Int32)
3012 |     -> PrimIO ()
3013 |
3014 |
3015 |   export
3016 |   %foreign "browser:lambda:(x,a,b)=>x.uniform3fv(a,b)"
3017 |   prim__uniform3fv :
3018 |        WebGLRenderingContextOverloads
3019 |     -> Nullable WebGLUniformLocation
3020 |     -> Union2 Float32Array (Array Double)
3021 |     -> PrimIO ()
3022 |
3023 |
3024 |   export
3025 |   %foreign "browser:lambda:(x,a,b)=>x.uniform3iv(a,b)"
3026 |   prim__uniform3iv :
3027 |        WebGLRenderingContextOverloads
3028 |     -> Nullable WebGLUniformLocation
3029 |     -> Union2 Int32Array (Array Int32)
3030 |     -> PrimIO ()
3031 |
3032 |
3033 |   export
3034 |   %foreign "browser:lambda:(x,a,b)=>x.uniform4fv(a,b)"
3035 |   prim__uniform4fv :
3036 |        WebGLRenderingContextOverloads
3037 |     -> Nullable WebGLUniformLocation
3038 |     -> Union2 Float32Array (Array Double)
3039 |     -> PrimIO ()
3040 |
3041 |
3042 |   export
3043 |   %foreign "browser:lambda:(x,a,b)=>x.uniform4iv(a,b)"
3044 |   prim__uniform4iv :
3045 |        WebGLRenderingContextOverloads
3046 |     -> Nullable WebGLUniformLocation
3047 |     -> Union2 Int32Array (Array Int32)
3048 |     -> PrimIO ()
3049 |
3050 |
3051 |   export
3052 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniformMatrix2fv(a,b,c)"
3053 |   prim__uniformMatrix2fv :
3054 |        WebGLRenderingContextOverloads
3055 |     -> Nullable WebGLUniformLocation
3056 |     -> Boolean
3057 |     -> Union2 Float32Array (Array Double)
3058 |     -> PrimIO ()
3059 |
3060 |
3061 |   export
3062 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniformMatrix3fv(a,b,c)"
3063 |   prim__uniformMatrix3fv :
3064 |        WebGLRenderingContextOverloads
3065 |     -> Nullable WebGLUniformLocation
3066 |     -> Boolean
3067 |     -> Union2 Float32Array (Array Double)
3068 |     -> PrimIO ()
3069 |
3070 |
3071 |   export
3072 |   %foreign "browser:lambda:(x,a,b,c)=>x.uniformMatrix4fv(a,b,c)"
3073 |   prim__uniformMatrix4fv :
3074 |        WebGLRenderingContextOverloads
3075 |     -> Nullable WebGLUniformLocation
3076 |     -> Boolean
3077 |     -> Union2 Float32Array (Array Double)
3078 |     -> PrimIO ()
3079 |
3080 |
3081 |
3082 |
3083 | --------------------------------------------------------------------------------
3084 | --          Dictionaries
3085 | --------------------------------------------------------------------------------
3086 |
3087 | namespace WebGLContextAttributes
3088 |
3089 |   export
3090 |   %foreign "browser:lambda:(a,b,c,d,e,f,g,h,i)=> ({alpha: a,depth: b,stencil: c,antialias: d,premultipliedAlpha: e,preserveDrawingBuffer: f,powerPreference: g,failIfMajorPerformanceCaveat: h,desynchronized: i})"
3091 |   prim__new :
3092 |        UndefOr Boolean
3093 |     -> UndefOr Boolean
3094 |     -> UndefOr Boolean
3095 |     -> UndefOr Boolean
3096 |     -> UndefOr Boolean
3097 |     -> UndefOr Boolean
3098 |     -> UndefOr String
3099 |     -> UndefOr Boolean
3100 |     -> UndefOr Boolean
3101 |     -> PrimIO WebGLContextAttributes
3102 |
3103 |
3104 |   export
3105 |   %foreign "browser:lambda:x=>x.alpha"
3106 |   prim__alpha : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3107 |
3108 |
3109 |
3110 |   export
3111 |   %foreign "browser:lambda:(x,v)=>{x.alpha = v}"
3112 |   prim__setAlpha : WebGLContextAttributes -> UndefOr Boolean -> PrimIO ()
3113 |
3114 |
3115 |
3116 |   export
3117 |   %foreign "browser:lambda:x=>x.antialias"
3118 |   prim__antialias : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3119 |
3120 |
3121 |
3122 |   export
3123 |   %foreign "browser:lambda:(x,v)=>{x.antialias = v}"
3124 |   prim__setAntialias : WebGLContextAttributes -> UndefOr Boolean -> PrimIO ()
3125 |
3126 |
3127 |
3128 |   export
3129 |   %foreign "browser:lambda:x=>x.depth"
3130 |   prim__depth : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3131 |
3132 |
3133 |
3134 |   export
3135 |   %foreign "browser:lambda:(x,v)=>{x.depth = v}"
3136 |   prim__setDepth : WebGLContextAttributes -> UndefOr Boolean -> PrimIO ()
3137 |
3138 |
3139 |
3140 |   export
3141 |   %foreign "browser:lambda:x=>x.desynchronized"
3142 |   prim__desynchronized : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3143 |
3144 |
3145 |
3146 |   export
3147 |   %foreign "browser:lambda:(x,v)=>{x.desynchronized = v}"
3148 |   prim__setDesynchronized :
3149 |        WebGLContextAttributes
3150 |     -> UndefOr Boolean
3151 |     -> PrimIO ()
3152 |
3153 |
3154 |
3155 |   export
3156 |   %foreign "browser:lambda:x=>x.failIfMajorPerformanceCaveat"
3157 |   prim__failIfMajorPerformanceCaveat :
3158 |        WebGLContextAttributes
3159 |     -> PrimIO (UndefOr Boolean)
3160 |
3161 |
3162 |
3163 |   export
3164 |   %foreign "browser:lambda:(x,v)=>{x.failIfMajorPerformanceCaveat = v}"
3165 |   prim__setFailIfMajorPerformanceCaveat :
3166 |        WebGLContextAttributes
3167 |     -> UndefOr Boolean
3168 |     -> PrimIO ()
3169 |
3170 |
3171 |
3172 |   export
3173 |   %foreign "browser:lambda:x=>x.powerPreference"
3174 |   prim__powerPreference : WebGLContextAttributes -> PrimIO (UndefOr String)
3175 |
3176 |
3177 |
3178 |   export
3179 |   %foreign "browser:lambda:(x,v)=>{x.powerPreference = v}"
3180 |   prim__setPowerPreference :
3181 |        WebGLContextAttributes
3182 |     -> UndefOr String
3183 |     -> PrimIO ()
3184 |
3185 |
3186 |
3187 |   export
3188 |   %foreign "browser:lambda:x=>x.premultipliedAlpha"
3189 |   prim__premultipliedAlpha : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3190 |
3191 |
3192 |
3193 |   export
3194 |   %foreign "browser:lambda:(x,v)=>{x.premultipliedAlpha = v}"
3195 |   prim__setPremultipliedAlpha :
3196 |        WebGLContextAttributes
3197 |     -> UndefOr Boolean
3198 |     -> PrimIO ()
3199 |
3200 |
3201 |
3202 |   export
3203 |   %foreign "browser:lambda:x=>x.preserveDrawingBuffer"
3204 |   prim__preserveDrawingBuffer :
3205 |        WebGLContextAttributes
3206 |     -> PrimIO (UndefOr Boolean)
3207 |
3208 |
3209 |
3210 |   export
3211 |   %foreign "browser:lambda:(x,v)=>{x.preserveDrawingBuffer = v}"
3212 |   prim__setPreserveDrawingBuffer :
3213 |        WebGLContextAttributes
3214 |     -> UndefOr Boolean
3215 |     -> PrimIO ()
3216 |
3217 |
3218 |
3219 |   export
3220 |   %foreign "browser:lambda:x=>x.stencil"
3221 |   prim__stencil : WebGLContextAttributes -> PrimIO (UndefOr Boolean)
3222 |
3223 |
3224 |
3225 |   export
3226 |   %foreign "browser:lambda:(x,v)=>{x.stencil = v}"
3227 |   prim__setStencil : WebGLContextAttributes -> UndefOr Boolean -> PrimIO ()
3228 |