github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import17_wasm.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright 2023 The Prime Citizens 3 4 //go:build wasm 5 6 package bindings 7 8 import ( 9 "unsafe" 10 11 "github.com/primecitizens/pcz/std/ffi/js" 12 ) 13 14 type ( 15 _ unsafe.Pointer 16 _ js.Ref 17 ) 18 19 //go:wasmimport plat/js/web get_GPURenderPassEncoder_Label 20 //go:noescape 21 func GetGPURenderPassEncoderLabel( 22 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 23 24 //go:wasmimport plat/js/web set_GPURenderPassEncoder_Label 25 //go:noescape 26 func SetGPURenderPassEncoderLabel( 27 this js.Ref, 28 val js.Ref, 29 ) js.Ref 30 31 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetViewport 32 //go:noescape 33 func HasFuncGPURenderPassEncoderSetViewport(this js.Ref) js.Ref 34 35 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetViewport 36 //go:noescape 37 func FuncGPURenderPassEncoderSetViewport(this js.Ref, fn unsafe.Pointer) 38 39 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetViewport 40 //go:noescape 41 func CallGPURenderPassEncoderSetViewport( 42 this js.Ref, retPtr unsafe.Pointer, 43 x float32, 44 y float32, 45 width float32, 46 height float32, 47 minDepth float32, 48 maxDepth float32) 49 50 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetViewport 51 //go:noescape 52 func TryGPURenderPassEncoderSetViewport( 53 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 54 x float32, 55 y float32, 56 width float32, 57 height float32, 58 minDepth float32, 59 maxDepth float32) (ok js.Ref) 60 61 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetScissorRect 62 //go:noescape 63 func HasFuncGPURenderPassEncoderSetScissorRect(this js.Ref) js.Ref 64 65 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetScissorRect 66 //go:noescape 67 func FuncGPURenderPassEncoderSetScissorRect(this js.Ref, fn unsafe.Pointer) 68 69 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetScissorRect 70 //go:noescape 71 func CallGPURenderPassEncoderSetScissorRect( 72 this js.Ref, retPtr unsafe.Pointer, 73 x uint32, 74 y uint32, 75 width uint32, 76 height uint32) 77 78 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetScissorRect 79 //go:noescape 80 func TryGPURenderPassEncoderSetScissorRect( 81 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 82 x uint32, 83 y uint32, 84 width uint32, 85 height uint32) (ok js.Ref) 86 87 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetBlendConstant 88 //go:noescape 89 func HasFuncGPURenderPassEncoderSetBlendConstant(this js.Ref) js.Ref 90 91 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetBlendConstant 92 //go:noescape 93 func FuncGPURenderPassEncoderSetBlendConstant(this js.Ref, fn unsafe.Pointer) 94 95 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetBlendConstant 96 //go:noescape 97 func CallGPURenderPassEncoderSetBlendConstant( 98 this js.Ref, retPtr unsafe.Pointer, 99 color js.Ref) 100 101 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetBlendConstant 102 //go:noescape 103 func TryGPURenderPassEncoderSetBlendConstant( 104 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 105 color js.Ref) (ok js.Ref) 106 107 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetStencilReference 108 //go:noescape 109 func HasFuncGPURenderPassEncoderSetStencilReference(this js.Ref) js.Ref 110 111 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetStencilReference 112 //go:noescape 113 func FuncGPURenderPassEncoderSetStencilReference(this js.Ref, fn unsafe.Pointer) 114 115 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetStencilReference 116 //go:noescape 117 func CallGPURenderPassEncoderSetStencilReference( 118 this js.Ref, retPtr unsafe.Pointer, 119 reference uint32) 120 121 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetStencilReference 122 //go:noescape 123 func TryGPURenderPassEncoderSetStencilReference( 124 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 125 reference uint32) (ok js.Ref) 126 127 //go:wasmimport plat/js/web has_GPURenderPassEncoder_BeginOcclusionQuery 128 //go:noescape 129 func HasFuncGPURenderPassEncoderBeginOcclusionQuery(this js.Ref) js.Ref 130 131 //go:wasmimport plat/js/web func_GPURenderPassEncoder_BeginOcclusionQuery 132 //go:noescape 133 func FuncGPURenderPassEncoderBeginOcclusionQuery(this js.Ref, fn unsafe.Pointer) 134 135 //go:wasmimport plat/js/web call_GPURenderPassEncoder_BeginOcclusionQuery 136 //go:noescape 137 func CallGPURenderPassEncoderBeginOcclusionQuery( 138 this js.Ref, retPtr unsafe.Pointer, 139 queryIndex uint32) 140 141 //go:wasmimport plat/js/web try_GPURenderPassEncoder_BeginOcclusionQuery 142 //go:noescape 143 func TryGPURenderPassEncoderBeginOcclusionQuery( 144 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 145 queryIndex uint32) (ok js.Ref) 146 147 //go:wasmimport plat/js/web has_GPURenderPassEncoder_EndOcclusionQuery 148 //go:noescape 149 func HasFuncGPURenderPassEncoderEndOcclusionQuery(this js.Ref) js.Ref 150 151 //go:wasmimport plat/js/web func_GPURenderPassEncoder_EndOcclusionQuery 152 //go:noescape 153 func FuncGPURenderPassEncoderEndOcclusionQuery(this js.Ref, fn unsafe.Pointer) 154 155 //go:wasmimport plat/js/web call_GPURenderPassEncoder_EndOcclusionQuery 156 //go:noescape 157 func CallGPURenderPassEncoderEndOcclusionQuery( 158 this js.Ref, retPtr unsafe.Pointer) 159 160 //go:wasmimport plat/js/web try_GPURenderPassEncoder_EndOcclusionQuery 161 //go:noescape 162 func TryGPURenderPassEncoderEndOcclusionQuery( 163 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 164 165 //go:wasmimport plat/js/web has_GPURenderPassEncoder_ExecuteBundles 166 //go:noescape 167 func HasFuncGPURenderPassEncoderExecuteBundles(this js.Ref) js.Ref 168 169 //go:wasmimport plat/js/web func_GPURenderPassEncoder_ExecuteBundles 170 //go:noescape 171 func FuncGPURenderPassEncoderExecuteBundles(this js.Ref, fn unsafe.Pointer) 172 173 //go:wasmimport plat/js/web call_GPURenderPassEncoder_ExecuteBundles 174 //go:noescape 175 func CallGPURenderPassEncoderExecuteBundles( 176 this js.Ref, retPtr unsafe.Pointer, 177 bundles js.Ref) 178 179 //go:wasmimport plat/js/web try_GPURenderPassEncoder_ExecuteBundles 180 //go:noescape 181 func TryGPURenderPassEncoderExecuteBundles( 182 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 183 bundles js.Ref) (ok js.Ref) 184 185 //go:wasmimport plat/js/web has_GPURenderPassEncoder_End 186 //go:noescape 187 func HasFuncGPURenderPassEncoderEnd(this js.Ref) js.Ref 188 189 //go:wasmimport plat/js/web func_GPURenderPassEncoder_End 190 //go:noescape 191 func FuncGPURenderPassEncoderEnd(this js.Ref, fn unsafe.Pointer) 192 193 //go:wasmimport plat/js/web call_GPURenderPassEncoder_End 194 //go:noescape 195 func CallGPURenderPassEncoderEnd( 196 this js.Ref, retPtr unsafe.Pointer) 197 198 //go:wasmimport plat/js/web try_GPURenderPassEncoder_End 199 //go:noescape 200 func TryGPURenderPassEncoderEnd( 201 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 202 203 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetPipeline 204 //go:noescape 205 func HasFuncGPURenderPassEncoderSetPipeline(this js.Ref) js.Ref 206 207 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetPipeline 208 //go:noescape 209 func FuncGPURenderPassEncoderSetPipeline(this js.Ref, fn unsafe.Pointer) 210 211 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetPipeline 212 //go:noescape 213 func CallGPURenderPassEncoderSetPipeline( 214 this js.Ref, retPtr unsafe.Pointer, 215 pipeline js.Ref) 216 217 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetPipeline 218 //go:noescape 219 func TryGPURenderPassEncoderSetPipeline( 220 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 221 pipeline js.Ref) (ok js.Ref) 222 223 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetIndexBuffer 224 //go:noescape 225 func HasFuncGPURenderPassEncoderSetIndexBuffer(this js.Ref) js.Ref 226 227 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetIndexBuffer 228 //go:noescape 229 func FuncGPURenderPassEncoderSetIndexBuffer(this js.Ref, fn unsafe.Pointer) 230 231 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetIndexBuffer 232 //go:noescape 233 func CallGPURenderPassEncoderSetIndexBuffer( 234 this js.Ref, retPtr unsafe.Pointer, 235 buffer js.Ref, 236 indexFormat uint32, 237 offset float64, 238 size float64) 239 240 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetIndexBuffer 241 //go:noescape 242 func TryGPURenderPassEncoderSetIndexBuffer( 243 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 244 buffer js.Ref, 245 indexFormat uint32, 246 offset float64, 247 size float64) (ok js.Ref) 248 249 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetIndexBuffer1 250 //go:noescape 251 func HasFuncGPURenderPassEncoderSetIndexBuffer1(this js.Ref) js.Ref 252 253 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetIndexBuffer1 254 //go:noescape 255 func FuncGPURenderPassEncoderSetIndexBuffer1(this js.Ref, fn unsafe.Pointer) 256 257 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetIndexBuffer1 258 //go:noescape 259 func CallGPURenderPassEncoderSetIndexBuffer1( 260 this js.Ref, retPtr unsafe.Pointer, 261 buffer js.Ref, 262 indexFormat uint32, 263 offset float64) 264 265 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetIndexBuffer1 266 //go:noescape 267 func TryGPURenderPassEncoderSetIndexBuffer1( 268 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 269 buffer js.Ref, 270 indexFormat uint32, 271 offset float64) (ok js.Ref) 272 273 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetIndexBuffer2 274 //go:noescape 275 func HasFuncGPURenderPassEncoderSetIndexBuffer2(this js.Ref) js.Ref 276 277 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetIndexBuffer2 278 //go:noescape 279 func FuncGPURenderPassEncoderSetIndexBuffer2(this js.Ref, fn unsafe.Pointer) 280 281 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetIndexBuffer2 282 //go:noescape 283 func CallGPURenderPassEncoderSetIndexBuffer2( 284 this js.Ref, retPtr unsafe.Pointer, 285 buffer js.Ref, 286 indexFormat uint32) 287 288 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetIndexBuffer2 289 //go:noescape 290 func TryGPURenderPassEncoderSetIndexBuffer2( 291 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 292 buffer js.Ref, 293 indexFormat uint32) (ok js.Ref) 294 295 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetVertexBuffer 296 //go:noescape 297 func HasFuncGPURenderPassEncoderSetVertexBuffer(this js.Ref) js.Ref 298 299 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetVertexBuffer 300 //go:noescape 301 func FuncGPURenderPassEncoderSetVertexBuffer(this js.Ref, fn unsafe.Pointer) 302 303 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetVertexBuffer 304 //go:noescape 305 func CallGPURenderPassEncoderSetVertexBuffer( 306 this js.Ref, retPtr unsafe.Pointer, 307 slot uint32, 308 buffer js.Ref, 309 offset float64, 310 size float64) 311 312 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetVertexBuffer 313 //go:noescape 314 func TryGPURenderPassEncoderSetVertexBuffer( 315 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 316 slot uint32, 317 buffer js.Ref, 318 offset float64, 319 size float64) (ok js.Ref) 320 321 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetVertexBuffer1 322 //go:noescape 323 func HasFuncGPURenderPassEncoderSetVertexBuffer1(this js.Ref) js.Ref 324 325 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetVertexBuffer1 326 //go:noescape 327 func FuncGPURenderPassEncoderSetVertexBuffer1(this js.Ref, fn unsafe.Pointer) 328 329 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetVertexBuffer1 330 //go:noescape 331 func CallGPURenderPassEncoderSetVertexBuffer1( 332 this js.Ref, retPtr unsafe.Pointer, 333 slot uint32, 334 buffer js.Ref, 335 offset float64) 336 337 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetVertexBuffer1 338 //go:noescape 339 func TryGPURenderPassEncoderSetVertexBuffer1( 340 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 341 slot uint32, 342 buffer js.Ref, 343 offset float64) (ok js.Ref) 344 345 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetVertexBuffer2 346 //go:noescape 347 func HasFuncGPURenderPassEncoderSetVertexBuffer2(this js.Ref) js.Ref 348 349 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetVertexBuffer2 350 //go:noescape 351 func FuncGPURenderPassEncoderSetVertexBuffer2(this js.Ref, fn unsafe.Pointer) 352 353 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetVertexBuffer2 354 //go:noescape 355 func CallGPURenderPassEncoderSetVertexBuffer2( 356 this js.Ref, retPtr unsafe.Pointer, 357 slot uint32, 358 buffer js.Ref) 359 360 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetVertexBuffer2 361 //go:noescape 362 func TryGPURenderPassEncoderSetVertexBuffer2( 363 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 364 slot uint32, 365 buffer js.Ref) (ok js.Ref) 366 367 //go:wasmimport plat/js/web has_GPURenderPassEncoder_Draw 368 //go:noescape 369 func HasFuncGPURenderPassEncoderDraw(this js.Ref) js.Ref 370 371 //go:wasmimport plat/js/web func_GPURenderPassEncoder_Draw 372 //go:noescape 373 func FuncGPURenderPassEncoderDraw(this js.Ref, fn unsafe.Pointer) 374 375 //go:wasmimport plat/js/web call_GPURenderPassEncoder_Draw 376 //go:noescape 377 func CallGPURenderPassEncoderDraw( 378 this js.Ref, retPtr unsafe.Pointer, 379 vertexCount uint32, 380 instanceCount uint32, 381 firstVertex uint32, 382 firstInstance uint32) 383 384 //go:wasmimport plat/js/web try_GPURenderPassEncoder_Draw 385 //go:noescape 386 func TryGPURenderPassEncoderDraw( 387 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 388 vertexCount uint32, 389 instanceCount uint32, 390 firstVertex uint32, 391 firstInstance uint32) (ok js.Ref) 392 393 //go:wasmimport plat/js/web has_GPURenderPassEncoder_Draw1 394 //go:noescape 395 func HasFuncGPURenderPassEncoderDraw1(this js.Ref) js.Ref 396 397 //go:wasmimport plat/js/web func_GPURenderPassEncoder_Draw1 398 //go:noescape 399 func FuncGPURenderPassEncoderDraw1(this js.Ref, fn unsafe.Pointer) 400 401 //go:wasmimport plat/js/web call_GPURenderPassEncoder_Draw1 402 //go:noescape 403 func CallGPURenderPassEncoderDraw1( 404 this js.Ref, retPtr unsafe.Pointer, 405 vertexCount uint32, 406 instanceCount uint32, 407 firstVertex uint32) 408 409 //go:wasmimport plat/js/web try_GPURenderPassEncoder_Draw1 410 //go:noescape 411 func TryGPURenderPassEncoderDraw1( 412 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 413 vertexCount uint32, 414 instanceCount uint32, 415 firstVertex uint32) (ok js.Ref) 416 417 //go:wasmimport plat/js/web has_GPURenderPassEncoder_Draw2 418 //go:noescape 419 func HasFuncGPURenderPassEncoderDraw2(this js.Ref) js.Ref 420 421 //go:wasmimport plat/js/web func_GPURenderPassEncoder_Draw2 422 //go:noescape 423 func FuncGPURenderPassEncoderDraw2(this js.Ref, fn unsafe.Pointer) 424 425 //go:wasmimport plat/js/web call_GPURenderPassEncoder_Draw2 426 //go:noescape 427 func CallGPURenderPassEncoderDraw2( 428 this js.Ref, retPtr unsafe.Pointer, 429 vertexCount uint32, 430 instanceCount uint32) 431 432 //go:wasmimport plat/js/web try_GPURenderPassEncoder_Draw2 433 //go:noescape 434 func TryGPURenderPassEncoderDraw2( 435 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 436 vertexCount uint32, 437 instanceCount uint32) (ok js.Ref) 438 439 //go:wasmimport plat/js/web has_GPURenderPassEncoder_Draw3 440 //go:noescape 441 func HasFuncGPURenderPassEncoderDraw3(this js.Ref) js.Ref 442 443 //go:wasmimport plat/js/web func_GPURenderPassEncoder_Draw3 444 //go:noescape 445 func FuncGPURenderPassEncoderDraw3(this js.Ref, fn unsafe.Pointer) 446 447 //go:wasmimport plat/js/web call_GPURenderPassEncoder_Draw3 448 //go:noescape 449 func CallGPURenderPassEncoderDraw3( 450 this js.Ref, retPtr unsafe.Pointer, 451 vertexCount uint32) 452 453 //go:wasmimport plat/js/web try_GPURenderPassEncoder_Draw3 454 //go:noescape 455 func TryGPURenderPassEncoderDraw3( 456 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 457 vertexCount uint32) (ok js.Ref) 458 459 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexed 460 //go:noescape 461 func HasFuncGPURenderPassEncoderDrawIndexed(this js.Ref) js.Ref 462 463 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexed 464 //go:noescape 465 func FuncGPURenderPassEncoderDrawIndexed(this js.Ref, fn unsafe.Pointer) 466 467 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexed 468 //go:noescape 469 func CallGPURenderPassEncoderDrawIndexed( 470 this js.Ref, retPtr unsafe.Pointer, 471 indexCount uint32, 472 instanceCount uint32, 473 firstIndex uint32, 474 baseVertex int32, 475 firstInstance uint32) 476 477 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexed 478 //go:noescape 479 func TryGPURenderPassEncoderDrawIndexed( 480 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 481 indexCount uint32, 482 instanceCount uint32, 483 firstIndex uint32, 484 baseVertex int32, 485 firstInstance uint32) (ok js.Ref) 486 487 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexed1 488 //go:noescape 489 func HasFuncGPURenderPassEncoderDrawIndexed1(this js.Ref) js.Ref 490 491 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexed1 492 //go:noescape 493 func FuncGPURenderPassEncoderDrawIndexed1(this js.Ref, fn unsafe.Pointer) 494 495 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexed1 496 //go:noescape 497 func CallGPURenderPassEncoderDrawIndexed1( 498 this js.Ref, retPtr unsafe.Pointer, 499 indexCount uint32, 500 instanceCount uint32, 501 firstIndex uint32, 502 baseVertex int32) 503 504 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexed1 505 //go:noescape 506 func TryGPURenderPassEncoderDrawIndexed1( 507 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 508 indexCount uint32, 509 instanceCount uint32, 510 firstIndex uint32, 511 baseVertex int32) (ok js.Ref) 512 513 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexed2 514 //go:noescape 515 func HasFuncGPURenderPassEncoderDrawIndexed2(this js.Ref) js.Ref 516 517 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexed2 518 //go:noescape 519 func FuncGPURenderPassEncoderDrawIndexed2(this js.Ref, fn unsafe.Pointer) 520 521 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexed2 522 //go:noescape 523 func CallGPURenderPassEncoderDrawIndexed2( 524 this js.Ref, retPtr unsafe.Pointer, 525 indexCount uint32, 526 instanceCount uint32, 527 firstIndex uint32) 528 529 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexed2 530 //go:noescape 531 func TryGPURenderPassEncoderDrawIndexed2( 532 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 533 indexCount uint32, 534 instanceCount uint32, 535 firstIndex uint32) (ok js.Ref) 536 537 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexed3 538 //go:noescape 539 func HasFuncGPURenderPassEncoderDrawIndexed3(this js.Ref) js.Ref 540 541 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexed3 542 //go:noescape 543 func FuncGPURenderPassEncoderDrawIndexed3(this js.Ref, fn unsafe.Pointer) 544 545 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexed3 546 //go:noescape 547 func CallGPURenderPassEncoderDrawIndexed3( 548 this js.Ref, retPtr unsafe.Pointer, 549 indexCount uint32, 550 instanceCount uint32) 551 552 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexed3 553 //go:noescape 554 func TryGPURenderPassEncoderDrawIndexed3( 555 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 556 indexCount uint32, 557 instanceCount uint32) (ok js.Ref) 558 559 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexed4 560 //go:noescape 561 func HasFuncGPURenderPassEncoderDrawIndexed4(this js.Ref) js.Ref 562 563 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexed4 564 //go:noescape 565 func FuncGPURenderPassEncoderDrawIndexed4(this js.Ref, fn unsafe.Pointer) 566 567 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexed4 568 //go:noescape 569 func CallGPURenderPassEncoderDrawIndexed4( 570 this js.Ref, retPtr unsafe.Pointer, 571 indexCount uint32) 572 573 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexed4 574 //go:noescape 575 func TryGPURenderPassEncoderDrawIndexed4( 576 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 577 indexCount uint32) (ok js.Ref) 578 579 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndirect 580 //go:noescape 581 func HasFuncGPURenderPassEncoderDrawIndirect(this js.Ref) js.Ref 582 583 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndirect 584 //go:noescape 585 func FuncGPURenderPassEncoderDrawIndirect(this js.Ref, fn unsafe.Pointer) 586 587 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndirect 588 //go:noescape 589 func CallGPURenderPassEncoderDrawIndirect( 590 this js.Ref, retPtr unsafe.Pointer, 591 indirectBuffer js.Ref, 592 indirectOffset float64) 593 594 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndirect 595 //go:noescape 596 func TryGPURenderPassEncoderDrawIndirect( 597 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 598 indirectBuffer js.Ref, 599 indirectOffset float64) (ok js.Ref) 600 601 //go:wasmimport plat/js/web has_GPURenderPassEncoder_DrawIndexedIndirect 602 //go:noescape 603 func HasFuncGPURenderPassEncoderDrawIndexedIndirect(this js.Ref) js.Ref 604 605 //go:wasmimport plat/js/web func_GPURenderPassEncoder_DrawIndexedIndirect 606 //go:noescape 607 func FuncGPURenderPassEncoderDrawIndexedIndirect(this js.Ref, fn unsafe.Pointer) 608 609 //go:wasmimport plat/js/web call_GPURenderPassEncoder_DrawIndexedIndirect 610 //go:noescape 611 func CallGPURenderPassEncoderDrawIndexedIndirect( 612 this js.Ref, retPtr unsafe.Pointer, 613 indirectBuffer js.Ref, 614 indirectOffset float64) 615 616 //go:wasmimport plat/js/web try_GPURenderPassEncoder_DrawIndexedIndirect 617 //go:noescape 618 func TryGPURenderPassEncoderDrawIndexedIndirect( 619 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 620 indirectBuffer js.Ref, 621 indirectOffset float64) (ok js.Ref) 622 623 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetBindGroup 624 //go:noescape 625 func HasFuncGPURenderPassEncoderSetBindGroup(this js.Ref) js.Ref 626 627 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetBindGroup 628 //go:noescape 629 func FuncGPURenderPassEncoderSetBindGroup(this js.Ref, fn unsafe.Pointer) 630 631 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetBindGroup 632 //go:noescape 633 func CallGPURenderPassEncoderSetBindGroup( 634 this js.Ref, retPtr unsafe.Pointer, 635 index uint32, 636 bindGroup js.Ref, 637 dynamicOffsets js.Ref) 638 639 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetBindGroup 640 //go:noescape 641 func TryGPURenderPassEncoderSetBindGroup( 642 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 643 index uint32, 644 bindGroup js.Ref, 645 dynamicOffsets js.Ref) (ok js.Ref) 646 647 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetBindGroup1 648 //go:noescape 649 func HasFuncGPURenderPassEncoderSetBindGroup1(this js.Ref) js.Ref 650 651 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetBindGroup1 652 //go:noescape 653 func FuncGPURenderPassEncoderSetBindGroup1(this js.Ref, fn unsafe.Pointer) 654 655 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetBindGroup1 656 //go:noescape 657 func CallGPURenderPassEncoderSetBindGroup1( 658 this js.Ref, retPtr unsafe.Pointer, 659 index uint32, 660 bindGroup js.Ref) 661 662 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetBindGroup1 663 //go:noescape 664 func TryGPURenderPassEncoderSetBindGroup1( 665 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 666 index uint32, 667 bindGroup js.Ref) (ok js.Ref) 668 669 //go:wasmimport plat/js/web has_GPURenderPassEncoder_SetBindGroup2 670 //go:noescape 671 func HasFuncGPURenderPassEncoderSetBindGroup2(this js.Ref) js.Ref 672 673 //go:wasmimport plat/js/web func_GPURenderPassEncoder_SetBindGroup2 674 //go:noescape 675 func FuncGPURenderPassEncoderSetBindGroup2(this js.Ref, fn unsafe.Pointer) 676 677 //go:wasmimport plat/js/web call_GPURenderPassEncoder_SetBindGroup2 678 //go:noescape 679 func CallGPURenderPassEncoderSetBindGroup2( 680 this js.Ref, retPtr unsafe.Pointer, 681 index uint32, 682 bindGroup js.Ref, 683 dynamicOffsetsData js.Ref, 684 dynamicOffsetsDataStart float64, 685 dynamicOffsetsDataLength uint32) 686 687 //go:wasmimport plat/js/web try_GPURenderPassEncoder_SetBindGroup2 688 //go:noescape 689 func TryGPURenderPassEncoderSetBindGroup2( 690 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 691 index uint32, 692 bindGroup js.Ref, 693 dynamicOffsetsData js.Ref, 694 dynamicOffsetsDataStart float64, 695 dynamicOffsetsDataLength uint32) (ok js.Ref) 696 697 //go:wasmimport plat/js/web has_GPURenderPassEncoder_PushDebugGroup 698 //go:noescape 699 func HasFuncGPURenderPassEncoderPushDebugGroup(this js.Ref) js.Ref 700 701 //go:wasmimport plat/js/web func_GPURenderPassEncoder_PushDebugGroup 702 //go:noescape 703 func FuncGPURenderPassEncoderPushDebugGroup(this js.Ref, fn unsafe.Pointer) 704 705 //go:wasmimport plat/js/web call_GPURenderPassEncoder_PushDebugGroup 706 //go:noescape 707 func CallGPURenderPassEncoderPushDebugGroup( 708 this js.Ref, retPtr unsafe.Pointer, 709 groupLabel js.Ref) 710 711 //go:wasmimport plat/js/web try_GPURenderPassEncoder_PushDebugGroup 712 //go:noescape 713 func TryGPURenderPassEncoderPushDebugGroup( 714 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 715 groupLabel js.Ref) (ok js.Ref) 716 717 //go:wasmimport plat/js/web has_GPURenderPassEncoder_PopDebugGroup 718 //go:noescape 719 func HasFuncGPURenderPassEncoderPopDebugGroup(this js.Ref) js.Ref 720 721 //go:wasmimport plat/js/web func_GPURenderPassEncoder_PopDebugGroup 722 //go:noescape 723 func FuncGPURenderPassEncoderPopDebugGroup(this js.Ref, fn unsafe.Pointer) 724 725 //go:wasmimport plat/js/web call_GPURenderPassEncoder_PopDebugGroup 726 //go:noescape 727 func CallGPURenderPassEncoderPopDebugGroup( 728 this js.Ref, retPtr unsafe.Pointer) 729 730 //go:wasmimport plat/js/web try_GPURenderPassEncoder_PopDebugGroup 731 //go:noescape 732 func TryGPURenderPassEncoderPopDebugGroup( 733 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 734 735 //go:wasmimport plat/js/web has_GPURenderPassEncoder_InsertDebugMarker 736 //go:noescape 737 func HasFuncGPURenderPassEncoderInsertDebugMarker(this js.Ref) js.Ref 738 739 //go:wasmimport plat/js/web func_GPURenderPassEncoder_InsertDebugMarker 740 //go:noescape 741 func FuncGPURenderPassEncoderInsertDebugMarker(this js.Ref, fn unsafe.Pointer) 742 743 //go:wasmimport plat/js/web call_GPURenderPassEncoder_InsertDebugMarker 744 //go:noescape 745 func CallGPURenderPassEncoderInsertDebugMarker( 746 this js.Ref, retPtr unsafe.Pointer, 747 markerLabel js.Ref) 748 749 //go:wasmimport plat/js/web try_GPURenderPassEncoder_InsertDebugMarker 750 //go:noescape 751 func TryGPURenderPassEncoderInsertDebugMarker( 752 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 753 markerLabel js.Ref) (ok js.Ref) 754 755 //go:wasmimport plat/js/web constof_GPULoadOp 756 //go:noescape 757 func ConstOfGPULoadOp(str js.Ref) uint32 758 759 //go:wasmimport plat/js/web constof_GPUStoreOp 760 //go:noescape 761 func ConstOfGPUStoreOp(str js.Ref) uint32 762 763 //go:wasmimport plat/js/web store_GPURenderPassColorAttachment 764 //go:noescape 765 func GPURenderPassColorAttachmentJSStore( 766 ptr unsafe.Pointer, ref js.Ref) 767 768 //go:wasmimport plat/js/web load_GPURenderPassColorAttachment 769 //go:noescape 770 func GPURenderPassColorAttachmentJSLoad( 771 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 772 773 //go:wasmimport plat/js/web store_GPURenderPassDepthStencilAttachment 774 //go:noescape 775 func GPURenderPassDepthStencilAttachmentJSStore( 776 ptr unsafe.Pointer, ref js.Ref) 777 778 //go:wasmimport plat/js/web load_GPURenderPassDepthStencilAttachment 779 //go:noescape 780 func GPURenderPassDepthStencilAttachmentJSLoad( 781 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 782 783 //go:wasmimport plat/js/web constof_GPUQueryType 784 //go:noescape 785 func ConstOfGPUQueryType(str js.Ref) uint32 786 787 //go:wasmimport plat/js/web get_GPUQuerySet_Type 788 //go:noescape 789 func GetGPUQuerySetType( 790 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 791 792 //go:wasmimport plat/js/web get_GPUQuerySet_Count 793 //go:noescape 794 func GetGPUQuerySetCount( 795 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 796 797 //go:wasmimport plat/js/web get_GPUQuerySet_Label 798 //go:noescape 799 func GetGPUQuerySetLabel( 800 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 801 802 //go:wasmimport plat/js/web set_GPUQuerySet_Label 803 //go:noescape 804 func SetGPUQuerySetLabel( 805 this js.Ref, 806 val js.Ref, 807 ) js.Ref 808 809 //go:wasmimport plat/js/web has_GPUQuerySet_Destroy 810 //go:noescape 811 func HasFuncGPUQuerySetDestroy(this js.Ref) js.Ref 812 813 //go:wasmimport plat/js/web func_GPUQuerySet_Destroy 814 //go:noescape 815 func FuncGPUQuerySetDestroy(this js.Ref, fn unsafe.Pointer) 816 817 //go:wasmimport plat/js/web call_GPUQuerySet_Destroy 818 //go:noescape 819 func CallGPUQuerySetDestroy( 820 this js.Ref, retPtr unsafe.Pointer) 821 822 //go:wasmimport plat/js/web try_GPUQuerySet_Destroy 823 //go:noescape 824 func TryGPUQuerySetDestroy( 825 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 826 827 //go:wasmimport plat/js/web store_GPURenderPassTimestampWrites 828 //go:noescape 829 func GPURenderPassTimestampWritesJSStore( 830 ptr unsafe.Pointer, ref js.Ref) 831 832 //go:wasmimport plat/js/web load_GPURenderPassTimestampWrites 833 //go:noescape 834 func GPURenderPassTimestampWritesJSLoad( 835 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 836 837 //go:wasmimport plat/js/web store_GPURenderPassDescriptor 838 //go:noescape 839 func GPURenderPassDescriptorJSStore( 840 ptr unsafe.Pointer, ref js.Ref) 841 842 //go:wasmimport plat/js/web load_GPURenderPassDescriptor 843 //go:noescape 844 func GPURenderPassDescriptorJSLoad( 845 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 846 847 //go:wasmimport plat/js/web get_GPUComputePassEncoder_Label 848 //go:noescape 849 func GetGPUComputePassEncoderLabel( 850 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 851 852 //go:wasmimport plat/js/web set_GPUComputePassEncoder_Label 853 //go:noescape 854 func SetGPUComputePassEncoderLabel( 855 this js.Ref, 856 val js.Ref, 857 ) js.Ref 858 859 //go:wasmimport plat/js/web has_GPUComputePassEncoder_SetPipeline 860 //go:noescape 861 func HasFuncGPUComputePassEncoderSetPipeline(this js.Ref) js.Ref 862 863 //go:wasmimport plat/js/web func_GPUComputePassEncoder_SetPipeline 864 //go:noescape 865 func FuncGPUComputePassEncoderSetPipeline(this js.Ref, fn unsafe.Pointer) 866 867 //go:wasmimport plat/js/web call_GPUComputePassEncoder_SetPipeline 868 //go:noescape 869 func CallGPUComputePassEncoderSetPipeline( 870 this js.Ref, retPtr unsafe.Pointer, 871 pipeline js.Ref) 872 873 //go:wasmimport plat/js/web try_GPUComputePassEncoder_SetPipeline 874 //go:noescape 875 func TryGPUComputePassEncoderSetPipeline( 876 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 877 pipeline js.Ref) (ok js.Ref) 878 879 //go:wasmimport plat/js/web has_GPUComputePassEncoder_DispatchWorkgroups 880 //go:noescape 881 func HasFuncGPUComputePassEncoderDispatchWorkgroups(this js.Ref) js.Ref 882 883 //go:wasmimport plat/js/web func_GPUComputePassEncoder_DispatchWorkgroups 884 //go:noescape 885 func FuncGPUComputePassEncoderDispatchWorkgroups(this js.Ref, fn unsafe.Pointer) 886 887 //go:wasmimport plat/js/web call_GPUComputePassEncoder_DispatchWorkgroups 888 //go:noescape 889 func CallGPUComputePassEncoderDispatchWorkgroups( 890 this js.Ref, retPtr unsafe.Pointer, 891 workgroupCountX uint32, 892 workgroupCountY uint32, 893 workgroupCountZ uint32) 894 895 //go:wasmimport plat/js/web try_GPUComputePassEncoder_DispatchWorkgroups 896 //go:noescape 897 func TryGPUComputePassEncoderDispatchWorkgroups( 898 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 899 workgroupCountX uint32, 900 workgroupCountY uint32, 901 workgroupCountZ uint32) (ok js.Ref) 902 903 //go:wasmimport plat/js/web has_GPUComputePassEncoder_DispatchWorkgroups1 904 //go:noescape 905 func HasFuncGPUComputePassEncoderDispatchWorkgroups1(this js.Ref) js.Ref 906 907 //go:wasmimport plat/js/web func_GPUComputePassEncoder_DispatchWorkgroups1 908 //go:noescape 909 func FuncGPUComputePassEncoderDispatchWorkgroups1(this js.Ref, fn unsafe.Pointer) 910 911 //go:wasmimport plat/js/web call_GPUComputePassEncoder_DispatchWorkgroups1 912 //go:noescape 913 func CallGPUComputePassEncoderDispatchWorkgroups1( 914 this js.Ref, retPtr unsafe.Pointer, 915 workgroupCountX uint32, 916 workgroupCountY uint32) 917 918 //go:wasmimport plat/js/web try_GPUComputePassEncoder_DispatchWorkgroups1 919 //go:noescape 920 func TryGPUComputePassEncoderDispatchWorkgroups1( 921 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 922 workgroupCountX uint32, 923 workgroupCountY uint32) (ok js.Ref) 924 925 //go:wasmimport plat/js/web has_GPUComputePassEncoder_DispatchWorkgroups2 926 //go:noescape 927 func HasFuncGPUComputePassEncoderDispatchWorkgroups2(this js.Ref) js.Ref 928 929 //go:wasmimport plat/js/web func_GPUComputePassEncoder_DispatchWorkgroups2 930 //go:noescape 931 func FuncGPUComputePassEncoderDispatchWorkgroups2(this js.Ref, fn unsafe.Pointer) 932 933 //go:wasmimport plat/js/web call_GPUComputePassEncoder_DispatchWorkgroups2 934 //go:noescape 935 func CallGPUComputePassEncoderDispatchWorkgroups2( 936 this js.Ref, retPtr unsafe.Pointer, 937 workgroupCountX uint32) 938 939 //go:wasmimport plat/js/web try_GPUComputePassEncoder_DispatchWorkgroups2 940 //go:noescape 941 func TryGPUComputePassEncoderDispatchWorkgroups2( 942 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 943 workgroupCountX uint32) (ok js.Ref) 944 945 //go:wasmimport plat/js/web has_GPUComputePassEncoder_DispatchWorkgroupsIndirect 946 //go:noescape 947 func HasFuncGPUComputePassEncoderDispatchWorkgroupsIndirect(this js.Ref) js.Ref 948 949 //go:wasmimport plat/js/web func_GPUComputePassEncoder_DispatchWorkgroupsIndirect 950 //go:noescape 951 func FuncGPUComputePassEncoderDispatchWorkgroupsIndirect(this js.Ref, fn unsafe.Pointer) 952 953 //go:wasmimport plat/js/web call_GPUComputePassEncoder_DispatchWorkgroupsIndirect 954 //go:noescape 955 func CallGPUComputePassEncoderDispatchWorkgroupsIndirect( 956 this js.Ref, retPtr unsafe.Pointer, 957 indirectBuffer js.Ref, 958 indirectOffset float64) 959 960 //go:wasmimport plat/js/web try_GPUComputePassEncoder_DispatchWorkgroupsIndirect 961 //go:noescape 962 func TryGPUComputePassEncoderDispatchWorkgroupsIndirect( 963 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 964 indirectBuffer js.Ref, 965 indirectOffset float64) (ok js.Ref) 966 967 //go:wasmimport plat/js/web has_GPUComputePassEncoder_End 968 //go:noescape 969 func HasFuncGPUComputePassEncoderEnd(this js.Ref) js.Ref 970 971 //go:wasmimport plat/js/web func_GPUComputePassEncoder_End 972 //go:noescape 973 func FuncGPUComputePassEncoderEnd(this js.Ref, fn unsafe.Pointer) 974 975 //go:wasmimport plat/js/web call_GPUComputePassEncoder_End 976 //go:noescape 977 func CallGPUComputePassEncoderEnd( 978 this js.Ref, retPtr unsafe.Pointer) 979 980 //go:wasmimport plat/js/web try_GPUComputePassEncoder_End 981 //go:noescape 982 func TryGPUComputePassEncoderEnd( 983 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 984 985 //go:wasmimport plat/js/web has_GPUComputePassEncoder_PushDebugGroup 986 //go:noescape 987 func HasFuncGPUComputePassEncoderPushDebugGroup(this js.Ref) js.Ref 988 989 //go:wasmimport plat/js/web func_GPUComputePassEncoder_PushDebugGroup 990 //go:noescape 991 func FuncGPUComputePassEncoderPushDebugGroup(this js.Ref, fn unsafe.Pointer) 992 993 //go:wasmimport plat/js/web call_GPUComputePassEncoder_PushDebugGroup 994 //go:noescape 995 func CallGPUComputePassEncoderPushDebugGroup( 996 this js.Ref, retPtr unsafe.Pointer, 997 groupLabel js.Ref) 998 999 //go:wasmimport plat/js/web try_GPUComputePassEncoder_PushDebugGroup 1000 //go:noescape 1001 func TryGPUComputePassEncoderPushDebugGroup( 1002 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1003 groupLabel js.Ref) (ok js.Ref) 1004 1005 //go:wasmimport plat/js/web has_GPUComputePassEncoder_PopDebugGroup 1006 //go:noescape 1007 func HasFuncGPUComputePassEncoderPopDebugGroup(this js.Ref) js.Ref 1008 1009 //go:wasmimport plat/js/web func_GPUComputePassEncoder_PopDebugGroup 1010 //go:noescape 1011 func FuncGPUComputePassEncoderPopDebugGroup(this js.Ref, fn unsafe.Pointer) 1012 1013 //go:wasmimport plat/js/web call_GPUComputePassEncoder_PopDebugGroup 1014 //go:noescape 1015 func CallGPUComputePassEncoderPopDebugGroup( 1016 this js.Ref, retPtr unsafe.Pointer) 1017 1018 //go:wasmimport plat/js/web try_GPUComputePassEncoder_PopDebugGroup 1019 //go:noescape 1020 func TryGPUComputePassEncoderPopDebugGroup( 1021 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1022 1023 //go:wasmimport plat/js/web has_GPUComputePassEncoder_InsertDebugMarker 1024 //go:noescape 1025 func HasFuncGPUComputePassEncoderInsertDebugMarker(this js.Ref) js.Ref 1026 1027 //go:wasmimport plat/js/web func_GPUComputePassEncoder_InsertDebugMarker 1028 //go:noescape 1029 func FuncGPUComputePassEncoderInsertDebugMarker(this js.Ref, fn unsafe.Pointer) 1030 1031 //go:wasmimport plat/js/web call_GPUComputePassEncoder_InsertDebugMarker 1032 //go:noescape 1033 func CallGPUComputePassEncoderInsertDebugMarker( 1034 this js.Ref, retPtr unsafe.Pointer, 1035 markerLabel js.Ref) 1036 1037 //go:wasmimport plat/js/web try_GPUComputePassEncoder_InsertDebugMarker 1038 //go:noescape 1039 func TryGPUComputePassEncoderInsertDebugMarker( 1040 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1041 markerLabel js.Ref) (ok js.Ref) 1042 1043 //go:wasmimport plat/js/web has_GPUComputePassEncoder_SetBindGroup 1044 //go:noescape 1045 func HasFuncGPUComputePassEncoderSetBindGroup(this js.Ref) js.Ref 1046 1047 //go:wasmimport plat/js/web func_GPUComputePassEncoder_SetBindGroup 1048 //go:noescape 1049 func FuncGPUComputePassEncoderSetBindGroup(this js.Ref, fn unsafe.Pointer) 1050 1051 //go:wasmimport plat/js/web call_GPUComputePassEncoder_SetBindGroup 1052 //go:noescape 1053 func CallGPUComputePassEncoderSetBindGroup( 1054 this js.Ref, retPtr unsafe.Pointer, 1055 index uint32, 1056 bindGroup js.Ref, 1057 dynamicOffsets js.Ref) 1058 1059 //go:wasmimport plat/js/web try_GPUComputePassEncoder_SetBindGroup 1060 //go:noescape 1061 func TryGPUComputePassEncoderSetBindGroup( 1062 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1063 index uint32, 1064 bindGroup js.Ref, 1065 dynamicOffsets js.Ref) (ok js.Ref) 1066 1067 //go:wasmimport plat/js/web has_GPUComputePassEncoder_SetBindGroup1 1068 //go:noescape 1069 func HasFuncGPUComputePassEncoderSetBindGroup1(this js.Ref) js.Ref 1070 1071 //go:wasmimport plat/js/web func_GPUComputePassEncoder_SetBindGroup1 1072 //go:noescape 1073 func FuncGPUComputePassEncoderSetBindGroup1(this js.Ref, fn unsafe.Pointer) 1074 1075 //go:wasmimport plat/js/web call_GPUComputePassEncoder_SetBindGroup1 1076 //go:noescape 1077 func CallGPUComputePassEncoderSetBindGroup1( 1078 this js.Ref, retPtr unsafe.Pointer, 1079 index uint32, 1080 bindGroup js.Ref) 1081 1082 //go:wasmimport plat/js/web try_GPUComputePassEncoder_SetBindGroup1 1083 //go:noescape 1084 func TryGPUComputePassEncoderSetBindGroup1( 1085 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1086 index uint32, 1087 bindGroup js.Ref) (ok js.Ref) 1088 1089 //go:wasmimport plat/js/web has_GPUComputePassEncoder_SetBindGroup2 1090 //go:noescape 1091 func HasFuncGPUComputePassEncoderSetBindGroup2(this js.Ref) js.Ref 1092 1093 //go:wasmimport plat/js/web func_GPUComputePassEncoder_SetBindGroup2 1094 //go:noescape 1095 func FuncGPUComputePassEncoderSetBindGroup2(this js.Ref, fn unsafe.Pointer) 1096 1097 //go:wasmimport plat/js/web call_GPUComputePassEncoder_SetBindGroup2 1098 //go:noescape 1099 func CallGPUComputePassEncoderSetBindGroup2( 1100 this js.Ref, retPtr unsafe.Pointer, 1101 index uint32, 1102 bindGroup js.Ref, 1103 dynamicOffsetsData js.Ref, 1104 dynamicOffsetsDataStart float64, 1105 dynamicOffsetsDataLength uint32) 1106 1107 //go:wasmimport plat/js/web try_GPUComputePassEncoder_SetBindGroup2 1108 //go:noescape 1109 func TryGPUComputePassEncoderSetBindGroup2( 1110 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1111 index uint32, 1112 bindGroup js.Ref, 1113 dynamicOffsetsData js.Ref, 1114 dynamicOffsetsDataStart float64, 1115 dynamicOffsetsDataLength uint32) (ok js.Ref) 1116 1117 //go:wasmimport plat/js/web store_GPUComputePassTimestampWrites 1118 //go:noescape 1119 func GPUComputePassTimestampWritesJSStore( 1120 ptr unsafe.Pointer, ref js.Ref) 1121 1122 //go:wasmimport plat/js/web load_GPUComputePassTimestampWrites 1123 //go:noescape 1124 func GPUComputePassTimestampWritesJSLoad( 1125 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1126 1127 //go:wasmimport plat/js/web store_GPUComputePassDescriptor 1128 //go:noescape 1129 func GPUComputePassDescriptorJSStore( 1130 ptr unsafe.Pointer, ref js.Ref) 1131 1132 //go:wasmimport plat/js/web load_GPUComputePassDescriptor 1133 //go:noescape 1134 func GPUComputePassDescriptorJSLoad( 1135 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1136 1137 //go:wasmimport plat/js/web store_GPUImageCopyBuffer 1138 //go:noescape 1139 func GPUImageCopyBufferJSStore( 1140 ptr unsafe.Pointer, ref js.Ref) 1141 1142 //go:wasmimport plat/js/web load_GPUImageCopyBuffer 1143 //go:noescape 1144 func GPUImageCopyBufferJSLoad( 1145 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1146 1147 //go:wasmimport plat/js/web store_GPUOrigin3DDict 1148 //go:noescape 1149 func GPUOrigin3DDictJSStore( 1150 ptr unsafe.Pointer, ref js.Ref) 1151 1152 //go:wasmimport plat/js/web load_GPUOrigin3DDict 1153 //go:noescape 1154 func GPUOrigin3DDictJSLoad( 1155 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1156 1157 //go:wasmimport plat/js/web store_GPUImageCopyTexture 1158 //go:noescape 1159 func GPUImageCopyTextureJSStore( 1160 ptr unsafe.Pointer, ref js.Ref) 1161 1162 //go:wasmimport plat/js/web load_GPUImageCopyTexture 1163 //go:noescape 1164 func GPUImageCopyTextureJSLoad( 1165 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1166 1167 //go:wasmimport plat/js/web get_GPUCommandBuffer_Label 1168 //go:noescape 1169 func GetGPUCommandBufferLabel( 1170 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1171 1172 //go:wasmimport plat/js/web set_GPUCommandBuffer_Label 1173 //go:noescape 1174 func SetGPUCommandBufferLabel( 1175 this js.Ref, 1176 val js.Ref, 1177 ) js.Ref 1178 1179 //go:wasmimport plat/js/web store_GPUCommandBufferDescriptor 1180 //go:noescape 1181 func GPUCommandBufferDescriptorJSStore( 1182 ptr unsafe.Pointer, ref js.Ref) 1183 1184 //go:wasmimport plat/js/web load_GPUCommandBufferDescriptor 1185 //go:noescape 1186 func GPUCommandBufferDescriptorJSLoad( 1187 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1188 1189 //go:wasmimport plat/js/web get_GPUCommandEncoder_Label 1190 //go:noescape 1191 func GetGPUCommandEncoderLabel( 1192 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1193 1194 //go:wasmimport plat/js/web set_GPUCommandEncoder_Label 1195 //go:noescape 1196 func SetGPUCommandEncoderLabel( 1197 this js.Ref, 1198 val js.Ref, 1199 ) js.Ref 1200 1201 //go:wasmimport plat/js/web has_GPUCommandEncoder_BeginRenderPass 1202 //go:noescape 1203 func HasFuncGPUCommandEncoderBeginRenderPass(this js.Ref) js.Ref 1204 1205 //go:wasmimport plat/js/web func_GPUCommandEncoder_BeginRenderPass 1206 //go:noescape 1207 func FuncGPUCommandEncoderBeginRenderPass(this js.Ref, fn unsafe.Pointer) 1208 1209 //go:wasmimport plat/js/web call_GPUCommandEncoder_BeginRenderPass 1210 //go:noescape 1211 func CallGPUCommandEncoderBeginRenderPass( 1212 this js.Ref, retPtr unsafe.Pointer, 1213 descriptor unsafe.Pointer) 1214 1215 //go:wasmimport plat/js/web try_GPUCommandEncoder_BeginRenderPass 1216 //go:noescape 1217 func TryGPUCommandEncoderBeginRenderPass( 1218 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1219 descriptor unsafe.Pointer) (ok js.Ref) 1220 1221 //go:wasmimport plat/js/web has_GPUCommandEncoder_BeginComputePass 1222 //go:noescape 1223 func HasFuncGPUCommandEncoderBeginComputePass(this js.Ref) js.Ref 1224 1225 //go:wasmimport plat/js/web func_GPUCommandEncoder_BeginComputePass 1226 //go:noescape 1227 func FuncGPUCommandEncoderBeginComputePass(this js.Ref, fn unsafe.Pointer) 1228 1229 //go:wasmimport plat/js/web call_GPUCommandEncoder_BeginComputePass 1230 //go:noescape 1231 func CallGPUCommandEncoderBeginComputePass( 1232 this js.Ref, retPtr unsafe.Pointer, 1233 descriptor unsafe.Pointer) 1234 1235 //go:wasmimport plat/js/web try_GPUCommandEncoder_BeginComputePass 1236 //go:noescape 1237 func TryGPUCommandEncoderBeginComputePass( 1238 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1239 descriptor unsafe.Pointer) (ok js.Ref) 1240 1241 //go:wasmimport plat/js/web has_GPUCommandEncoder_BeginComputePass1 1242 //go:noescape 1243 func HasFuncGPUCommandEncoderBeginComputePass1(this js.Ref) js.Ref 1244 1245 //go:wasmimport plat/js/web func_GPUCommandEncoder_BeginComputePass1 1246 //go:noescape 1247 func FuncGPUCommandEncoderBeginComputePass1(this js.Ref, fn unsafe.Pointer) 1248 1249 //go:wasmimport plat/js/web call_GPUCommandEncoder_BeginComputePass1 1250 //go:noescape 1251 func CallGPUCommandEncoderBeginComputePass1( 1252 this js.Ref, retPtr unsafe.Pointer) 1253 1254 //go:wasmimport plat/js/web try_GPUCommandEncoder_BeginComputePass1 1255 //go:noescape 1256 func TryGPUCommandEncoderBeginComputePass1( 1257 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1258 1259 //go:wasmimport plat/js/web has_GPUCommandEncoder_CopyBufferToBuffer 1260 //go:noescape 1261 func HasFuncGPUCommandEncoderCopyBufferToBuffer(this js.Ref) js.Ref 1262 1263 //go:wasmimport plat/js/web func_GPUCommandEncoder_CopyBufferToBuffer 1264 //go:noescape 1265 func FuncGPUCommandEncoderCopyBufferToBuffer(this js.Ref, fn unsafe.Pointer) 1266 1267 //go:wasmimport plat/js/web call_GPUCommandEncoder_CopyBufferToBuffer 1268 //go:noescape 1269 func CallGPUCommandEncoderCopyBufferToBuffer( 1270 this js.Ref, retPtr unsafe.Pointer, 1271 source js.Ref, 1272 sourceOffset float64, 1273 destination js.Ref, 1274 destinationOffset float64, 1275 size float64) 1276 1277 //go:wasmimport plat/js/web try_GPUCommandEncoder_CopyBufferToBuffer 1278 //go:noescape 1279 func TryGPUCommandEncoderCopyBufferToBuffer( 1280 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1281 source js.Ref, 1282 sourceOffset float64, 1283 destination js.Ref, 1284 destinationOffset float64, 1285 size float64) (ok js.Ref) 1286 1287 //go:wasmimport plat/js/web has_GPUCommandEncoder_CopyBufferToTexture 1288 //go:noescape 1289 func HasFuncGPUCommandEncoderCopyBufferToTexture(this js.Ref) js.Ref 1290 1291 //go:wasmimport plat/js/web func_GPUCommandEncoder_CopyBufferToTexture 1292 //go:noescape 1293 func FuncGPUCommandEncoderCopyBufferToTexture(this js.Ref, fn unsafe.Pointer) 1294 1295 //go:wasmimport plat/js/web call_GPUCommandEncoder_CopyBufferToTexture 1296 //go:noescape 1297 func CallGPUCommandEncoderCopyBufferToTexture( 1298 this js.Ref, retPtr unsafe.Pointer, 1299 source unsafe.Pointer, 1300 destination unsafe.Pointer, 1301 copySize js.Ref) 1302 1303 //go:wasmimport plat/js/web try_GPUCommandEncoder_CopyBufferToTexture 1304 //go:noescape 1305 func TryGPUCommandEncoderCopyBufferToTexture( 1306 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1307 source unsafe.Pointer, 1308 destination unsafe.Pointer, 1309 copySize js.Ref) (ok js.Ref) 1310 1311 //go:wasmimport plat/js/web has_GPUCommandEncoder_CopyTextureToBuffer 1312 //go:noescape 1313 func HasFuncGPUCommandEncoderCopyTextureToBuffer(this js.Ref) js.Ref 1314 1315 //go:wasmimport plat/js/web func_GPUCommandEncoder_CopyTextureToBuffer 1316 //go:noescape 1317 func FuncGPUCommandEncoderCopyTextureToBuffer(this js.Ref, fn unsafe.Pointer) 1318 1319 //go:wasmimport plat/js/web call_GPUCommandEncoder_CopyTextureToBuffer 1320 //go:noescape 1321 func CallGPUCommandEncoderCopyTextureToBuffer( 1322 this js.Ref, retPtr unsafe.Pointer, 1323 source unsafe.Pointer, 1324 destination unsafe.Pointer, 1325 copySize js.Ref) 1326 1327 //go:wasmimport plat/js/web try_GPUCommandEncoder_CopyTextureToBuffer 1328 //go:noescape 1329 func TryGPUCommandEncoderCopyTextureToBuffer( 1330 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1331 source unsafe.Pointer, 1332 destination unsafe.Pointer, 1333 copySize js.Ref) (ok js.Ref) 1334 1335 //go:wasmimport plat/js/web has_GPUCommandEncoder_CopyTextureToTexture 1336 //go:noescape 1337 func HasFuncGPUCommandEncoderCopyTextureToTexture(this js.Ref) js.Ref 1338 1339 //go:wasmimport plat/js/web func_GPUCommandEncoder_CopyTextureToTexture 1340 //go:noescape 1341 func FuncGPUCommandEncoderCopyTextureToTexture(this js.Ref, fn unsafe.Pointer) 1342 1343 //go:wasmimport plat/js/web call_GPUCommandEncoder_CopyTextureToTexture 1344 //go:noescape 1345 func CallGPUCommandEncoderCopyTextureToTexture( 1346 this js.Ref, retPtr unsafe.Pointer, 1347 source unsafe.Pointer, 1348 destination unsafe.Pointer, 1349 copySize js.Ref) 1350 1351 //go:wasmimport plat/js/web try_GPUCommandEncoder_CopyTextureToTexture 1352 //go:noescape 1353 func TryGPUCommandEncoderCopyTextureToTexture( 1354 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1355 source unsafe.Pointer, 1356 destination unsafe.Pointer, 1357 copySize js.Ref) (ok js.Ref) 1358 1359 //go:wasmimport plat/js/web has_GPUCommandEncoder_ClearBuffer 1360 //go:noescape 1361 func HasFuncGPUCommandEncoderClearBuffer(this js.Ref) js.Ref 1362 1363 //go:wasmimport plat/js/web func_GPUCommandEncoder_ClearBuffer 1364 //go:noescape 1365 func FuncGPUCommandEncoderClearBuffer(this js.Ref, fn unsafe.Pointer) 1366 1367 //go:wasmimport plat/js/web call_GPUCommandEncoder_ClearBuffer 1368 //go:noescape 1369 func CallGPUCommandEncoderClearBuffer( 1370 this js.Ref, retPtr unsafe.Pointer, 1371 buffer js.Ref, 1372 offset float64, 1373 size float64) 1374 1375 //go:wasmimport plat/js/web try_GPUCommandEncoder_ClearBuffer 1376 //go:noescape 1377 func TryGPUCommandEncoderClearBuffer( 1378 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1379 buffer js.Ref, 1380 offset float64, 1381 size float64) (ok js.Ref) 1382 1383 //go:wasmimport plat/js/web has_GPUCommandEncoder_ClearBuffer1 1384 //go:noescape 1385 func HasFuncGPUCommandEncoderClearBuffer1(this js.Ref) js.Ref 1386 1387 //go:wasmimport plat/js/web func_GPUCommandEncoder_ClearBuffer1 1388 //go:noescape 1389 func FuncGPUCommandEncoderClearBuffer1(this js.Ref, fn unsafe.Pointer) 1390 1391 //go:wasmimport plat/js/web call_GPUCommandEncoder_ClearBuffer1 1392 //go:noescape 1393 func CallGPUCommandEncoderClearBuffer1( 1394 this js.Ref, retPtr unsafe.Pointer, 1395 buffer js.Ref, 1396 offset float64) 1397 1398 //go:wasmimport plat/js/web try_GPUCommandEncoder_ClearBuffer1 1399 //go:noescape 1400 func TryGPUCommandEncoderClearBuffer1( 1401 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1402 buffer js.Ref, 1403 offset float64) (ok js.Ref) 1404 1405 //go:wasmimport plat/js/web has_GPUCommandEncoder_ClearBuffer2 1406 //go:noescape 1407 func HasFuncGPUCommandEncoderClearBuffer2(this js.Ref) js.Ref 1408 1409 //go:wasmimport plat/js/web func_GPUCommandEncoder_ClearBuffer2 1410 //go:noescape 1411 func FuncGPUCommandEncoderClearBuffer2(this js.Ref, fn unsafe.Pointer) 1412 1413 //go:wasmimport plat/js/web call_GPUCommandEncoder_ClearBuffer2 1414 //go:noescape 1415 func CallGPUCommandEncoderClearBuffer2( 1416 this js.Ref, retPtr unsafe.Pointer, 1417 buffer js.Ref) 1418 1419 //go:wasmimport plat/js/web try_GPUCommandEncoder_ClearBuffer2 1420 //go:noescape 1421 func TryGPUCommandEncoderClearBuffer2( 1422 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1423 buffer js.Ref) (ok js.Ref) 1424 1425 //go:wasmimport plat/js/web has_GPUCommandEncoder_WriteTimestamp 1426 //go:noescape 1427 func HasFuncGPUCommandEncoderWriteTimestamp(this js.Ref) js.Ref 1428 1429 //go:wasmimport plat/js/web func_GPUCommandEncoder_WriteTimestamp 1430 //go:noescape 1431 func FuncGPUCommandEncoderWriteTimestamp(this js.Ref, fn unsafe.Pointer) 1432 1433 //go:wasmimport plat/js/web call_GPUCommandEncoder_WriteTimestamp 1434 //go:noescape 1435 func CallGPUCommandEncoderWriteTimestamp( 1436 this js.Ref, retPtr unsafe.Pointer, 1437 querySet js.Ref, 1438 queryIndex uint32) 1439 1440 //go:wasmimport plat/js/web try_GPUCommandEncoder_WriteTimestamp 1441 //go:noescape 1442 func TryGPUCommandEncoderWriteTimestamp( 1443 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1444 querySet js.Ref, 1445 queryIndex uint32) (ok js.Ref) 1446 1447 //go:wasmimport plat/js/web has_GPUCommandEncoder_ResolveQuerySet 1448 //go:noescape 1449 func HasFuncGPUCommandEncoderResolveQuerySet(this js.Ref) js.Ref 1450 1451 //go:wasmimport plat/js/web func_GPUCommandEncoder_ResolveQuerySet 1452 //go:noescape 1453 func FuncGPUCommandEncoderResolveQuerySet(this js.Ref, fn unsafe.Pointer) 1454 1455 //go:wasmimport plat/js/web call_GPUCommandEncoder_ResolveQuerySet 1456 //go:noescape 1457 func CallGPUCommandEncoderResolveQuerySet( 1458 this js.Ref, retPtr unsafe.Pointer, 1459 querySet js.Ref, 1460 firstQuery uint32, 1461 queryCount uint32, 1462 destination js.Ref, 1463 destinationOffset float64) 1464 1465 //go:wasmimport plat/js/web try_GPUCommandEncoder_ResolveQuerySet 1466 //go:noescape 1467 func TryGPUCommandEncoderResolveQuerySet( 1468 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1469 querySet js.Ref, 1470 firstQuery uint32, 1471 queryCount uint32, 1472 destination js.Ref, 1473 destinationOffset float64) (ok js.Ref) 1474 1475 //go:wasmimport plat/js/web has_GPUCommandEncoder_Finish 1476 //go:noescape 1477 func HasFuncGPUCommandEncoderFinish(this js.Ref) js.Ref 1478 1479 //go:wasmimport plat/js/web func_GPUCommandEncoder_Finish 1480 //go:noescape 1481 func FuncGPUCommandEncoderFinish(this js.Ref, fn unsafe.Pointer) 1482 1483 //go:wasmimport plat/js/web call_GPUCommandEncoder_Finish 1484 //go:noescape 1485 func CallGPUCommandEncoderFinish( 1486 this js.Ref, retPtr unsafe.Pointer, 1487 descriptor unsafe.Pointer) 1488 1489 //go:wasmimport plat/js/web try_GPUCommandEncoder_Finish 1490 //go:noescape 1491 func TryGPUCommandEncoderFinish( 1492 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1493 descriptor unsafe.Pointer) (ok js.Ref) 1494 1495 //go:wasmimport plat/js/web has_GPUCommandEncoder_Finish1 1496 //go:noescape 1497 func HasFuncGPUCommandEncoderFinish1(this js.Ref) js.Ref 1498 1499 //go:wasmimport plat/js/web func_GPUCommandEncoder_Finish1 1500 //go:noescape 1501 func FuncGPUCommandEncoderFinish1(this js.Ref, fn unsafe.Pointer) 1502 1503 //go:wasmimport plat/js/web call_GPUCommandEncoder_Finish1 1504 //go:noescape 1505 func CallGPUCommandEncoderFinish1( 1506 this js.Ref, retPtr unsafe.Pointer) 1507 1508 //go:wasmimport plat/js/web try_GPUCommandEncoder_Finish1 1509 //go:noescape 1510 func TryGPUCommandEncoderFinish1( 1511 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1512 1513 //go:wasmimport plat/js/web has_GPUCommandEncoder_PushDebugGroup 1514 //go:noescape 1515 func HasFuncGPUCommandEncoderPushDebugGroup(this js.Ref) js.Ref 1516 1517 //go:wasmimport plat/js/web func_GPUCommandEncoder_PushDebugGroup 1518 //go:noescape 1519 func FuncGPUCommandEncoderPushDebugGroup(this js.Ref, fn unsafe.Pointer) 1520 1521 //go:wasmimport plat/js/web call_GPUCommandEncoder_PushDebugGroup 1522 //go:noescape 1523 func CallGPUCommandEncoderPushDebugGroup( 1524 this js.Ref, retPtr unsafe.Pointer, 1525 groupLabel js.Ref) 1526 1527 //go:wasmimport plat/js/web try_GPUCommandEncoder_PushDebugGroup 1528 //go:noescape 1529 func TryGPUCommandEncoderPushDebugGroup( 1530 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1531 groupLabel js.Ref) (ok js.Ref) 1532 1533 //go:wasmimport plat/js/web has_GPUCommandEncoder_PopDebugGroup 1534 //go:noescape 1535 func HasFuncGPUCommandEncoderPopDebugGroup(this js.Ref) js.Ref 1536 1537 //go:wasmimport plat/js/web func_GPUCommandEncoder_PopDebugGroup 1538 //go:noescape 1539 func FuncGPUCommandEncoderPopDebugGroup(this js.Ref, fn unsafe.Pointer) 1540 1541 //go:wasmimport plat/js/web call_GPUCommandEncoder_PopDebugGroup 1542 //go:noescape 1543 func CallGPUCommandEncoderPopDebugGroup( 1544 this js.Ref, retPtr unsafe.Pointer) 1545 1546 //go:wasmimport plat/js/web try_GPUCommandEncoder_PopDebugGroup 1547 //go:noescape 1548 func TryGPUCommandEncoderPopDebugGroup( 1549 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1550 1551 //go:wasmimport plat/js/web has_GPUCommandEncoder_InsertDebugMarker 1552 //go:noescape 1553 func HasFuncGPUCommandEncoderInsertDebugMarker(this js.Ref) js.Ref 1554 1555 //go:wasmimport plat/js/web func_GPUCommandEncoder_InsertDebugMarker 1556 //go:noescape 1557 func FuncGPUCommandEncoderInsertDebugMarker(this js.Ref, fn unsafe.Pointer) 1558 1559 //go:wasmimport plat/js/web call_GPUCommandEncoder_InsertDebugMarker 1560 //go:noescape 1561 func CallGPUCommandEncoderInsertDebugMarker( 1562 this js.Ref, retPtr unsafe.Pointer, 1563 markerLabel js.Ref) 1564 1565 //go:wasmimport plat/js/web try_GPUCommandEncoder_InsertDebugMarker 1566 //go:noescape 1567 func TryGPUCommandEncoderInsertDebugMarker( 1568 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1569 markerLabel js.Ref) (ok js.Ref) 1570 1571 //go:wasmimport plat/js/web store_GPUCommandEncoderDescriptor 1572 //go:noescape 1573 func GPUCommandEncoderDescriptorJSStore( 1574 ptr unsafe.Pointer, ref js.Ref) 1575 1576 //go:wasmimport plat/js/web load_GPUCommandEncoderDescriptor 1577 //go:noescape 1578 func GPUCommandEncoderDescriptorJSLoad( 1579 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1580 1581 //go:wasmimport plat/js/web store_GPURenderBundleDescriptor 1582 //go:noescape 1583 func GPURenderBundleDescriptorJSStore( 1584 ptr unsafe.Pointer, ref js.Ref) 1585 1586 //go:wasmimport plat/js/web load_GPURenderBundleDescriptor 1587 //go:noescape 1588 func GPURenderBundleDescriptorJSLoad( 1589 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 1590 1591 //go:wasmimport plat/js/web get_GPURenderBundleEncoder_Label 1592 //go:noescape 1593 func GetGPURenderBundleEncoderLabel( 1594 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 1595 1596 //go:wasmimport plat/js/web set_GPURenderBundleEncoder_Label 1597 //go:noescape 1598 func SetGPURenderBundleEncoderLabel( 1599 this js.Ref, 1600 val js.Ref, 1601 ) js.Ref 1602 1603 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Finish 1604 //go:noescape 1605 func HasFuncGPURenderBundleEncoderFinish(this js.Ref) js.Ref 1606 1607 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Finish 1608 //go:noescape 1609 func FuncGPURenderBundleEncoderFinish(this js.Ref, fn unsafe.Pointer) 1610 1611 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Finish 1612 //go:noescape 1613 func CallGPURenderBundleEncoderFinish( 1614 this js.Ref, retPtr unsafe.Pointer, 1615 descriptor unsafe.Pointer) 1616 1617 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Finish 1618 //go:noescape 1619 func TryGPURenderBundleEncoderFinish( 1620 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1621 descriptor unsafe.Pointer) (ok js.Ref) 1622 1623 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Finish1 1624 //go:noescape 1625 func HasFuncGPURenderBundleEncoderFinish1(this js.Ref) js.Ref 1626 1627 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Finish1 1628 //go:noescape 1629 func FuncGPURenderBundleEncoderFinish1(this js.Ref, fn unsafe.Pointer) 1630 1631 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Finish1 1632 //go:noescape 1633 func CallGPURenderBundleEncoderFinish1( 1634 this js.Ref, retPtr unsafe.Pointer) 1635 1636 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Finish1 1637 //go:noescape 1638 func TryGPURenderBundleEncoderFinish1( 1639 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 1640 1641 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetPipeline 1642 //go:noescape 1643 func HasFuncGPURenderBundleEncoderSetPipeline(this js.Ref) js.Ref 1644 1645 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetPipeline 1646 //go:noescape 1647 func FuncGPURenderBundleEncoderSetPipeline(this js.Ref, fn unsafe.Pointer) 1648 1649 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetPipeline 1650 //go:noescape 1651 func CallGPURenderBundleEncoderSetPipeline( 1652 this js.Ref, retPtr unsafe.Pointer, 1653 pipeline js.Ref) 1654 1655 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetPipeline 1656 //go:noescape 1657 func TryGPURenderBundleEncoderSetPipeline( 1658 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1659 pipeline js.Ref) (ok js.Ref) 1660 1661 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetIndexBuffer 1662 //go:noescape 1663 func HasFuncGPURenderBundleEncoderSetIndexBuffer(this js.Ref) js.Ref 1664 1665 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetIndexBuffer 1666 //go:noescape 1667 func FuncGPURenderBundleEncoderSetIndexBuffer(this js.Ref, fn unsafe.Pointer) 1668 1669 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetIndexBuffer 1670 //go:noescape 1671 func CallGPURenderBundleEncoderSetIndexBuffer( 1672 this js.Ref, retPtr unsafe.Pointer, 1673 buffer js.Ref, 1674 indexFormat uint32, 1675 offset float64, 1676 size float64) 1677 1678 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetIndexBuffer 1679 //go:noescape 1680 func TryGPURenderBundleEncoderSetIndexBuffer( 1681 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1682 buffer js.Ref, 1683 indexFormat uint32, 1684 offset float64, 1685 size float64) (ok js.Ref) 1686 1687 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetIndexBuffer1 1688 //go:noescape 1689 func HasFuncGPURenderBundleEncoderSetIndexBuffer1(this js.Ref) js.Ref 1690 1691 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetIndexBuffer1 1692 //go:noescape 1693 func FuncGPURenderBundleEncoderSetIndexBuffer1(this js.Ref, fn unsafe.Pointer) 1694 1695 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetIndexBuffer1 1696 //go:noescape 1697 func CallGPURenderBundleEncoderSetIndexBuffer1( 1698 this js.Ref, retPtr unsafe.Pointer, 1699 buffer js.Ref, 1700 indexFormat uint32, 1701 offset float64) 1702 1703 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetIndexBuffer1 1704 //go:noescape 1705 func TryGPURenderBundleEncoderSetIndexBuffer1( 1706 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1707 buffer js.Ref, 1708 indexFormat uint32, 1709 offset float64) (ok js.Ref) 1710 1711 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetIndexBuffer2 1712 //go:noescape 1713 func HasFuncGPURenderBundleEncoderSetIndexBuffer2(this js.Ref) js.Ref 1714 1715 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetIndexBuffer2 1716 //go:noescape 1717 func FuncGPURenderBundleEncoderSetIndexBuffer2(this js.Ref, fn unsafe.Pointer) 1718 1719 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetIndexBuffer2 1720 //go:noescape 1721 func CallGPURenderBundleEncoderSetIndexBuffer2( 1722 this js.Ref, retPtr unsafe.Pointer, 1723 buffer js.Ref, 1724 indexFormat uint32) 1725 1726 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetIndexBuffer2 1727 //go:noescape 1728 func TryGPURenderBundleEncoderSetIndexBuffer2( 1729 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1730 buffer js.Ref, 1731 indexFormat uint32) (ok js.Ref) 1732 1733 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetVertexBuffer 1734 //go:noescape 1735 func HasFuncGPURenderBundleEncoderSetVertexBuffer(this js.Ref) js.Ref 1736 1737 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetVertexBuffer 1738 //go:noescape 1739 func FuncGPURenderBundleEncoderSetVertexBuffer(this js.Ref, fn unsafe.Pointer) 1740 1741 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetVertexBuffer 1742 //go:noescape 1743 func CallGPURenderBundleEncoderSetVertexBuffer( 1744 this js.Ref, retPtr unsafe.Pointer, 1745 slot uint32, 1746 buffer js.Ref, 1747 offset float64, 1748 size float64) 1749 1750 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetVertexBuffer 1751 //go:noescape 1752 func TryGPURenderBundleEncoderSetVertexBuffer( 1753 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1754 slot uint32, 1755 buffer js.Ref, 1756 offset float64, 1757 size float64) (ok js.Ref) 1758 1759 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetVertexBuffer1 1760 //go:noescape 1761 func HasFuncGPURenderBundleEncoderSetVertexBuffer1(this js.Ref) js.Ref 1762 1763 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetVertexBuffer1 1764 //go:noescape 1765 func FuncGPURenderBundleEncoderSetVertexBuffer1(this js.Ref, fn unsafe.Pointer) 1766 1767 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetVertexBuffer1 1768 //go:noescape 1769 func CallGPURenderBundleEncoderSetVertexBuffer1( 1770 this js.Ref, retPtr unsafe.Pointer, 1771 slot uint32, 1772 buffer js.Ref, 1773 offset float64) 1774 1775 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetVertexBuffer1 1776 //go:noescape 1777 func TryGPURenderBundleEncoderSetVertexBuffer1( 1778 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1779 slot uint32, 1780 buffer js.Ref, 1781 offset float64) (ok js.Ref) 1782 1783 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetVertexBuffer2 1784 //go:noescape 1785 func HasFuncGPURenderBundleEncoderSetVertexBuffer2(this js.Ref) js.Ref 1786 1787 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetVertexBuffer2 1788 //go:noescape 1789 func FuncGPURenderBundleEncoderSetVertexBuffer2(this js.Ref, fn unsafe.Pointer) 1790 1791 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetVertexBuffer2 1792 //go:noescape 1793 func CallGPURenderBundleEncoderSetVertexBuffer2( 1794 this js.Ref, retPtr unsafe.Pointer, 1795 slot uint32, 1796 buffer js.Ref) 1797 1798 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetVertexBuffer2 1799 //go:noescape 1800 func TryGPURenderBundleEncoderSetVertexBuffer2( 1801 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1802 slot uint32, 1803 buffer js.Ref) (ok js.Ref) 1804 1805 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Draw 1806 //go:noescape 1807 func HasFuncGPURenderBundleEncoderDraw(this js.Ref) js.Ref 1808 1809 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Draw 1810 //go:noescape 1811 func FuncGPURenderBundleEncoderDraw(this js.Ref, fn unsafe.Pointer) 1812 1813 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Draw 1814 //go:noescape 1815 func CallGPURenderBundleEncoderDraw( 1816 this js.Ref, retPtr unsafe.Pointer, 1817 vertexCount uint32, 1818 instanceCount uint32, 1819 firstVertex uint32, 1820 firstInstance uint32) 1821 1822 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Draw 1823 //go:noescape 1824 func TryGPURenderBundleEncoderDraw( 1825 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1826 vertexCount uint32, 1827 instanceCount uint32, 1828 firstVertex uint32, 1829 firstInstance uint32) (ok js.Ref) 1830 1831 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Draw1 1832 //go:noescape 1833 func HasFuncGPURenderBundleEncoderDraw1(this js.Ref) js.Ref 1834 1835 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Draw1 1836 //go:noescape 1837 func FuncGPURenderBundleEncoderDraw1(this js.Ref, fn unsafe.Pointer) 1838 1839 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Draw1 1840 //go:noescape 1841 func CallGPURenderBundleEncoderDraw1( 1842 this js.Ref, retPtr unsafe.Pointer, 1843 vertexCount uint32, 1844 instanceCount uint32, 1845 firstVertex uint32) 1846 1847 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Draw1 1848 //go:noescape 1849 func TryGPURenderBundleEncoderDraw1( 1850 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1851 vertexCount uint32, 1852 instanceCount uint32, 1853 firstVertex uint32) (ok js.Ref) 1854 1855 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Draw2 1856 //go:noescape 1857 func HasFuncGPURenderBundleEncoderDraw2(this js.Ref) js.Ref 1858 1859 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Draw2 1860 //go:noescape 1861 func FuncGPURenderBundleEncoderDraw2(this js.Ref, fn unsafe.Pointer) 1862 1863 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Draw2 1864 //go:noescape 1865 func CallGPURenderBundleEncoderDraw2( 1866 this js.Ref, retPtr unsafe.Pointer, 1867 vertexCount uint32, 1868 instanceCount uint32) 1869 1870 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Draw2 1871 //go:noescape 1872 func TryGPURenderBundleEncoderDraw2( 1873 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1874 vertexCount uint32, 1875 instanceCount uint32) (ok js.Ref) 1876 1877 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_Draw3 1878 //go:noescape 1879 func HasFuncGPURenderBundleEncoderDraw3(this js.Ref) js.Ref 1880 1881 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_Draw3 1882 //go:noescape 1883 func FuncGPURenderBundleEncoderDraw3(this js.Ref, fn unsafe.Pointer) 1884 1885 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_Draw3 1886 //go:noescape 1887 func CallGPURenderBundleEncoderDraw3( 1888 this js.Ref, retPtr unsafe.Pointer, 1889 vertexCount uint32) 1890 1891 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_Draw3 1892 //go:noescape 1893 func TryGPURenderBundleEncoderDraw3( 1894 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1895 vertexCount uint32) (ok js.Ref) 1896 1897 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexed 1898 //go:noescape 1899 func HasFuncGPURenderBundleEncoderDrawIndexed(this js.Ref) js.Ref 1900 1901 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexed 1902 //go:noescape 1903 func FuncGPURenderBundleEncoderDrawIndexed(this js.Ref, fn unsafe.Pointer) 1904 1905 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexed 1906 //go:noescape 1907 func CallGPURenderBundleEncoderDrawIndexed( 1908 this js.Ref, retPtr unsafe.Pointer, 1909 indexCount uint32, 1910 instanceCount uint32, 1911 firstIndex uint32, 1912 baseVertex int32, 1913 firstInstance uint32) 1914 1915 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexed 1916 //go:noescape 1917 func TryGPURenderBundleEncoderDrawIndexed( 1918 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1919 indexCount uint32, 1920 instanceCount uint32, 1921 firstIndex uint32, 1922 baseVertex int32, 1923 firstInstance uint32) (ok js.Ref) 1924 1925 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexed1 1926 //go:noescape 1927 func HasFuncGPURenderBundleEncoderDrawIndexed1(this js.Ref) js.Ref 1928 1929 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexed1 1930 //go:noescape 1931 func FuncGPURenderBundleEncoderDrawIndexed1(this js.Ref, fn unsafe.Pointer) 1932 1933 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexed1 1934 //go:noescape 1935 func CallGPURenderBundleEncoderDrawIndexed1( 1936 this js.Ref, retPtr unsafe.Pointer, 1937 indexCount uint32, 1938 instanceCount uint32, 1939 firstIndex uint32, 1940 baseVertex int32) 1941 1942 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexed1 1943 //go:noescape 1944 func TryGPURenderBundleEncoderDrawIndexed1( 1945 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1946 indexCount uint32, 1947 instanceCount uint32, 1948 firstIndex uint32, 1949 baseVertex int32) (ok js.Ref) 1950 1951 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexed2 1952 //go:noescape 1953 func HasFuncGPURenderBundleEncoderDrawIndexed2(this js.Ref) js.Ref 1954 1955 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexed2 1956 //go:noescape 1957 func FuncGPURenderBundleEncoderDrawIndexed2(this js.Ref, fn unsafe.Pointer) 1958 1959 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexed2 1960 //go:noescape 1961 func CallGPURenderBundleEncoderDrawIndexed2( 1962 this js.Ref, retPtr unsafe.Pointer, 1963 indexCount uint32, 1964 instanceCount uint32, 1965 firstIndex uint32) 1966 1967 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexed2 1968 //go:noescape 1969 func TryGPURenderBundleEncoderDrawIndexed2( 1970 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1971 indexCount uint32, 1972 instanceCount uint32, 1973 firstIndex uint32) (ok js.Ref) 1974 1975 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexed3 1976 //go:noescape 1977 func HasFuncGPURenderBundleEncoderDrawIndexed3(this js.Ref) js.Ref 1978 1979 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexed3 1980 //go:noescape 1981 func FuncGPURenderBundleEncoderDrawIndexed3(this js.Ref, fn unsafe.Pointer) 1982 1983 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexed3 1984 //go:noescape 1985 func CallGPURenderBundleEncoderDrawIndexed3( 1986 this js.Ref, retPtr unsafe.Pointer, 1987 indexCount uint32, 1988 instanceCount uint32) 1989 1990 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexed3 1991 //go:noescape 1992 func TryGPURenderBundleEncoderDrawIndexed3( 1993 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 1994 indexCount uint32, 1995 instanceCount uint32) (ok js.Ref) 1996 1997 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexed4 1998 //go:noescape 1999 func HasFuncGPURenderBundleEncoderDrawIndexed4(this js.Ref) js.Ref 2000 2001 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexed4 2002 //go:noescape 2003 func FuncGPURenderBundleEncoderDrawIndexed4(this js.Ref, fn unsafe.Pointer) 2004 2005 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexed4 2006 //go:noescape 2007 func CallGPURenderBundleEncoderDrawIndexed4( 2008 this js.Ref, retPtr unsafe.Pointer, 2009 indexCount uint32) 2010 2011 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexed4 2012 //go:noescape 2013 func TryGPURenderBundleEncoderDrawIndexed4( 2014 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2015 indexCount uint32) (ok js.Ref) 2016 2017 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndirect 2018 //go:noescape 2019 func HasFuncGPURenderBundleEncoderDrawIndirect(this js.Ref) js.Ref 2020 2021 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndirect 2022 //go:noescape 2023 func FuncGPURenderBundleEncoderDrawIndirect(this js.Ref, fn unsafe.Pointer) 2024 2025 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndirect 2026 //go:noescape 2027 func CallGPURenderBundleEncoderDrawIndirect( 2028 this js.Ref, retPtr unsafe.Pointer, 2029 indirectBuffer js.Ref, 2030 indirectOffset float64) 2031 2032 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndirect 2033 //go:noescape 2034 func TryGPURenderBundleEncoderDrawIndirect( 2035 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2036 indirectBuffer js.Ref, 2037 indirectOffset float64) (ok js.Ref) 2038 2039 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_DrawIndexedIndirect 2040 //go:noescape 2041 func HasFuncGPURenderBundleEncoderDrawIndexedIndirect(this js.Ref) js.Ref 2042 2043 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_DrawIndexedIndirect 2044 //go:noescape 2045 func FuncGPURenderBundleEncoderDrawIndexedIndirect(this js.Ref, fn unsafe.Pointer) 2046 2047 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_DrawIndexedIndirect 2048 //go:noescape 2049 func CallGPURenderBundleEncoderDrawIndexedIndirect( 2050 this js.Ref, retPtr unsafe.Pointer, 2051 indirectBuffer js.Ref, 2052 indirectOffset float64) 2053 2054 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_DrawIndexedIndirect 2055 //go:noescape 2056 func TryGPURenderBundleEncoderDrawIndexedIndirect( 2057 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2058 indirectBuffer js.Ref, 2059 indirectOffset float64) (ok js.Ref) 2060 2061 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetBindGroup 2062 //go:noescape 2063 func HasFuncGPURenderBundleEncoderSetBindGroup(this js.Ref) js.Ref 2064 2065 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetBindGroup 2066 //go:noescape 2067 func FuncGPURenderBundleEncoderSetBindGroup(this js.Ref, fn unsafe.Pointer) 2068 2069 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetBindGroup 2070 //go:noescape 2071 func CallGPURenderBundleEncoderSetBindGroup( 2072 this js.Ref, retPtr unsafe.Pointer, 2073 index uint32, 2074 bindGroup js.Ref, 2075 dynamicOffsets js.Ref) 2076 2077 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetBindGroup 2078 //go:noescape 2079 func TryGPURenderBundleEncoderSetBindGroup( 2080 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2081 index uint32, 2082 bindGroup js.Ref, 2083 dynamicOffsets js.Ref) (ok js.Ref) 2084 2085 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetBindGroup1 2086 //go:noescape 2087 func HasFuncGPURenderBundleEncoderSetBindGroup1(this js.Ref) js.Ref 2088 2089 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetBindGroup1 2090 //go:noescape 2091 func FuncGPURenderBundleEncoderSetBindGroup1(this js.Ref, fn unsafe.Pointer) 2092 2093 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetBindGroup1 2094 //go:noescape 2095 func CallGPURenderBundleEncoderSetBindGroup1( 2096 this js.Ref, retPtr unsafe.Pointer, 2097 index uint32, 2098 bindGroup js.Ref) 2099 2100 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetBindGroup1 2101 //go:noescape 2102 func TryGPURenderBundleEncoderSetBindGroup1( 2103 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2104 index uint32, 2105 bindGroup js.Ref) (ok js.Ref) 2106 2107 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_SetBindGroup2 2108 //go:noescape 2109 func HasFuncGPURenderBundleEncoderSetBindGroup2(this js.Ref) js.Ref 2110 2111 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_SetBindGroup2 2112 //go:noescape 2113 func FuncGPURenderBundleEncoderSetBindGroup2(this js.Ref, fn unsafe.Pointer) 2114 2115 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_SetBindGroup2 2116 //go:noescape 2117 func CallGPURenderBundleEncoderSetBindGroup2( 2118 this js.Ref, retPtr unsafe.Pointer, 2119 index uint32, 2120 bindGroup js.Ref, 2121 dynamicOffsetsData js.Ref, 2122 dynamicOffsetsDataStart float64, 2123 dynamicOffsetsDataLength uint32) 2124 2125 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_SetBindGroup2 2126 //go:noescape 2127 func TryGPURenderBundleEncoderSetBindGroup2( 2128 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2129 index uint32, 2130 bindGroup js.Ref, 2131 dynamicOffsetsData js.Ref, 2132 dynamicOffsetsDataStart float64, 2133 dynamicOffsetsDataLength uint32) (ok js.Ref) 2134 2135 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_PushDebugGroup 2136 //go:noescape 2137 func HasFuncGPURenderBundleEncoderPushDebugGroup(this js.Ref) js.Ref 2138 2139 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_PushDebugGroup 2140 //go:noescape 2141 func FuncGPURenderBundleEncoderPushDebugGroup(this js.Ref, fn unsafe.Pointer) 2142 2143 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_PushDebugGroup 2144 //go:noescape 2145 func CallGPURenderBundleEncoderPushDebugGroup( 2146 this js.Ref, retPtr unsafe.Pointer, 2147 groupLabel js.Ref) 2148 2149 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_PushDebugGroup 2150 //go:noescape 2151 func TryGPURenderBundleEncoderPushDebugGroup( 2152 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2153 groupLabel js.Ref) (ok js.Ref) 2154 2155 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_PopDebugGroup 2156 //go:noescape 2157 func HasFuncGPURenderBundleEncoderPopDebugGroup(this js.Ref) js.Ref 2158 2159 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_PopDebugGroup 2160 //go:noescape 2161 func FuncGPURenderBundleEncoderPopDebugGroup(this js.Ref, fn unsafe.Pointer) 2162 2163 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_PopDebugGroup 2164 //go:noescape 2165 func CallGPURenderBundleEncoderPopDebugGroup( 2166 this js.Ref, retPtr unsafe.Pointer) 2167 2168 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_PopDebugGroup 2169 //go:noescape 2170 func TryGPURenderBundleEncoderPopDebugGroup( 2171 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 2172 2173 //go:wasmimport plat/js/web has_GPURenderBundleEncoder_InsertDebugMarker 2174 //go:noescape 2175 func HasFuncGPURenderBundleEncoderInsertDebugMarker(this js.Ref) js.Ref 2176 2177 //go:wasmimport plat/js/web func_GPURenderBundleEncoder_InsertDebugMarker 2178 //go:noescape 2179 func FuncGPURenderBundleEncoderInsertDebugMarker(this js.Ref, fn unsafe.Pointer) 2180 2181 //go:wasmimport plat/js/web call_GPURenderBundleEncoder_InsertDebugMarker 2182 //go:noescape 2183 func CallGPURenderBundleEncoderInsertDebugMarker( 2184 this js.Ref, retPtr unsafe.Pointer, 2185 markerLabel js.Ref) 2186 2187 //go:wasmimport plat/js/web try_GPURenderBundleEncoder_InsertDebugMarker 2188 //go:noescape 2189 func TryGPURenderBundleEncoderInsertDebugMarker( 2190 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2191 markerLabel js.Ref) (ok js.Ref) 2192 2193 //go:wasmimport plat/js/web store_GPURenderBundleEncoderDescriptor 2194 //go:noescape 2195 func GPURenderBundleEncoderDescriptorJSStore( 2196 ptr unsafe.Pointer, ref js.Ref) 2197 2198 //go:wasmimport plat/js/web load_GPURenderBundleEncoderDescriptor 2199 //go:noescape 2200 func GPURenderBundleEncoderDescriptorJSLoad( 2201 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2202 2203 //go:wasmimport plat/js/web store_GPUQuerySetDescriptor 2204 //go:noescape 2205 func GPUQuerySetDescriptorJSStore( 2206 ptr unsafe.Pointer, ref js.Ref) 2207 2208 //go:wasmimport plat/js/web load_GPUQuerySetDescriptor 2209 //go:noescape 2210 func GPUQuerySetDescriptorJSLoad( 2211 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2212 2213 //go:wasmimport plat/js/web constof_GPUErrorFilter 2214 //go:noescape 2215 func ConstOfGPUErrorFilter(str js.Ref) uint32 2216 2217 //go:wasmimport plat/js/web get_GPUError_Message 2218 //go:noescape 2219 func GetGPUErrorMessage( 2220 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2221 2222 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxTextureDimension1D 2223 //go:noescape 2224 func GetGPUSupportedLimitsMaxTextureDimension1D( 2225 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2226 2227 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxTextureDimension2D 2228 //go:noescape 2229 func GetGPUSupportedLimitsMaxTextureDimension2D( 2230 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2231 2232 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxTextureDimension3D 2233 //go:noescape 2234 func GetGPUSupportedLimitsMaxTextureDimension3D( 2235 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2236 2237 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxTextureArrayLayers 2238 //go:noescape 2239 func GetGPUSupportedLimitsMaxTextureArrayLayers( 2240 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2241 2242 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxBindGroups 2243 //go:noescape 2244 func GetGPUSupportedLimitsMaxBindGroups( 2245 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2246 2247 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxBindGroupsPlusVertexBuffers 2248 //go:noescape 2249 func GetGPUSupportedLimitsMaxBindGroupsPlusVertexBuffers( 2250 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2251 2252 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxBindingsPerBindGroup 2253 //go:noescape 2254 func GetGPUSupportedLimitsMaxBindingsPerBindGroup( 2255 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2256 2257 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxDynamicUniformBuffersPerPipelineLayout 2258 //go:noescape 2259 func GetGPUSupportedLimitsMaxDynamicUniformBuffersPerPipelineLayout( 2260 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2261 2262 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxDynamicStorageBuffersPerPipelineLayout 2263 //go:noescape 2264 func GetGPUSupportedLimitsMaxDynamicStorageBuffersPerPipelineLayout( 2265 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2266 2267 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxSampledTexturesPerShaderStage 2268 //go:noescape 2269 func GetGPUSupportedLimitsMaxSampledTexturesPerShaderStage( 2270 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2271 2272 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxSamplersPerShaderStage 2273 //go:noescape 2274 func GetGPUSupportedLimitsMaxSamplersPerShaderStage( 2275 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2276 2277 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxStorageBuffersPerShaderStage 2278 //go:noescape 2279 func GetGPUSupportedLimitsMaxStorageBuffersPerShaderStage( 2280 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2281 2282 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxStorageTexturesPerShaderStage 2283 //go:noescape 2284 func GetGPUSupportedLimitsMaxStorageTexturesPerShaderStage( 2285 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2286 2287 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxUniformBuffersPerShaderStage 2288 //go:noescape 2289 func GetGPUSupportedLimitsMaxUniformBuffersPerShaderStage( 2290 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2291 2292 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxUniformBufferBindingSize 2293 //go:noescape 2294 func GetGPUSupportedLimitsMaxUniformBufferBindingSize( 2295 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2296 2297 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxStorageBufferBindingSize 2298 //go:noescape 2299 func GetGPUSupportedLimitsMaxStorageBufferBindingSize( 2300 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2301 2302 //go:wasmimport plat/js/web get_GPUSupportedLimits_MinUniformBufferOffsetAlignment 2303 //go:noescape 2304 func GetGPUSupportedLimitsMinUniformBufferOffsetAlignment( 2305 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2306 2307 //go:wasmimport plat/js/web get_GPUSupportedLimits_MinStorageBufferOffsetAlignment 2308 //go:noescape 2309 func GetGPUSupportedLimitsMinStorageBufferOffsetAlignment( 2310 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2311 2312 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxVertexBuffers 2313 //go:noescape 2314 func GetGPUSupportedLimitsMaxVertexBuffers( 2315 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2316 2317 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxBufferSize 2318 //go:noescape 2319 func GetGPUSupportedLimitsMaxBufferSize( 2320 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2321 2322 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxVertexAttributes 2323 //go:noescape 2324 func GetGPUSupportedLimitsMaxVertexAttributes( 2325 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2326 2327 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxVertexBufferArrayStride 2328 //go:noescape 2329 func GetGPUSupportedLimitsMaxVertexBufferArrayStride( 2330 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2331 2332 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxInterStageShaderComponents 2333 //go:noescape 2334 func GetGPUSupportedLimitsMaxInterStageShaderComponents( 2335 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2336 2337 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxInterStageShaderVariables 2338 //go:noescape 2339 func GetGPUSupportedLimitsMaxInterStageShaderVariables( 2340 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2341 2342 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxColorAttachments 2343 //go:noescape 2344 func GetGPUSupportedLimitsMaxColorAttachments( 2345 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2346 2347 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxColorAttachmentBytesPerSample 2348 //go:noescape 2349 func GetGPUSupportedLimitsMaxColorAttachmentBytesPerSample( 2350 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2351 2352 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeWorkgroupStorageSize 2353 //go:noescape 2354 func GetGPUSupportedLimitsMaxComputeWorkgroupStorageSize( 2355 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2356 2357 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeInvocationsPerWorkgroup 2358 //go:noescape 2359 func GetGPUSupportedLimitsMaxComputeInvocationsPerWorkgroup( 2360 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2361 2362 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeWorkgroupSizeX 2363 //go:noescape 2364 func GetGPUSupportedLimitsMaxComputeWorkgroupSizeX( 2365 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2366 2367 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeWorkgroupSizeY 2368 //go:noescape 2369 func GetGPUSupportedLimitsMaxComputeWorkgroupSizeY( 2370 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2371 2372 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeWorkgroupSizeZ 2373 //go:noescape 2374 func GetGPUSupportedLimitsMaxComputeWorkgroupSizeZ( 2375 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2376 2377 //go:wasmimport plat/js/web get_GPUSupportedLimits_MaxComputeWorkgroupsPerDimension 2378 //go:noescape 2379 func GetGPUSupportedLimitsMaxComputeWorkgroupsPerDimension( 2380 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2381 2382 //go:wasmimport plat/js/web store_GPUImageDataLayout 2383 //go:noescape 2384 func GPUImageDataLayoutJSStore( 2385 ptr unsafe.Pointer, ref js.Ref) 2386 2387 //go:wasmimport plat/js/web load_GPUImageDataLayout 2388 //go:noescape 2389 func GPUImageDataLayoutJSLoad( 2390 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2391 2392 //go:wasmimport plat/js/web store_GPUOrigin2DDict 2393 //go:noescape 2394 func GPUOrigin2DDictJSStore( 2395 ptr unsafe.Pointer, ref js.Ref) 2396 2397 //go:wasmimport plat/js/web load_GPUOrigin2DDict 2398 //go:noescape 2399 func GPUOrigin2DDictJSLoad( 2400 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2401 2402 //go:wasmimport plat/js/web store_GPUImageCopyExternalImage 2403 //go:noescape 2404 func GPUImageCopyExternalImageJSStore( 2405 ptr unsafe.Pointer, ref js.Ref) 2406 2407 //go:wasmimport plat/js/web load_GPUImageCopyExternalImage 2408 //go:noescape 2409 func GPUImageCopyExternalImageJSLoad( 2410 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2411 2412 //go:wasmimport plat/js/web store_GPUImageCopyTextureTagged 2413 //go:noescape 2414 func GPUImageCopyTextureTaggedJSStore( 2415 ptr unsafe.Pointer, ref js.Ref) 2416 2417 //go:wasmimport plat/js/web load_GPUImageCopyTextureTagged 2418 //go:noescape 2419 func GPUImageCopyTextureTaggedJSLoad( 2420 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 2421 2422 //go:wasmimport plat/js/web get_GPUQueue_Label 2423 //go:noescape 2424 func GetGPUQueueLabel( 2425 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2426 2427 //go:wasmimport plat/js/web set_GPUQueue_Label 2428 //go:noescape 2429 func SetGPUQueueLabel( 2430 this js.Ref, 2431 val js.Ref, 2432 ) js.Ref 2433 2434 //go:wasmimport plat/js/web has_GPUQueue_Submit 2435 //go:noescape 2436 func HasFuncGPUQueueSubmit(this js.Ref) js.Ref 2437 2438 //go:wasmimport plat/js/web func_GPUQueue_Submit 2439 //go:noescape 2440 func FuncGPUQueueSubmit(this js.Ref, fn unsafe.Pointer) 2441 2442 //go:wasmimport plat/js/web call_GPUQueue_Submit 2443 //go:noescape 2444 func CallGPUQueueSubmit( 2445 this js.Ref, retPtr unsafe.Pointer, 2446 commandBuffers js.Ref) 2447 2448 //go:wasmimport plat/js/web try_GPUQueue_Submit 2449 //go:noescape 2450 func TryGPUQueueSubmit( 2451 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2452 commandBuffers js.Ref) (ok js.Ref) 2453 2454 //go:wasmimport plat/js/web has_GPUQueue_OnSubmittedWorkDone 2455 //go:noescape 2456 func HasFuncGPUQueueOnSubmittedWorkDone(this js.Ref) js.Ref 2457 2458 //go:wasmimport plat/js/web func_GPUQueue_OnSubmittedWorkDone 2459 //go:noescape 2460 func FuncGPUQueueOnSubmittedWorkDone(this js.Ref, fn unsafe.Pointer) 2461 2462 //go:wasmimport plat/js/web call_GPUQueue_OnSubmittedWorkDone 2463 //go:noescape 2464 func CallGPUQueueOnSubmittedWorkDone( 2465 this js.Ref, retPtr unsafe.Pointer) 2466 2467 //go:wasmimport plat/js/web try_GPUQueue_OnSubmittedWorkDone 2468 //go:noescape 2469 func TryGPUQueueOnSubmittedWorkDone( 2470 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 2471 2472 //go:wasmimport plat/js/web has_GPUQueue_WriteBuffer 2473 //go:noescape 2474 func HasFuncGPUQueueWriteBuffer(this js.Ref) js.Ref 2475 2476 //go:wasmimport plat/js/web func_GPUQueue_WriteBuffer 2477 //go:noescape 2478 func FuncGPUQueueWriteBuffer(this js.Ref, fn unsafe.Pointer) 2479 2480 //go:wasmimport plat/js/web call_GPUQueue_WriteBuffer 2481 //go:noescape 2482 func CallGPUQueueWriteBuffer( 2483 this js.Ref, retPtr unsafe.Pointer, 2484 buffer js.Ref, 2485 bufferOffset float64, 2486 data js.Ref, 2487 dataOffset float64, 2488 size float64) 2489 2490 //go:wasmimport plat/js/web try_GPUQueue_WriteBuffer 2491 //go:noescape 2492 func TryGPUQueueWriteBuffer( 2493 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2494 buffer js.Ref, 2495 bufferOffset float64, 2496 data js.Ref, 2497 dataOffset float64, 2498 size float64) (ok js.Ref) 2499 2500 //go:wasmimport plat/js/web has_GPUQueue_WriteBuffer1 2501 //go:noescape 2502 func HasFuncGPUQueueWriteBuffer1(this js.Ref) js.Ref 2503 2504 //go:wasmimport plat/js/web func_GPUQueue_WriteBuffer1 2505 //go:noescape 2506 func FuncGPUQueueWriteBuffer1(this js.Ref, fn unsafe.Pointer) 2507 2508 //go:wasmimport plat/js/web call_GPUQueue_WriteBuffer1 2509 //go:noescape 2510 func CallGPUQueueWriteBuffer1( 2511 this js.Ref, retPtr unsafe.Pointer, 2512 buffer js.Ref, 2513 bufferOffset float64, 2514 data js.Ref, 2515 dataOffset float64) 2516 2517 //go:wasmimport plat/js/web try_GPUQueue_WriteBuffer1 2518 //go:noescape 2519 func TryGPUQueueWriteBuffer1( 2520 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2521 buffer js.Ref, 2522 bufferOffset float64, 2523 data js.Ref, 2524 dataOffset float64) (ok js.Ref) 2525 2526 //go:wasmimport plat/js/web has_GPUQueue_WriteBuffer2 2527 //go:noescape 2528 func HasFuncGPUQueueWriteBuffer2(this js.Ref) js.Ref 2529 2530 //go:wasmimport plat/js/web func_GPUQueue_WriteBuffer2 2531 //go:noescape 2532 func FuncGPUQueueWriteBuffer2(this js.Ref, fn unsafe.Pointer) 2533 2534 //go:wasmimport plat/js/web call_GPUQueue_WriteBuffer2 2535 //go:noescape 2536 func CallGPUQueueWriteBuffer2( 2537 this js.Ref, retPtr unsafe.Pointer, 2538 buffer js.Ref, 2539 bufferOffset float64, 2540 data js.Ref) 2541 2542 //go:wasmimport plat/js/web try_GPUQueue_WriteBuffer2 2543 //go:noescape 2544 func TryGPUQueueWriteBuffer2( 2545 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2546 buffer js.Ref, 2547 bufferOffset float64, 2548 data js.Ref) (ok js.Ref) 2549 2550 //go:wasmimport plat/js/web has_GPUQueue_WriteTexture 2551 //go:noescape 2552 func HasFuncGPUQueueWriteTexture(this js.Ref) js.Ref 2553 2554 //go:wasmimport plat/js/web func_GPUQueue_WriteTexture 2555 //go:noescape 2556 func FuncGPUQueueWriteTexture(this js.Ref, fn unsafe.Pointer) 2557 2558 //go:wasmimport plat/js/web call_GPUQueue_WriteTexture 2559 //go:noescape 2560 func CallGPUQueueWriteTexture( 2561 this js.Ref, retPtr unsafe.Pointer, 2562 destination unsafe.Pointer, 2563 data js.Ref, 2564 dataLayout unsafe.Pointer, 2565 size js.Ref) 2566 2567 //go:wasmimport plat/js/web try_GPUQueue_WriteTexture 2568 //go:noescape 2569 func TryGPUQueueWriteTexture( 2570 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2571 destination unsafe.Pointer, 2572 data js.Ref, 2573 dataLayout unsafe.Pointer, 2574 size js.Ref) (ok js.Ref) 2575 2576 //go:wasmimport plat/js/web has_GPUQueue_CopyExternalImageToTexture 2577 //go:noescape 2578 func HasFuncGPUQueueCopyExternalImageToTexture(this js.Ref) js.Ref 2579 2580 //go:wasmimport plat/js/web func_GPUQueue_CopyExternalImageToTexture 2581 //go:noescape 2582 func FuncGPUQueueCopyExternalImageToTexture(this js.Ref, fn unsafe.Pointer) 2583 2584 //go:wasmimport plat/js/web call_GPUQueue_CopyExternalImageToTexture 2585 //go:noescape 2586 func CallGPUQueueCopyExternalImageToTexture( 2587 this js.Ref, retPtr unsafe.Pointer, 2588 source unsafe.Pointer, 2589 destination unsafe.Pointer, 2590 copySize js.Ref) 2591 2592 //go:wasmimport plat/js/web try_GPUQueue_CopyExternalImageToTexture 2593 //go:noescape 2594 func TryGPUQueueCopyExternalImageToTexture( 2595 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2596 source unsafe.Pointer, 2597 destination unsafe.Pointer, 2598 copySize js.Ref) (ok js.Ref) 2599 2600 //go:wasmimport plat/js/web constof_GPUDeviceLostReason 2601 //go:noescape 2602 func ConstOfGPUDeviceLostReason(str js.Ref) uint32 2603 2604 //go:wasmimport plat/js/web get_GPUDeviceLostInfo_Reason 2605 //go:noescape 2606 func GetGPUDeviceLostInfoReason( 2607 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2608 2609 //go:wasmimport plat/js/web get_GPUDeviceLostInfo_Message 2610 //go:noescape 2611 func GetGPUDeviceLostInfoMessage( 2612 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2613 2614 //go:wasmimport plat/js/web get_GPUDevice_Features 2615 //go:noescape 2616 func GetGPUDeviceFeatures( 2617 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2618 2619 //go:wasmimport plat/js/web get_GPUDevice_Limits 2620 //go:noescape 2621 func GetGPUDeviceLimits( 2622 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2623 2624 //go:wasmimport plat/js/web get_GPUDevice_Queue 2625 //go:noescape 2626 func GetGPUDeviceQueue( 2627 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2628 2629 //go:wasmimport plat/js/web get_GPUDevice_Lost 2630 //go:noescape 2631 func GetGPUDeviceLost( 2632 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2633 2634 //go:wasmimport plat/js/web get_GPUDevice_Label 2635 //go:noescape 2636 func GetGPUDeviceLabel( 2637 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 2638 2639 //go:wasmimport plat/js/web set_GPUDevice_Label 2640 //go:noescape 2641 func SetGPUDeviceLabel( 2642 this js.Ref, 2643 val js.Ref, 2644 ) js.Ref 2645 2646 //go:wasmimport plat/js/web has_GPUDevice_Destroy 2647 //go:noescape 2648 func HasFuncGPUDeviceDestroy(this js.Ref) js.Ref 2649 2650 //go:wasmimport plat/js/web func_GPUDevice_Destroy 2651 //go:noescape 2652 func FuncGPUDeviceDestroy(this js.Ref, fn unsafe.Pointer) 2653 2654 //go:wasmimport plat/js/web call_GPUDevice_Destroy 2655 //go:noescape 2656 func CallGPUDeviceDestroy( 2657 this js.Ref, retPtr unsafe.Pointer) 2658 2659 //go:wasmimport plat/js/web try_GPUDevice_Destroy 2660 //go:noescape 2661 func TryGPUDeviceDestroy( 2662 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 2663 2664 //go:wasmimport plat/js/web has_GPUDevice_CreateBuffer 2665 //go:noescape 2666 func HasFuncGPUDeviceCreateBuffer(this js.Ref) js.Ref 2667 2668 //go:wasmimport plat/js/web func_GPUDevice_CreateBuffer 2669 //go:noescape 2670 func FuncGPUDeviceCreateBuffer(this js.Ref, fn unsafe.Pointer) 2671 2672 //go:wasmimport plat/js/web call_GPUDevice_CreateBuffer 2673 //go:noescape 2674 func CallGPUDeviceCreateBuffer( 2675 this js.Ref, retPtr unsafe.Pointer, 2676 descriptor unsafe.Pointer) 2677 2678 //go:wasmimport plat/js/web try_GPUDevice_CreateBuffer 2679 //go:noescape 2680 func TryGPUDeviceCreateBuffer( 2681 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2682 descriptor unsafe.Pointer) (ok js.Ref) 2683 2684 //go:wasmimport plat/js/web has_GPUDevice_CreateTexture 2685 //go:noescape 2686 func HasFuncGPUDeviceCreateTexture(this js.Ref) js.Ref 2687 2688 //go:wasmimport plat/js/web func_GPUDevice_CreateTexture 2689 //go:noescape 2690 func FuncGPUDeviceCreateTexture(this js.Ref, fn unsafe.Pointer) 2691 2692 //go:wasmimport plat/js/web call_GPUDevice_CreateTexture 2693 //go:noescape 2694 func CallGPUDeviceCreateTexture( 2695 this js.Ref, retPtr unsafe.Pointer, 2696 descriptor unsafe.Pointer) 2697 2698 //go:wasmimport plat/js/web try_GPUDevice_CreateTexture 2699 //go:noescape 2700 func TryGPUDeviceCreateTexture( 2701 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2702 descriptor unsafe.Pointer) (ok js.Ref) 2703 2704 //go:wasmimport plat/js/web has_GPUDevice_CreateSampler 2705 //go:noescape 2706 func HasFuncGPUDeviceCreateSampler(this js.Ref) js.Ref 2707 2708 //go:wasmimport plat/js/web func_GPUDevice_CreateSampler 2709 //go:noescape 2710 func FuncGPUDeviceCreateSampler(this js.Ref, fn unsafe.Pointer) 2711 2712 //go:wasmimport plat/js/web call_GPUDevice_CreateSampler 2713 //go:noescape 2714 func CallGPUDeviceCreateSampler( 2715 this js.Ref, retPtr unsafe.Pointer, 2716 descriptor unsafe.Pointer) 2717 2718 //go:wasmimport plat/js/web try_GPUDevice_CreateSampler 2719 //go:noescape 2720 func TryGPUDeviceCreateSampler( 2721 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2722 descriptor unsafe.Pointer) (ok js.Ref) 2723 2724 //go:wasmimport plat/js/web has_GPUDevice_CreateSampler1 2725 //go:noescape 2726 func HasFuncGPUDeviceCreateSampler1(this js.Ref) js.Ref 2727 2728 //go:wasmimport plat/js/web func_GPUDevice_CreateSampler1 2729 //go:noescape 2730 func FuncGPUDeviceCreateSampler1(this js.Ref, fn unsafe.Pointer) 2731 2732 //go:wasmimport plat/js/web call_GPUDevice_CreateSampler1 2733 //go:noescape 2734 func CallGPUDeviceCreateSampler1( 2735 this js.Ref, retPtr unsafe.Pointer) 2736 2737 //go:wasmimport plat/js/web try_GPUDevice_CreateSampler1 2738 //go:noescape 2739 func TryGPUDeviceCreateSampler1( 2740 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 2741 2742 //go:wasmimport plat/js/web has_GPUDevice_ImportExternalTexture 2743 //go:noescape 2744 func HasFuncGPUDeviceImportExternalTexture(this js.Ref) js.Ref 2745 2746 //go:wasmimport plat/js/web func_GPUDevice_ImportExternalTexture 2747 //go:noescape 2748 func FuncGPUDeviceImportExternalTexture(this js.Ref, fn unsafe.Pointer) 2749 2750 //go:wasmimport plat/js/web call_GPUDevice_ImportExternalTexture 2751 //go:noescape 2752 func CallGPUDeviceImportExternalTexture( 2753 this js.Ref, retPtr unsafe.Pointer, 2754 descriptor unsafe.Pointer) 2755 2756 //go:wasmimport plat/js/web try_GPUDevice_ImportExternalTexture 2757 //go:noescape 2758 func TryGPUDeviceImportExternalTexture( 2759 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2760 descriptor unsafe.Pointer) (ok js.Ref) 2761 2762 //go:wasmimport plat/js/web has_GPUDevice_CreateBindGroupLayout 2763 //go:noescape 2764 func HasFuncGPUDeviceCreateBindGroupLayout(this js.Ref) js.Ref 2765 2766 //go:wasmimport plat/js/web func_GPUDevice_CreateBindGroupLayout 2767 //go:noescape 2768 func FuncGPUDeviceCreateBindGroupLayout(this js.Ref, fn unsafe.Pointer) 2769 2770 //go:wasmimport plat/js/web call_GPUDevice_CreateBindGroupLayout 2771 //go:noescape 2772 func CallGPUDeviceCreateBindGroupLayout( 2773 this js.Ref, retPtr unsafe.Pointer, 2774 descriptor unsafe.Pointer) 2775 2776 //go:wasmimport plat/js/web try_GPUDevice_CreateBindGroupLayout 2777 //go:noescape 2778 func TryGPUDeviceCreateBindGroupLayout( 2779 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2780 descriptor unsafe.Pointer) (ok js.Ref) 2781 2782 //go:wasmimport plat/js/web has_GPUDevice_CreatePipelineLayout 2783 //go:noescape 2784 func HasFuncGPUDeviceCreatePipelineLayout(this js.Ref) js.Ref 2785 2786 //go:wasmimport plat/js/web func_GPUDevice_CreatePipelineLayout 2787 //go:noescape 2788 func FuncGPUDeviceCreatePipelineLayout(this js.Ref, fn unsafe.Pointer) 2789 2790 //go:wasmimport plat/js/web call_GPUDevice_CreatePipelineLayout 2791 //go:noescape 2792 func CallGPUDeviceCreatePipelineLayout( 2793 this js.Ref, retPtr unsafe.Pointer, 2794 descriptor unsafe.Pointer) 2795 2796 //go:wasmimport plat/js/web try_GPUDevice_CreatePipelineLayout 2797 //go:noescape 2798 func TryGPUDeviceCreatePipelineLayout( 2799 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2800 descriptor unsafe.Pointer) (ok js.Ref) 2801 2802 //go:wasmimport plat/js/web has_GPUDevice_CreateBindGroup 2803 //go:noescape 2804 func HasFuncGPUDeviceCreateBindGroup(this js.Ref) js.Ref 2805 2806 //go:wasmimport plat/js/web func_GPUDevice_CreateBindGroup 2807 //go:noescape 2808 func FuncGPUDeviceCreateBindGroup(this js.Ref, fn unsafe.Pointer) 2809 2810 //go:wasmimport plat/js/web call_GPUDevice_CreateBindGroup 2811 //go:noescape 2812 func CallGPUDeviceCreateBindGroup( 2813 this js.Ref, retPtr unsafe.Pointer, 2814 descriptor unsafe.Pointer) 2815 2816 //go:wasmimport plat/js/web try_GPUDevice_CreateBindGroup 2817 //go:noescape 2818 func TryGPUDeviceCreateBindGroup( 2819 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2820 descriptor unsafe.Pointer) (ok js.Ref) 2821 2822 //go:wasmimport plat/js/web has_GPUDevice_CreateShaderModule 2823 //go:noescape 2824 func HasFuncGPUDeviceCreateShaderModule(this js.Ref) js.Ref 2825 2826 //go:wasmimport plat/js/web func_GPUDevice_CreateShaderModule 2827 //go:noescape 2828 func FuncGPUDeviceCreateShaderModule(this js.Ref, fn unsafe.Pointer) 2829 2830 //go:wasmimport plat/js/web call_GPUDevice_CreateShaderModule 2831 //go:noescape 2832 func CallGPUDeviceCreateShaderModule( 2833 this js.Ref, retPtr unsafe.Pointer, 2834 descriptor unsafe.Pointer) 2835 2836 //go:wasmimport plat/js/web try_GPUDevice_CreateShaderModule 2837 //go:noescape 2838 func TryGPUDeviceCreateShaderModule( 2839 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2840 descriptor unsafe.Pointer) (ok js.Ref) 2841 2842 //go:wasmimport plat/js/web has_GPUDevice_CreateComputePipeline 2843 //go:noescape 2844 func HasFuncGPUDeviceCreateComputePipeline(this js.Ref) js.Ref 2845 2846 //go:wasmimport plat/js/web func_GPUDevice_CreateComputePipeline 2847 //go:noescape 2848 func FuncGPUDeviceCreateComputePipeline(this js.Ref, fn unsafe.Pointer) 2849 2850 //go:wasmimport plat/js/web call_GPUDevice_CreateComputePipeline 2851 //go:noescape 2852 func CallGPUDeviceCreateComputePipeline( 2853 this js.Ref, retPtr unsafe.Pointer, 2854 descriptor unsafe.Pointer) 2855 2856 //go:wasmimport plat/js/web try_GPUDevice_CreateComputePipeline 2857 //go:noescape 2858 func TryGPUDeviceCreateComputePipeline( 2859 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2860 descriptor unsafe.Pointer) (ok js.Ref) 2861 2862 //go:wasmimport plat/js/web has_GPUDevice_CreateRenderPipeline 2863 //go:noescape 2864 func HasFuncGPUDeviceCreateRenderPipeline(this js.Ref) js.Ref 2865 2866 //go:wasmimport plat/js/web func_GPUDevice_CreateRenderPipeline 2867 //go:noescape 2868 func FuncGPUDeviceCreateRenderPipeline(this js.Ref, fn unsafe.Pointer) 2869 2870 //go:wasmimport plat/js/web call_GPUDevice_CreateRenderPipeline 2871 //go:noescape 2872 func CallGPUDeviceCreateRenderPipeline( 2873 this js.Ref, retPtr unsafe.Pointer, 2874 descriptor unsafe.Pointer) 2875 2876 //go:wasmimport plat/js/web try_GPUDevice_CreateRenderPipeline 2877 //go:noescape 2878 func TryGPUDeviceCreateRenderPipeline( 2879 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2880 descriptor unsafe.Pointer) (ok js.Ref) 2881 2882 //go:wasmimport plat/js/web has_GPUDevice_CreateComputePipelineAsync 2883 //go:noescape 2884 func HasFuncGPUDeviceCreateComputePipelineAsync(this js.Ref) js.Ref 2885 2886 //go:wasmimport plat/js/web func_GPUDevice_CreateComputePipelineAsync 2887 //go:noescape 2888 func FuncGPUDeviceCreateComputePipelineAsync(this js.Ref, fn unsafe.Pointer) 2889 2890 //go:wasmimport plat/js/web call_GPUDevice_CreateComputePipelineAsync 2891 //go:noescape 2892 func CallGPUDeviceCreateComputePipelineAsync( 2893 this js.Ref, retPtr unsafe.Pointer, 2894 descriptor unsafe.Pointer) 2895 2896 //go:wasmimport plat/js/web try_GPUDevice_CreateComputePipelineAsync 2897 //go:noescape 2898 func TryGPUDeviceCreateComputePipelineAsync( 2899 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2900 descriptor unsafe.Pointer) (ok js.Ref) 2901 2902 //go:wasmimport plat/js/web has_GPUDevice_CreateRenderPipelineAsync 2903 //go:noescape 2904 func HasFuncGPUDeviceCreateRenderPipelineAsync(this js.Ref) js.Ref 2905 2906 //go:wasmimport plat/js/web func_GPUDevice_CreateRenderPipelineAsync 2907 //go:noescape 2908 func FuncGPUDeviceCreateRenderPipelineAsync(this js.Ref, fn unsafe.Pointer) 2909 2910 //go:wasmimport plat/js/web call_GPUDevice_CreateRenderPipelineAsync 2911 //go:noescape 2912 func CallGPUDeviceCreateRenderPipelineAsync( 2913 this js.Ref, retPtr unsafe.Pointer, 2914 descriptor unsafe.Pointer) 2915 2916 //go:wasmimport plat/js/web try_GPUDevice_CreateRenderPipelineAsync 2917 //go:noescape 2918 func TryGPUDeviceCreateRenderPipelineAsync( 2919 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2920 descriptor unsafe.Pointer) (ok js.Ref) 2921 2922 //go:wasmimport plat/js/web has_GPUDevice_CreateCommandEncoder 2923 //go:noescape 2924 func HasFuncGPUDeviceCreateCommandEncoder(this js.Ref) js.Ref 2925 2926 //go:wasmimport plat/js/web func_GPUDevice_CreateCommandEncoder 2927 //go:noescape 2928 func FuncGPUDeviceCreateCommandEncoder(this js.Ref, fn unsafe.Pointer) 2929 2930 //go:wasmimport plat/js/web call_GPUDevice_CreateCommandEncoder 2931 //go:noescape 2932 func CallGPUDeviceCreateCommandEncoder( 2933 this js.Ref, retPtr unsafe.Pointer, 2934 descriptor unsafe.Pointer) 2935 2936 //go:wasmimport plat/js/web try_GPUDevice_CreateCommandEncoder 2937 //go:noescape 2938 func TryGPUDeviceCreateCommandEncoder( 2939 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2940 descriptor unsafe.Pointer) (ok js.Ref) 2941 2942 //go:wasmimport plat/js/web has_GPUDevice_CreateCommandEncoder1 2943 //go:noescape 2944 func HasFuncGPUDeviceCreateCommandEncoder1(this js.Ref) js.Ref 2945 2946 //go:wasmimport plat/js/web func_GPUDevice_CreateCommandEncoder1 2947 //go:noescape 2948 func FuncGPUDeviceCreateCommandEncoder1(this js.Ref, fn unsafe.Pointer) 2949 2950 //go:wasmimport plat/js/web call_GPUDevice_CreateCommandEncoder1 2951 //go:noescape 2952 func CallGPUDeviceCreateCommandEncoder1( 2953 this js.Ref, retPtr unsafe.Pointer) 2954 2955 //go:wasmimport plat/js/web try_GPUDevice_CreateCommandEncoder1 2956 //go:noescape 2957 func TryGPUDeviceCreateCommandEncoder1( 2958 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 2959 2960 //go:wasmimport plat/js/web has_GPUDevice_CreateRenderBundleEncoder 2961 //go:noescape 2962 func HasFuncGPUDeviceCreateRenderBundleEncoder(this js.Ref) js.Ref 2963 2964 //go:wasmimport plat/js/web func_GPUDevice_CreateRenderBundleEncoder 2965 //go:noescape 2966 func FuncGPUDeviceCreateRenderBundleEncoder(this js.Ref, fn unsafe.Pointer) 2967 2968 //go:wasmimport plat/js/web call_GPUDevice_CreateRenderBundleEncoder 2969 //go:noescape 2970 func CallGPUDeviceCreateRenderBundleEncoder( 2971 this js.Ref, retPtr unsafe.Pointer, 2972 descriptor unsafe.Pointer) 2973 2974 //go:wasmimport plat/js/web try_GPUDevice_CreateRenderBundleEncoder 2975 //go:noescape 2976 func TryGPUDeviceCreateRenderBundleEncoder( 2977 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2978 descriptor unsafe.Pointer) (ok js.Ref) 2979 2980 //go:wasmimport plat/js/web has_GPUDevice_CreateQuerySet 2981 //go:noescape 2982 func HasFuncGPUDeviceCreateQuerySet(this js.Ref) js.Ref 2983 2984 //go:wasmimport plat/js/web func_GPUDevice_CreateQuerySet 2985 //go:noescape 2986 func FuncGPUDeviceCreateQuerySet(this js.Ref, fn unsafe.Pointer) 2987 2988 //go:wasmimport plat/js/web call_GPUDevice_CreateQuerySet 2989 //go:noescape 2990 func CallGPUDeviceCreateQuerySet( 2991 this js.Ref, retPtr unsafe.Pointer, 2992 descriptor unsafe.Pointer) 2993 2994 //go:wasmimport plat/js/web try_GPUDevice_CreateQuerySet 2995 //go:noescape 2996 func TryGPUDeviceCreateQuerySet( 2997 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 2998 descriptor unsafe.Pointer) (ok js.Ref) 2999 3000 //go:wasmimport plat/js/web has_GPUDevice_PushErrorScope 3001 //go:noescape 3002 func HasFuncGPUDevicePushErrorScope(this js.Ref) js.Ref 3003 3004 //go:wasmimport plat/js/web func_GPUDevice_PushErrorScope 3005 //go:noescape 3006 func FuncGPUDevicePushErrorScope(this js.Ref, fn unsafe.Pointer) 3007 3008 //go:wasmimport plat/js/web call_GPUDevice_PushErrorScope 3009 //go:noescape 3010 func CallGPUDevicePushErrorScope( 3011 this js.Ref, retPtr unsafe.Pointer, 3012 filter uint32) 3013 3014 //go:wasmimport plat/js/web try_GPUDevice_PushErrorScope 3015 //go:noescape 3016 func TryGPUDevicePushErrorScope( 3017 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 3018 filter uint32) (ok js.Ref) 3019 3020 //go:wasmimport plat/js/web has_GPUDevice_PopErrorScope 3021 //go:noescape 3022 func HasFuncGPUDevicePopErrorScope(this js.Ref) js.Ref 3023 3024 //go:wasmimport plat/js/web func_GPUDevice_PopErrorScope 3025 //go:noescape 3026 func FuncGPUDevicePopErrorScope(this js.Ref, fn unsafe.Pointer) 3027 3028 //go:wasmimport plat/js/web call_GPUDevice_PopErrorScope 3029 //go:noescape 3030 func CallGPUDevicePopErrorScope( 3031 this js.Ref, retPtr unsafe.Pointer) 3032 3033 //go:wasmimport plat/js/web try_GPUDevice_PopErrorScope 3034 //go:noescape 3035 func TryGPUDevicePopErrorScope( 3036 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 3037 3038 //go:wasmimport plat/js/web constof_GPUCanvasAlphaMode 3039 //go:noescape 3040 func ConstOfGPUCanvasAlphaMode(str js.Ref) uint32 3041 3042 //go:wasmimport plat/js/web store_GPUCanvasConfiguration 3043 //go:noescape 3044 func GPUCanvasConfigurationJSStore( 3045 ptr unsafe.Pointer, ref js.Ref) 3046 3047 //go:wasmimport plat/js/web load_GPUCanvasConfiguration 3048 //go:noescape 3049 func GPUCanvasConfigurationJSLoad( 3050 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 3051 3052 //go:wasmimport plat/js/web get_GPUCanvasContext_Canvas 3053 //go:noescape 3054 func GetGPUCanvasContextCanvas( 3055 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 3056 3057 //go:wasmimport plat/js/web has_GPUCanvasContext_Configure 3058 //go:noescape 3059 func HasFuncGPUCanvasContextConfigure(this js.Ref) js.Ref 3060 3061 //go:wasmimport plat/js/web func_GPUCanvasContext_Configure 3062 //go:noescape 3063 func FuncGPUCanvasContextConfigure(this js.Ref, fn unsafe.Pointer) 3064 3065 //go:wasmimport plat/js/web call_GPUCanvasContext_Configure 3066 //go:noescape 3067 func CallGPUCanvasContextConfigure( 3068 this js.Ref, retPtr unsafe.Pointer, 3069 configuration unsafe.Pointer) 3070 3071 //go:wasmimport plat/js/web try_GPUCanvasContext_Configure 3072 //go:noescape 3073 func TryGPUCanvasContextConfigure( 3074 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 3075 configuration unsafe.Pointer) (ok js.Ref) 3076 3077 //go:wasmimport plat/js/web has_GPUCanvasContext_Unconfigure 3078 //go:noescape 3079 func HasFuncGPUCanvasContextUnconfigure(this js.Ref) js.Ref 3080 3081 //go:wasmimport plat/js/web func_GPUCanvasContext_Unconfigure 3082 //go:noescape 3083 func FuncGPUCanvasContextUnconfigure(this js.Ref, fn unsafe.Pointer) 3084 3085 //go:wasmimport plat/js/web call_GPUCanvasContext_Unconfigure 3086 //go:noescape 3087 func CallGPUCanvasContextUnconfigure( 3088 this js.Ref, retPtr unsafe.Pointer) 3089 3090 //go:wasmimport plat/js/web try_GPUCanvasContext_Unconfigure 3091 //go:noescape 3092 func TryGPUCanvasContextUnconfigure( 3093 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 3094 3095 //go:wasmimport plat/js/web has_GPUCanvasContext_GetCurrentTexture 3096 //go:noescape 3097 func HasFuncGPUCanvasContextGetCurrentTexture(this js.Ref) js.Ref 3098 3099 //go:wasmimport plat/js/web func_GPUCanvasContext_GetCurrentTexture 3100 //go:noescape 3101 func FuncGPUCanvasContextGetCurrentTexture(this js.Ref, fn unsafe.Pointer) 3102 3103 //go:wasmimport plat/js/web call_GPUCanvasContext_GetCurrentTexture 3104 //go:noescape 3105 func CallGPUCanvasContextGetCurrentTexture( 3106 this js.Ref, retPtr unsafe.Pointer) 3107 3108 //go:wasmimport plat/js/web try_GPUCanvasContext_GetCurrentTexture 3109 //go:noescape 3110 func TryGPUCanvasContextGetCurrentTexture( 3111 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)