WebGL API
NovoRender.APIOptions
API creation options
Properties​
assetsUrl​
• Optional
assetsUrl: string
Url (without trailing slash) for alternative assets location. The default value is "https://blobs.novorender.com".
noOffscreenCanvas​
• Optional
noOffscreenCanvas: boolean
Flag to disable use of offscreen canvas.
scriptBaseUrl​
• Optional
scriptBaseUrl: string
Base URL from where to load worker script and wasm files.
Remarks
The URL can be absolute or relative to the location of the main api script.
webGL1Only​
• Optional
webGL1Only: boolean