Skip to content

LightStatus

Defined in: render/renderer.ts:113

What the light cap did to one light last frame, and what it did overall.

accepted false comes with the reason beside it: the cap logged a COUNT and dropped the rest, so which light went dark was a question only deleting lights could answer.

accepted: boolean

Defined in: render/renderer.ts:114


limit: number

Defined in: render/renderer.ts:118

The shader’s array bound — what accepted lights can never exceed.


refusal: "none" | "capacity"

Defined in: render/renderer.ts:116

Why not, when accepted is false; none otherwise.


refusedCount: number

Defined in: render/renderer.ts:122

How many the frame turned away, for a reader that wants the total.


requested: number

Defined in: render/renderer.ts:120

Lights that asked this frame.