ReadonlynameHuman-readable identifier used in graph node labels and error messages.
StaticcreateUpload this frame's march parameters. Pass the SAME aerial params the lighting pass holds (plus its planet center/mode) and the toward-sun vector the aerial fog uses, so the volume and the composite agree.
Insert the pass into graph for one frame. Implementations call
graph.addPass(name, type, b => { ... }) exactly once and use the
supplied PassBuilder to declare reads, writes, transient
resources, and the execute callback.
Graph being built this frame.
Pass-specific dependency record (handles, scene data, etc.).
Pass-specific output record (typically a set of handles downstream passes will consume).
Release every long-lived GPU resource owned by the pass (pipelines, persistent uniform buffers, samplers, BGLs). Called by the factory or application during teardown. Default implementation is a no-op.
Bakes the aerial-perspective froxel volume each frame: one compute dispatch marching a 32×32 grid of view rays through 32 squared-depth slices (see aerial_volume.wgsl). DeferredLightingFeature runs it whenever aerial perspective is enabled and hands the two 3D textures to DeferredLightingPass, which applies the haze with a single trilinear tap per shaded pixel.