Header menu logo Mibo

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.

Record fields

Record Field Description

Ambient

Full Usage: Ambient

Field type: AmbientLight3D voption
Modifiers: mutable

Ambient light for the frame (single slot).

Field type: AmbientLight3D voption

DirLights

Full Usage: DirLights

Field type: ResizeArray<DirectionalLight3D>

Directional lights accumulated this frame.

Field type: ResizeArray<DirectionalLight3D>

PointLights

Full Usage: PointLights

Field type: ResizeArray<PointLight3D>

Point lights accumulated this frame.

Field type: ResizeArray<PointLight3D>

SpotLights

Full Usage: SpotLights

Field type: ResizeArray<SpotLight3D>

Spot lights accumulated this frame.

Field type: ResizeArray<SpotLight3D>

Type something to start searching.