Skip to content

LightingCompositeOptions

Defined in: lighting/src/LightingComposite.ts:20

Options for LightingComposite.

optional antialias?: boolean

Defined in: lighting/src/LightingComposite.ts:32

Antialias the light buffer. Default false.


optional bounce?: BounceLightOptions | null

Defined in: lighting/src/LightingComposite.ts:34

Bounced light combined with the buffer, or null for none.


height: number

Defined in: lighting/src/LightingComposite.ts:28

Buffer height in virtual pixels.


optional label?: string

Defined in: lighting/src/LightingComposite.ts:36

Label prefix for the buffers and sprites, shown in the Pixi devtools.


parent: DisplayContainer

Defined in: lighting/src/LightingComposite.ts:24

Screen-space container the finished light is shown in.


optional resolutionScale?: number

Defined in: lighting/src/LightingComposite.ts:30

Light-buffer texel density relative to the canvas. Default 1.


source: DisplayContainer

Defined in: lighting/src/LightingComposite.ts:22

The container a renderer draws one scene’s light into.


width: number

Defined in: lighting/src/LightingComposite.ts:26

Buffer width in virtual pixels.

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/lighting.md.