github.com/primecitizens/pcz/std@v0.2.1/plat/js/web/bindings/import56_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 store_VideoEncoderEncodeOptionsForAv1 20 //go:noescape 21 func VideoEncoderEncodeOptionsForAv1JSStore( 22 ptr unsafe.Pointer, ref js.Ref) 23 24 //go:wasmimport plat/js/web load_VideoEncoderEncodeOptionsForAv1 25 //go:noescape 26 func VideoEncoderEncodeOptionsForAv1JSLoad( 27 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 28 29 //go:wasmimport plat/js/web store_VideoEncoderEncodeOptionsForAvc 30 //go:noescape 31 func VideoEncoderEncodeOptionsForAvcJSStore( 32 ptr unsafe.Pointer, ref js.Ref) 33 34 //go:wasmimport plat/js/web load_VideoEncoderEncodeOptionsForAvc 35 //go:noescape 36 func VideoEncoderEncodeOptionsForAvcJSLoad( 37 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 38 39 //go:wasmimport plat/js/web store_VideoEncoderEncodeOptions 40 //go:noescape 41 func VideoEncoderEncodeOptionsJSStore( 42 ptr unsafe.Pointer, ref js.Ref) 43 44 //go:wasmimport plat/js/web load_VideoEncoderEncodeOptions 45 //go:noescape 46 func VideoEncoderEncodeOptionsJSLoad( 47 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 48 49 //go:wasmimport plat/js/web store_VideoEncoderSupport 50 //go:noescape 51 func VideoEncoderSupportJSStore( 52 ptr unsafe.Pointer, ref js.Ref) 53 54 //go:wasmimport plat/js/web load_VideoEncoderSupport 55 //go:noescape 56 func VideoEncoderSupportJSLoad( 57 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 58 59 //go:wasmimport plat/js/web new_VideoEncoder_VideoEncoder 60 //go:noescape 61 func NewVideoEncoderByVideoEncoder( 62 init unsafe.Pointer) js.Ref 63 64 //go:wasmimport plat/js/web get_VideoEncoder_State 65 //go:noescape 66 func GetVideoEncoderState( 67 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 68 69 //go:wasmimport plat/js/web get_VideoEncoder_EncodeQueueSize 70 //go:noescape 71 func GetVideoEncoderEncodeQueueSize( 72 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 73 74 //go:wasmimport plat/js/web has_VideoEncoder_Configure 75 //go:noescape 76 func HasFuncVideoEncoderConfigure(this js.Ref) js.Ref 77 78 //go:wasmimport plat/js/web func_VideoEncoder_Configure 79 //go:noescape 80 func FuncVideoEncoderConfigure(this js.Ref, fn unsafe.Pointer) 81 82 //go:wasmimport plat/js/web call_VideoEncoder_Configure 83 //go:noescape 84 func CallVideoEncoderConfigure( 85 this js.Ref, retPtr unsafe.Pointer, 86 config unsafe.Pointer) 87 88 //go:wasmimport plat/js/web try_VideoEncoder_Configure 89 //go:noescape 90 func TryVideoEncoderConfigure( 91 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 92 config unsafe.Pointer) (ok js.Ref) 93 94 //go:wasmimport plat/js/web has_VideoEncoder_Encode 95 //go:noescape 96 func HasFuncVideoEncoderEncode(this js.Ref) js.Ref 97 98 //go:wasmimport plat/js/web func_VideoEncoder_Encode 99 //go:noescape 100 func FuncVideoEncoderEncode(this js.Ref, fn unsafe.Pointer) 101 102 //go:wasmimport plat/js/web call_VideoEncoder_Encode 103 //go:noescape 104 func CallVideoEncoderEncode( 105 this js.Ref, retPtr unsafe.Pointer, 106 frame js.Ref, 107 options unsafe.Pointer) 108 109 //go:wasmimport plat/js/web try_VideoEncoder_Encode 110 //go:noescape 111 func TryVideoEncoderEncode( 112 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 113 frame js.Ref, 114 options unsafe.Pointer) (ok js.Ref) 115 116 //go:wasmimport plat/js/web has_VideoEncoder_Encode1 117 //go:noescape 118 func HasFuncVideoEncoderEncode1(this js.Ref) js.Ref 119 120 //go:wasmimport plat/js/web func_VideoEncoder_Encode1 121 //go:noescape 122 func FuncVideoEncoderEncode1(this js.Ref, fn unsafe.Pointer) 123 124 //go:wasmimport plat/js/web call_VideoEncoder_Encode1 125 //go:noescape 126 func CallVideoEncoderEncode1( 127 this js.Ref, retPtr unsafe.Pointer, 128 frame js.Ref) 129 130 //go:wasmimport plat/js/web try_VideoEncoder_Encode1 131 //go:noescape 132 func TryVideoEncoderEncode1( 133 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 134 frame js.Ref) (ok js.Ref) 135 136 //go:wasmimport plat/js/web has_VideoEncoder_Flush 137 //go:noescape 138 func HasFuncVideoEncoderFlush(this js.Ref) js.Ref 139 140 //go:wasmimport plat/js/web func_VideoEncoder_Flush 141 //go:noescape 142 func FuncVideoEncoderFlush(this js.Ref, fn unsafe.Pointer) 143 144 //go:wasmimport plat/js/web call_VideoEncoder_Flush 145 //go:noescape 146 func CallVideoEncoderFlush( 147 this js.Ref, retPtr unsafe.Pointer) 148 149 //go:wasmimport plat/js/web try_VideoEncoder_Flush 150 //go:noescape 151 func TryVideoEncoderFlush( 152 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 153 154 //go:wasmimport plat/js/web has_VideoEncoder_Reset 155 //go:noescape 156 func HasFuncVideoEncoderReset(this js.Ref) js.Ref 157 158 //go:wasmimport plat/js/web func_VideoEncoder_Reset 159 //go:noescape 160 func FuncVideoEncoderReset(this js.Ref, fn unsafe.Pointer) 161 162 //go:wasmimport plat/js/web call_VideoEncoder_Reset 163 //go:noescape 164 func CallVideoEncoderReset( 165 this js.Ref, retPtr unsafe.Pointer) 166 167 //go:wasmimport plat/js/web try_VideoEncoder_Reset 168 //go:noescape 169 func TryVideoEncoderReset( 170 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 171 172 //go:wasmimport plat/js/web has_VideoEncoder_Close 173 //go:noescape 174 func HasFuncVideoEncoderClose(this js.Ref) js.Ref 175 176 //go:wasmimport plat/js/web func_VideoEncoder_Close 177 //go:noescape 178 func FuncVideoEncoderClose(this js.Ref, fn unsafe.Pointer) 179 180 //go:wasmimport plat/js/web call_VideoEncoder_Close 181 //go:noescape 182 func CallVideoEncoderClose( 183 this js.Ref, retPtr unsafe.Pointer) 184 185 //go:wasmimport plat/js/web try_VideoEncoder_Close 186 //go:noescape 187 func TryVideoEncoderClose( 188 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 189 190 //go:wasmimport plat/js/web has_VideoEncoder_IsConfigSupported 191 //go:noescape 192 func HasFuncVideoEncoderIsConfigSupported(this js.Ref) js.Ref 193 194 //go:wasmimport plat/js/web func_VideoEncoder_IsConfigSupported 195 //go:noescape 196 func FuncVideoEncoderIsConfigSupported(this js.Ref, fn unsafe.Pointer) 197 198 //go:wasmimport plat/js/web call_VideoEncoder_IsConfigSupported 199 //go:noescape 200 func CallVideoEncoderIsConfigSupported( 201 this js.Ref, retPtr unsafe.Pointer, 202 config unsafe.Pointer) 203 204 //go:wasmimport plat/js/web try_VideoEncoder_IsConfigSupported 205 //go:noescape 206 func TryVideoEncoderIsConfigSupported( 207 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 208 config unsafe.Pointer) (ok js.Ref) 209 210 //go:wasmimport plat/js/web constof_VideoFacingModeEnum 211 //go:noescape 212 func ConstOfVideoFacingModeEnum(str js.Ref) uint32 213 214 //go:wasmimport plat/js/web constof_VideoResizeModeEnum 215 //go:noescape 216 func ConstOfVideoResizeModeEnum(str js.Ref) uint32 217 218 //go:wasmimport plat/js/web get_VideoTrackGenerator_Writable 219 //go:noescape 220 func GetVideoTrackGeneratorWritable( 221 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 222 223 //go:wasmimport plat/js/web get_VideoTrackGenerator_Muted 224 //go:noescape 225 func GetVideoTrackGeneratorMuted( 226 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 227 228 //go:wasmimport plat/js/web set_VideoTrackGenerator_Muted 229 //go:noescape 230 func SetVideoTrackGeneratorMuted( 231 this js.Ref, 232 val js.Ref, 233 ) js.Ref 234 235 //go:wasmimport plat/js/web get_VideoTrackGenerator_Track 236 //go:noescape 237 func GetVideoTrackGeneratorTrack( 238 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 239 240 //go:wasmimport plat/js/web store_ViewTimelineOptions 241 //go:noescape 242 func ViewTimelineOptionsJSStore( 243 ptr unsafe.Pointer, ref js.Ref) 244 245 //go:wasmimport plat/js/web load_ViewTimelineOptions 246 //go:noescape 247 func ViewTimelineOptionsJSLoad( 248 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 249 250 //go:wasmimport plat/js/web new_ViewTimeline_ViewTimeline 251 //go:noescape 252 func NewViewTimelineByViewTimeline( 253 options unsafe.Pointer) js.Ref 254 255 //go:wasmimport plat/js/web new_ViewTimeline_ViewTimeline1 256 //go:noescape 257 func NewViewTimelineByViewTimeline1() js.Ref 258 259 //go:wasmimport plat/js/web get_ViewTimeline_Subject 260 //go:noescape 261 func GetViewTimelineSubject( 262 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 263 264 //go:wasmimport plat/js/web get_ViewTimeline_StartOffset 265 //go:noescape 266 func GetViewTimelineStartOffset( 267 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 268 269 //go:wasmimport plat/js/web get_ViewTimeline_EndOffset 270 //go:noescape 271 func GetViewTimelineEndOffset( 272 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 273 274 //go:wasmimport plat/js/web get_VisibilityStateEntry_Name 275 //go:noescape 276 func GetVisibilityStateEntryName( 277 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 278 279 //go:wasmimport plat/js/web get_VisibilityStateEntry_EntryType 280 //go:noescape 281 func GetVisibilityStateEntryEntryType( 282 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 283 284 //go:wasmimport plat/js/web get_VisibilityStateEntry_StartTime 285 //go:noescape 286 func GetVisibilityStateEntryStartTime( 287 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 288 289 //go:wasmimport plat/js/web get_VisibilityStateEntry_Duration 290 //go:noescape 291 func GetVisibilityStateEntryDuration( 292 this js.Ref, retPtr unsafe.Pointer) (ok js.Ref) 293 294 //go:wasmimport plat/js/web has_WEBGL_compressed_texture_astc_GetSupportedProfiles 295 //go:noescape 296 func HasFuncWEBGL_compressed_texture_astcGetSupportedProfiles(this js.Ref) js.Ref 297 298 //go:wasmimport plat/js/web func_WEBGL_compressed_texture_astc_GetSupportedProfiles 299 //go:noescape 300 func FuncWEBGL_compressed_texture_astcGetSupportedProfiles(this js.Ref, fn unsafe.Pointer) 301 302 //go:wasmimport plat/js/web call_WEBGL_compressed_texture_astc_GetSupportedProfiles 303 //go:noescape 304 func CallWEBGL_compressed_texture_astcGetSupportedProfiles( 305 this js.Ref, retPtr unsafe.Pointer) 306 307 //go:wasmimport plat/js/web try_WEBGL_compressed_texture_astc_GetSupportedProfiles 308 //go:noescape 309 func TryWEBGL_compressed_texture_astcGetSupportedProfiles( 310 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 311 312 //go:wasmimport plat/js/web has_WEBGL_debug_shaders_GetTranslatedShaderSource 313 //go:noescape 314 func HasFuncWEBGL_debug_shadersGetTranslatedShaderSource(this js.Ref) js.Ref 315 316 //go:wasmimport plat/js/web func_WEBGL_debug_shaders_GetTranslatedShaderSource 317 //go:noescape 318 func FuncWEBGL_debug_shadersGetTranslatedShaderSource(this js.Ref, fn unsafe.Pointer) 319 320 //go:wasmimport plat/js/web call_WEBGL_debug_shaders_GetTranslatedShaderSource 321 //go:noescape 322 func CallWEBGL_debug_shadersGetTranslatedShaderSource( 323 this js.Ref, retPtr unsafe.Pointer, 324 shader js.Ref) 325 326 //go:wasmimport plat/js/web try_WEBGL_debug_shaders_GetTranslatedShaderSource 327 //go:noescape 328 func TryWEBGL_debug_shadersGetTranslatedShaderSource( 329 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 330 shader js.Ref) (ok js.Ref) 331 332 //go:wasmimport plat/js/web has_WEBGL_draw_buffers_DrawBuffersWEBGL 333 //go:noescape 334 func HasFuncWEBGL_draw_buffersDrawBuffersWEBGL(this js.Ref) js.Ref 335 336 //go:wasmimport plat/js/web func_WEBGL_draw_buffers_DrawBuffersWEBGL 337 //go:noescape 338 func FuncWEBGL_draw_buffersDrawBuffersWEBGL(this js.Ref, fn unsafe.Pointer) 339 340 //go:wasmimport plat/js/web call_WEBGL_draw_buffers_DrawBuffersWEBGL 341 //go:noescape 342 func CallWEBGL_draw_buffersDrawBuffersWEBGL( 343 this js.Ref, retPtr unsafe.Pointer, 344 buffers js.Ref) 345 346 //go:wasmimport plat/js/web try_WEBGL_draw_buffers_DrawBuffersWEBGL 347 //go:noescape 348 func TryWEBGL_draw_buffersDrawBuffersWEBGL( 349 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 350 buffers js.Ref) (ok js.Ref) 351 352 //go:wasmimport plat/js/web has_WEBGL_draw_instanced_base_vertex_base_instance_DrawArraysInstancedBaseInstanceWEBGL 353 //go:noescape 354 func HasFuncWEBGL_draw_instanced_base_vertex_base_instanceDrawArraysInstancedBaseInstanceWEBGL(this js.Ref) js.Ref 355 356 //go:wasmimport plat/js/web func_WEBGL_draw_instanced_base_vertex_base_instance_DrawArraysInstancedBaseInstanceWEBGL 357 //go:noescape 358 func FuncWEBGL_draw_instanced_base_vertex_base_instanceDrawArraysInstancedBaseInstanceWEBGL(this js.Ref, fn unsafe.Pointer) 359 360 //go:wasmimport plat/js/web call_WEBGL_draw_instanced_base_vertex_base_instance_DrawArraysInstancedBaseInstanceWEBGL 361 //go:noescape 362 func CallWEBGL_draw_instanced_base_vertex_base_instanceDrawArraysInstancedBaseInstanceWEBGL( 363 this js.Ref, retPtr unsafe.Pointer, 364 mode uint32, 365 first int32, 366 count int32, 367 instanceCount int32, 368 baseInstance uint32) 369 370 //go:wasmimport plat/js/web try_WEBGL_draw_instanced_base_vertex_base_instance_DrawArraysInstancedBaseInstanceWEBGL 371 //go:noescape 372 func TryWEBGL_draw_instanced_base_vertex_base_instanceDrawArraysInstancedBaseInstanceWEBGL( 373 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 374 mode uint32, 375 first int32, 376 count int32, 377 instanceCount int32, 378 baseInstance uint32) (ok js.Ref) 379 380 //go:wasmimport plat/js/web has_WEBGL_draw_instanced_base_vertex_base_instance_DrawElementsInstancedBaseVertexBaseInstanceWEBGL 381 //go:noescape 382 func HasFuncWEBGL_draw_instanced_base_vertex_base_instanceDrawElementsInstancedBaseVertexBaseInstanceWEBGL(this js.Ref) js.Ref 383 384 //go:wasmimport plat/js/web func_WEBGL_draw_instanced_base_vertex_base_instance_DrawElementsInstancedBaseVertexBaseInstanceWEBGL 385 //go:noescape 386 func FuncWEBGL_draw_instanced_base_vertex_base_instanceDrawElementsInstancedBaseVertexBaseInstanceWEBGL(this js.Ref, fn unsafe.Pointer) 387 388 //go:wasmimport plat/js/web call_WEBGL_draw_instanced_base_vertex_base_instance_DrawElementsInstancedBaseVertexBaseInstanceWEBGL 389 //go:noescape 390 func CallWEBGL_draw_instanced_base_vertex_base_instanceDrawElementsInstancedBaseVertexBaseInstanceWEBGL( 391 this js.Ref, retPtr unsafe.Pointer, 392 mode uint32, 393 count int32, 394 typ uint32, 395 offset float64, 396 instanceCount int32, 397 baseVertex int32, 398 baseInstance uint32) 399 400 //go:wasmimport plat/js/web try_WEBGL_draw_instanced_base_vertex_base_instance_DrawElementsInstancedBaseVertexBaseInstanceWEBGL 401 //go:noescape 402 func TryWEBGL_draw_instanced_base_vertex_base_instanceDrawElementsInstancedBaseVertexBaseInstanceWEBGL( 403 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 404 mode uint32, 405 count int32, 406 typ uint32, 407 offset float64, 408 instanceCount int32, 409 baseVertex int32, 410 baseInstance uint32) (ok js.Ref) 411 412 //go:wasmimport plat/js/web has_WEBGL_lose_context_LoseContext 413 //go:noescape 414 func HasFuncWEBGL_lose_contextLoseContext(this js.Ref) js.Ref 415 416 //go:wasmimport plat/js/web func_WEBGL_lose_context_LoseContext 417 //go:noescape 418 func FuncWEBGL_lose_contextLoseContext(this js.Ref, fn unsafe.Pointer) 419 420 //go:wasmimport plat/js/web call_WEBGL_lose_context_LoseContext 421 //go:noescape 422 func CallWEBGL_lose_contextLoseContext( 423 this js.Ref, retPtr unsafe.Pointer) 424 425 //go:wasmimport plat/js/web try_WEBGL_lose_context_LoseContext 426 //go:noescape 427 func TryWEBGL_lose_contextLoseContext( 428 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 429 430 //go:wasmimport plat/js/web has_WEBGL_lose_context_RestoreContext 431 //go:noescape 432 func HasFuncWEBGL_lose_contextRestoreContext(this js.Ref) js.Ref 433 434 //go:wasmimport plat/js/web func_WEBGL_lose_context_RestoreContext 435 //go:noescape 436 func FuncWEBGL_lose_contextRestoreContext(this js.Ref, fn unsafe.Pointer) 437 438 //go:wasmimport plat/js/web call_WEBGL_lose_context_RestoreContext 439 //go:noescape 440 func CallWEBGL_lose_contextRestoreContext( 441 this js.Ref, retPtr unsafe.Pointer) 442 443 //go:wasmimport plat/js/web try_WEBGL_lose_context_RestoreContext 444 //go:noescape 445 func TryWEBGL_lose_contextRestoreContext( 446 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref) 447 448 //go:wasmimport plat/js/web has_WEBGL_multi_draw_MultiDrawArraysWEBGL 449 //go:noescape 450 func HasFuncWEBGL_multi_drawMultiDrawArraysWEBGL(this js.Ref) js.Ref 451 452 //go:wasmimport plat/js/web func_WEBGL_multi_draw_MultiDrawArraysWEBGL 453 //go:noescape 454 func FuncWEBGL_multi_drawMultiDrawArraysWEBGL(this js.Ref, fn unsafe.Pointer) 455 456 //go:wasmimport plat/js/web call_WEBGL_multi_draw_MultiDrawArraysWEBGL 457 //go:noescape 458 func CallWEBGL_multi_drawMultiDrawArraysWEBGL( 459 this js.Ref, retPtr unsafe.Pointer, 460 mode uint32, 461 firstsList js.Ref, 462 firstsOffset uint32, 463 countsList js.Ref, 464 countsOffset uint32, 465 drawcount int32) 466 467 //go:wasmimport plat/js/web try_WEBGL_multi_draw_MultiDrawArraysWEBGL 468 //go:noescape 469 func TryWEBGL_multi_drawMultiDrawArraysWEBGL( 470 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 471 mode uint32, 472 firstsList js.Ref, 473 firstsOffset uint32, 474 countsList js.Ref, 475 countsOffset uint32, 476 drawcount int32) (ok js.Ref) 477 478 //go:wasmimport plat/js/web has_WEBGL_multi_draw_MultiDrawElementsWEBGL 479 //go:noescape 480 func HasFuncWEBGL_multi_drawMultiDrawElementsWEBGL(this js.Ref) js.Ref 481 482 //go:wasmimport plat/js/web func_WEBGL_multi_draw_MultiDrawElementsWEBGL 483 //go:noescape 484 func FuncWEBGL_multi_drawMultiDrawElementsWEBGL(this js.Ref, fn unsafe.Pointer) 485 486 //go:wasmimport plat/js/web call_WEBGL_multi_draw_MultiDrawElementsWEBGL 487 //go:noescape 488 func CallWEBGL_multi_drawMultiDrawElementsWEBGL( 489 this js.Ref, retPtr unsafe.Pointer, 490 mode uint32, 491 countsList js.Ref, 492 countsOffset uint32, 493 typ uint32, 494 offsetsList js.Ref, 495 offsetsOffset uint32, 496 drawcount int32) 497 498 //go:wasmimport plat/js/web try_WEBGL_multi_draw_MultiDrawElementsWEBGL 499 //go:noescape 500 func TryWEBGL_multi_drawMultiDrawElementsWEBGL( 501 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 502 mode uint32, 503 countsList js.Ref, 504 countsOffset uint32, 505 typ uint32, 506 offsetsList js.Ref, 507 offsetsOffset uint32, 508 drawcount int32) (ok js.Ref) 509 510 //go:wasmimport plat/js/web has_WEBGL_multi_draw_MultiDrawArraysInstancedWEBGL 511 //go:noescape 512 func HasFuncWEBGL_multi_drawMultiDrawArraysInstancedWEBGL(this js.Ref) js.Ref 513 514 //go:wasmimport plat/js/web func_WEBGL_multi_draw_MultiDrawArraysInstancedWEBGL 515 //go:noescape 516 func FuncWEBGL_multi_drawMultiDrawArraysInstancedWEBGL(this js.Ref, fn unsafe.Pointer) 517 518 //go:wasmimport plat/js/web call_WEBGL_multi_draw_MultiDrawArraysInstancedWEBGL 519 //go:noescape 520 func CallWEBGL_multi_drawMultiDrawArraysInstancedWEBGL( 521 this js.Ref, retPtr unsafe.Pointer, 522 mode uint32, 523 firstsList js.Ref, 524 firstsOffset uint32, 525 countsList js.Ref, 526 countsOffset uint32, 527 instanceCountsList js.Ref, 528 instanceCountsOffset uint32, 529 drawcount int32) 530 531 //go:wasmimport plat/js/web try_WEBGL_multi_draw_MultiDrawArraysInstancedWEBGL 532 //go:noescape 533 func TryWEBGL_multi_drawMultiDrawArraysInstancedWEBGL( 534 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 535 mode uint32, 536 firstsList js.Ref, 537 firstsOffset uint32, 538 countsList js.Ref, 539 countsOffset uint32, 540 instanceCountsList js.Ref, 541 instanceCountsOffset uint32, 542 drawcount int32) (ok js.Ref) 543 544 //go:wasmimport plat/js/web has_WEBGL_multi_draw_MultiDrawElementsInstancedWEBGL 545 //go:noescape 546 func HasFuncWEBGL_multi_drawMultiDrawElementsInstancedWEBGL(this js.Ref) js.Ref 547 548 //go:wasmimport plat/js/web func_WEBGL_multi_draw_MultiDrawElementsInstancedWEBGL 549 //go:noescape 550 func FuncWEBGL_multi_drawMultiDrawElementsInstancedWEBGL(this js.Ref, fn unsafe.Pointer) 551 552 //go:wasmimport plat/js/web call_WEBGL_multi_draw_MultiDrawElementsInstancedWEBGL 553 //go:noescape 554 func CallWEBGL_multi_drawMultiDrawElementsInstancedWEBGL( 555 this js.Ref, retPtr unsafe.Pointer, 556 mode uint32, 557 countsList js.Ref, 558 countsOffset uint32, 559 typ uint32, 560 offsetsList js.Ref, 561 offsetsOffset uint32, 562 instanceCountsList js.Ref, 563 instanceCountsOffset uint32, 564 drawcount int32) 565 566 //go:wasmimport plat/js/web try_WEBGL_multi_draw_MultiDrawElementsInstancedWEBGL 567 //go:noescape 568 func TryWEBGL_multi_drawMultiDrawElementsInstancedWEBGL( 569 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 570 mode uint32, 571 countsList js.Ref, 572 countsOffset uint32, 573 typ uint32, 574 offsetsList js.Ref, 575 offsetsOffset uint32, 576 instanceCountsList js.Ref, 577 instanceCountsOffset uint32, 578 drawcount int32) (ok js.Ref) 579 580 //go:wasmimport plat/js/web has_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawArraysInstancedBaseInstanceWEBGL 581 //go:noescape 582 func HasFuncWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawArraysInstancedBaseInstanceWEBGL(this js.Ref) js.Ref 583 584 //go:wasmimport plat/js/web func_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawArraysInstancedBaseInstanceWEBGL 585 //go:noescape 586 func FuncWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawArraysInstancedBaseInstanceWEBGL(this js.Ref, fn unsafe.Pointer) 587 588 //go:wasmimport plat/js/web call_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawArraysInstancedBaseInstanceWEBGL 589 //go:noescape 590 func CallWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawArraysInstancedBaseInstanceWEBGL( 591 this js.Ref, retPtr unsafe.Pointer, 592 mode uint32, 593 firstsList js.Ref, 594 firstsOffset uint32, 595 countsList js.Ref, 596 countsOffset uint32, 597 instanceCountsList js.Ref, 598 instanceCountsOffset uint32, 599 baseInstancesList js.Ref, 600 baseInstancesOffset uint32, 601 drawcount int32) 602 603 //go:wasmimport plat/js/web try_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawArraysInstancedBaseInstanceWEBGL 604 //go:noescape 605 func TryWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawArraysInstancedBaseInstanceWEBGL( 606 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 607 mode uint32, 608 firstsList js.Ref, 609 firstsOffset uint32, 610 countsList js.Ref, 611 countsOffset uint32, 612 instanceCountsList js.Ref, 613 instanceCountsOffset uint32, 614 baseInstancesList js.Ref, 615 baseInstancesOffset uint32, 616 drawcount int32) (ok js.Ref) 617 618 //go:wasmimport plat/js/web has_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL 619 //go:noescape 620 func HasFuncWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(this js.Ref) js.Ref 621 622 //go:wasmimport plat/js/web func_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL 623 //go:noescape 624 func FuncWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(this js.Ref, fn unsafe.Pointer) 625 626 //go:wasmimport plat/js/web call_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL 627 //go:noescape 628 func CallWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL( 629 this js.Ref, retPtr unsafe.Pointer, 630 mode uint32, 631 countsList js.Ref, 632 countsOffset uint32, 633 typ uint32, 634 offsetsList js.Ref, 635 offsetsOffset uint32, 636 instanceCountsList js.Ref, 637 instanceCountsOffset uint32, 638 baseVerticesList js.Ref, 639 baseVerticesOffset uint32, 640 baseInstancesList js.Ref, 641 baseInstancesOffset uint32, 642 drawcount int32) 643 644 //go:wasmimport plat/js/web try_WEBGL_multi_draw_instanced_base_vertex_base_instance_MultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL 645 //go:noescape 646 func TryWEBGL_multi_draw_instanced_base_vertex_base_instanceMultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL( 647 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 648 mode uint32, 649 countsList js.Ref, 650 countsOffset uint32, 651 typ uint32, 652 offsetsList js.Ref, 653 offsetsOffset uint32, 654 instanceCountsList js.Ref, 655 instanceCountsOffset uint32, 656 baseVerticesList js.Ref, 657 baseVerticesOffset uint32, 658 baseInstancesList js.Ref, 659 baseInstancesOffset uint32, 660 drawcount int32) (ok js.Ref) 661 662 //go:wasmimport plat/js/web has_WEBGL_provoking_vertex_ProvokingVertexWEBGL 663 //go:noescape 664 func HasFuncWEBGL_provoking_vertexProvokingVertexWEBGL(this js.Ref) js.Ref 665 666 //go:wasmimport plat/js/web func_WEBGL_provoking_vertex_ProvokingVertexWEBGL 667 //go:noescape 668 func FuncWEBGL_provoking_vertexProvokingVertexWEBGL(this js.Ref, fn unsafe.Pointer) 669 670 //go:wasmimport plat/js/web call_WEBGL_provoking_vertex_ProvokingVertexWEBGL 671 //go:noescape 672 func CallWEBGL_provoking_vertexProvokingVertexWEBGL( 673 this js.Ref, retPtr unsafe.Pointer, 674 provokeMode uint32) 675 676 //go:wasmimport plat/js/web try_WEBGL_provoking_vertex_ProvokingVertexWEBGL 677 //go:noescape 678 func TryWEBGL_provoking_vertexProvokingVertexWEBGL( 679 this js.Ref, retPtr unsafe.Pointer, errPtr unsafe.Pointer, 680 provokeMode uint32) (ok js.Ref) 681 682 //go:wasmimport plat/js/web store_WebAssemblyInstantiatedSource 683 //go:noescape 684 func WebAssemblyInstantiatedSourceJSStore( 685 ptr unsafe.Pointer, ref js.Ref) 686 687 //go:wasmimport plat/js/web load_WebAssemblyInstantiatedSource 688 //go:noescape 689 func WebAssemblyInstantiatedSourceJSLoad( 690 ptr unsafe.Pointer, create, ref js.Ref) js.Ref 691 692 //go:wasmimport plat/js/web has_WebAssembly_Validate 693 //go:noescape 694 func HasFuncWebAssemblyValidate() js.Ref 695 696 //go:wasmimport plat/js/web func_WebAssembly_Validate 697 //go:noescape 698 func FuncWebAssemblyValidate(fn unsafe.Pointer) 699 700 //go:wasmimport plat/js/web call_WebAssembly_Validate 701 //go:noescape 702 func CallWebAssemblyValidate( 703 retPtr unsafe.Pointer, 704 bytes js.Ref) 705 706 //go:wasmimport plat/js/web try_WebAssembly_Validate 707 //go:noescape 708 func TryWebAssemblyValidate( 709 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 710 bytes js.Ref) js.Ref 711 712 //go:wasmimport plat/js/web has_WebAssembly_Compile 713 //go:noescape 714 func HasFuncWebAssemblyCompile() js.Ref 715 716 //go:wasmimport plat/js/web func_WebAssembly_Compile 717 //go:noescape 718 func FuncWebAssemblyCompile(fn unsafe.Pointer) 719 720 //go:wasmimport plat/js/web call_WebAssembly_Compile 721 //go:noescape 722 func CallWebAssemblyCompile( 723 retPtr unsafe.Pointer, 724 bytes js.Ref) 725 726 //go:wasmimport plat/js/web try_WebAssembly_Compile 727 //go:noescape 728 func TryWebAssemblyCompile( 729 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 730 bytes js.Ref) js.Ref 731 732 //go:wasmimport plat/js/web has_WebAssembly_Instantiate 733 //go:noescape 734 func HasFuncWebAssemblyInstantiate() js.Ref 735 736 //go:wasmimport plat/js/web func_WebAssembly_Instantiate 737 //go:noescape 738 func FuncWebAssemblyInstantiate(fn unsafe.Pointer) 739 740 //go:wasmimport plat/js/web call_WebAssembly_Instantiate 741 //go:noescape 742 func CallWebAssemblyInstantiate( 743 retPtr unsafe.Pointer, 744 bytes js.Ref, 745 importObject js.Ref) 746 747 //go:wasmimport plat/js/web try_WebAssembly_Instantiate 748 //go:noescape 749 func TryWebAssemblyInstantiate( 750 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 751 bytes js.Ref, 752 importObject js.Ref) js.Ref 753 754 //go:wasmimport plat/js/web has_WebAssembly_Instantiate1 755 //go:noescape 756 func HasFuncWebAssemblyInstantiate1() js.Ref 757 758 //go:wasmimport plat/js/web func_WebAssembly_Instantiate1 759 //go:noescape 760 func FuncWebAssemblyInstantiate1(fn unsafe.Pointer) 761 762 //go:wasmimport plat/js/web call_WebAssembly_Instantiate1 763 //go:noescape 764 func CallWebAssemblyInstantiate1( 765 retPtr unsafe.Pointer, 766 bytes js.Ref) 767 768 //go:wasmimport plat/js/web try_WebAssembly_Instantiate1 769 //go:noescape 770 func TryWebAssemblyInstantiate1( 771 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 772 bytes js.Ref) js.Ref 773 774 //go:wasmimport plat/js/web has_WebAssembly_Instantiate2 775 //go:noescape 776 func HasFuncWebAssemblyInstantiate2() js.Ref 777 778 //go:wasmimport plat/js/web func_WebAssembly_Instantiate2 779 //go:noescape 780 func FuncWebAssemblyInstantiate2(fn unsafe.Pointer) 781 782 //go:wasmimport plat/js/web call_WebAssembly_Instantiate2 783 //go:noescape 784 func CallWebAssemblyInstantiate2( 785 retPtr unsafe.Pointer, 786 moduleObject js.Ref, 787 importObject js.Ref) 788 789 //go:wasmimport plat/js/web try_WebAssembly_Instantiate2 790 //go:noescape 791 func TryWebAssemblyInstantiate2( 792 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 793 moduleObject js.Ref, 794 importObject js.Ref) js.Ref 795 796 //go:wasmimport plat/js/web has_WebAssembly_Instantiate3 797 //go:noescape 798 func HasFuncWebAssemblyInstantiate3() js.Ref 799 800 //go:wasmimport plat/js/web func_WebAssembly_Instantiate3 801 //go:noescape 802 func FuncWebAssemblyInstantiate3(fn unsafe.Pointer) 803 804 //go:wasmimport plat/js/web call_WebAssembly_Instantiate3 805 //go:noescape 806 func CallWebAssemblyInstantiate3( 807 retPtr unsafe.Pointer, 808 moduleObject js.Ref) 809 810 //go:wasmimport plat/js/web try_WebAssembly_Instantiate3 811 //go:noescape 812 func TryWebAssemblyInstantiate3( 813 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 814 moduleObject js.Ref) js.Ref 815 816 //go:wasmimport plat/js/web has_WebAssembly_CompileStreaming 817 //go:noescape 818 func HasFuncWebAssemblyCompileStreaming() js.Ref 819 820 //go:wasmimport plat/js/web func_WebAssembly_CompileStreaming 821 //go:noescape 822 func FuncWebAssemblyCompileStreaming(fn unsafe.Pointer) 823 824 //go:wasmimport plat/js/web call_WebAssembly_CompileStreaming 825 //go:noescape 826 func CallWebAssemblyCompileStreaming( 827 retPtr unsafe.Pointer, 828 source js.Ref) 829 830 //go:wasmimport plat/js/web try_WebAssembly_CompileStreaming 831 //go:noescape 832 func TryWebAssemblyCompileStreaming( 833 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 834 source js.Ref) js.Ref 835 836 //go:wasmimport plat/js/web has_WebAssembly_InstantiateStreaming 837 //go:noescape 838 func HasFuncWebAssemblyInstantiateStreaming() js.Ref 839 840 //go:wasmimport plat/js/web func_WebAssembly_InstantiateStreaming 841 //go:noescape 842 func FuncWebAssemblyInstantiateStreaming(fn unsafe.Pointer) 843 844 //go:wasmimport plat/js/web call_WebAssembly_InstantiateStreaming 845 //go:noescape 846 func CallWebAssemblyInstantiateStreaming( 847 retPtr unsafe.Pointer, 848 source js.Ref, 849 importObject js.Ref) 850 851 //go:wasmimport plat/js/web try_WebAssembly_InstantiateStreaming 852 //go:noescape 853 func TryWebAssemblyInstantiateStreaming( 854 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 855 source js.Ref, 856 importObject js.Ref) js.Ref 857 858 //go:wasmimport plat/js/web has_WebAssembly_InstantiateStreaming1 859 //go:noescape 860 func HasFuncWebAssemblyInstantiateStreaming1() js.Ref 861 862 //go:wasmimport plat/js/web func_WebAssembly_InstantiateStreaming1 863 //go:noescape 864 func FuncWebAssemblyInstantiateStreaming1(fn unsafe.Pointer) 865 866 //go:wasmimport plat/js/web call_WebAssembly_InstantiateStreaming1 867 //go:noescape 868 func CallWebAssemblyInstantiateStreaming1( 869 retPtr unsafe.Pointer, 870 source js.Ref) 871 872 //go:wasmimport plat/js/web try_WebAssembly_InstantiateStreaming1 873 //go:noescape 874 func TryWebAssemblyInstantiateStreaming1( 875 retPtr unsafe.Pointer, errPtr unsafe.Pointer, 876 source js.Ref) js.Ref 877 878 //go:wasmimport plat/js/web store_WebGLContextEventInit 879 //go:noescape 880 func WebGLContextEventInitJSStore( 881 ptr unsafe.Pointer, ref js.Ref) 882 883 //go:wasmimport plat/js/web load_WebGLContextEventInit 884 //go:noescape 885 func WebGLContextEventInitJSLoad( 886 ptr unsafe.Pointer, create, ref js.Ref) js.Ref