API

Interface GlslangOptions

Options to load the associated Glslang library

interface GlslangOptions {
    glslang?: any;
    jsPath?: string;
    wasmPath?: string;
}
Index
glslang?: any

Defines an existing instance of Glslang (useful in modules who do not access the global instance).

jsPath?: string

Defines the URL of the glslang JS File.

wasmPath?: string

Defines the URL of the glslang WASM File.