Skip to content

BackendOpts

Defined in: packages/threeplay/src/plugins/render/types.ts:27

What the render plugin hands to a backend factory (backends/*.ts).

antialias: boolean

Defined in: packages/threeplay/src/plugins/render/types.ts:31

Antialiasing.


canvas: HTMLCanvasElement | null

Defined in: packages/threeplay/src/plugins/render/types.ts:29

The canvas to draw into, or null for the headless backend.


shadows: boolean

Defined in: packages/threeplay/src/plugins/render/types.ts:33

Enable shadow maps.