ForwardFrame Type
Per-frame scene state the PBR handlers read (passed byref, no allocation).
Record fields
| Record Field |
Description
|
|
The pooled bone-palette scratch (shared with the shadow pass) for skinned draws.
|
|
The frame's accumulated lights.
|
Full Usage:
PointShadowSlots
Field type: int[]
|
Per-light shadow atlas slots (-1 = no shadow), indexed by PointLights position.
|
|
The frame's shadow pass output — ValueNone when no shadow-casting light / missing DepthShadow.fx. The user-effect scope (PbrShading.shadeWithEffect) uploads these uniforms by name so a custom effect can opt into shadow sampling.
|
Full Usage:
SpotShadowSlots
Field type: int[]
|
Per-light shadow atlas slots (-1 = no shadow), indexed by SpotLights position.
|
Full Usage:
Time
Field type: float32
|
The total elapsed game time, in seconds (
|
Mibo