Class: WASMWindowingPlugin

WASMWindows#WASMWindowingPlugin TInst(TInst, webAssemblyOptions, WASMMemory)

new WASMWindowingPlugin(TInst, webAssemblyOptions, WASMMemory)

A plugin that sends windowing functionality to WASM/C Usage: await WebAssembly.instantiate(bytes, new (WASMWindows.WASMWindowingPlugin(TypeOfWindowInstantiator))(wasmOptions, memory))
Parameters:
Name Type Description
TInst WindowInstantiator the type of WindowInstantiator to use (a type that implements WindowInstantiator)
webAssemblyOptions Object the options to pass through to WebAssembly
WASMMemory Uint8Array | WebAssembly.Memory The memory of the current WASM instance (for string-getting)
Source: