LightBuffers Type
Per-pipeline light accumulator. Created once at construction; cleared and repopulated
each frame (mirrors the canonical raylib LightBuffers double-scan pattern).
Public so custom pipelines and the shadow pass can read the gathered lights.
In single-camera frames the accumulator holds every light command in the buffer, frame-globally. In frames with more than one camera block the lights are scoped per block: a block that issues its own light commands resets the accumulator to the frame defaults (the light commands issued outside any camera block) and applies its own commands in-order; a block that issues none inherits the previous block's set.
Record fields
| Record Field |
Description
|
|
Ambient light for the active camera block (single slot).
|
|
Directional lights accumulated for the active camera block.
|
|
Point lights accumulated for the active camera block.
|
|
Spot lights accumulated for the active camera block.
|
Mibo