CompilationOptions.wasm constructor

const CompilationOptions.wasm()

Creates a CompilationOptions object that compiles to WebAssembly.

Implementation

const CompilationOptions.wasm()
    : useWasm = true,
      renderer = WebRenderer.skwasm;