Interface: IViewerAppOptions
Core-API.IViewerAppOptions
Options for the ViewerApp creation.
Properties
canvas
• Optional canvas: HTMLCanvasElement
The canvas element to use for rendering.
container
• Optional container: HTMLElement
The container for the canvas. Only one of container and canvas must be specified.
screenShader
• Optional screenShader: TViewerScreenShader
The fragment shader snippet to render on screen. not used with TonemapPlugin
isAntialiased
• Optional isAntialiased: boolean
Use MSAA. Not supported yet
useRgbm
• Optional useRgbm: boolean
Use RGBM HDR Pipeline
useGBufferDepth
• Optional useGBufferDepth: boolean
Use rendered gbuffer as depth-prepass.
assetManager
• Optional assetManager: boolean | AssetManagerOptions
Options for the asset manager plugin. If set to false, the asset manager plugin will not be added.
dropzone
• Optional dropzone: boolean
Toggle for the Dropzone Plugin, will be added if set to true.
maxHDRIntensity
• Optional maxHDRIntensity: number
Values above this can be clamped, defaults - 16 if rbgm, 80 if not.