Interface: AutoDetectOptions

AutoDetectOptions

Options for autoDetectRenderer.

Properties:
Name Type Description
preference "webgl" | "webgpu"

The preferred renderer type. WebGPU is recommended as its generally faster than WebGL.

webgl Partial<WebGLOptions>

Optional WebGLOptions to pass only to the WebGL renderer

webgpu Partial<WebGPUOptions>

Optional WebGPUOptions to pass only to WebGPU renderer.

Extends

  • RendererOptions

Members

preference "webgl" | "webgpu"

The preferred renderer type. WebGPU is recommended as its generally faster than WebGL.

webgl Partial<WebGLOptions>

Optional WebGLOptions to pass only to the WebGL renderer

webgpu Partial<WebGPUOptions>

Optional WebGPUOptions to pass only to WebGPU renderer.