Internal: List of extensions libraries to load at startup
Emscripten GL object (cogs.esm.js: var GL = ..)
Internal: WASM memory as Int32 array (several versions exists)
Internal: WASM memory as Byte array (several versions exists)
Internal: WASM memory as Float array (several versions exists)
Internal: WASM memory as Uint32 (several versions exists)
Internal: WASM memory as Byte array (several versions exists)
Optional
TOTAL_get from
Internal: Free WASM memory returned by _malloc(..)
Internal: Allocate WASM memory
Cogs.js Main.cpp functions
Internal: register a function
WASM cwrap function providing.
Optional
parameterTypes: string[]Internal: Copy one value from WASM memory (inefficient recommend copyFromHeap for more than few values)
Internal: remove a WASM function added by addFunction
Internal: Full screen setup called from Control.requestFullscreen
Internal: Copy one value to WASM memory (inefficient recommend runWithHeap/utilPassArrayData for more than few values)
Internal: Allocate memory on call-stack
Internal: Restore stack to saved state
Internal: Save stack state
Internal: Interface to COGS Web Assembly module