Header menu logo Mibo

ForwardFrame Type

Per-frame scene state passed to ForwardPipelineBase.Shade.

Record fields

Record Field Description

Lights

Full Usage: Lights

Field type: LightBuffers

The frame's accumulated lights.

Field type: LightBuffers

PointShadowSlots

Full Usage: PointShadowSlots

Field type: int[]

Per-light shadow atlas slots (-1 = no shadow), indexed by PointLights position.

Field type: int[]

Shadows

Full Usage: Shadows

Field type: ShadowResult voption
The frame's shadow pass output — ValueNone when no shadow-casting light.
 The user-effect scope uploads these uniforms by name so a custom shader can opt into shadows.
Field type: ShadowResult voption

SpotShadowSlots

Full Usage: SpotShadowSlots

Field type: int[]

Per-light shadow atlas slots (-1 = no shadow), indexed by SpotLights position.

Field type: int[]

Time

Full Usage: Time

Field type: float32

Total elapsed game time, in seconds — the time uniform for animated shaders.

Field type: float32

Type something to start searching.