Skip to content

RendererOptions

Options for the webgl2() and webgpu() renderer plugins.

optional background?: number

Clear color as 0xRRGGBB, like every other color in the API. Default 0x1a1a1a.


optional pixelArt?: boolean

Pixel art: textures, atlases and fonts load with filter: 'nearest' unless their options say otherwise.