Interface RendererOptions

Options for passing to the Renderer constructor

Hierarchy

  • RendererOptions

Properties

camera?: Camera

The camera to render with. If not specified, the renderer will render with a default camera.

canvas?: HTMLCanvasElement

The HTML canvas element to render to. Creates a canvas if not specified

enableDebugRenderer?: boolean

Enable the debug renderer

initTextRenderer?: boolean

Whether to initialize the text renderer. If you don't need to render text, you can set this to false to save some performance.

webglVersion?: 1 | 2

The WebGL version to use.

Generated using TypeDoc