ReadonlynameHuman-readable identifier used in graph node labels and error messages.
ReadonlycountPersistent atomic counter — also COPY_SRC so callers can read the visible count.
StaticcreateOptionalstream?: booleanCompile the Tier-3 residency-aware cut (S3c): selects the
finest resident LOD per region from the mesh's pageBase/clusterPageId/childPage.
The mesh must be a StreamingClusterPool.
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.
Compute cluster cull for a ClusteredMesh: one thread per cluster tests frustum + normal-cone backface + optional Hi-Z occlusion, compacts survivors into a visible-cluster list, and writes the non-indexed
drawIndirectargs.The visible list + draw-args are graph transients so the graph orders cull → draw automatically; the persistent counter buffer (countBuffer) doubles as a CPU readback source for "drawn / total" stats.