public sealed class ClusterCullingRendererRuns the cluster traversal inside the frame, and lands the pages it asked for last frame.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
GpuCullingRenderer's sibling, placed for the same reason. The traversal's answer is consumed by a draw, and the only ordering this RHI can express without a fence or a semaphore is a barrier between two things in the same queue — so the dispatch has to be recorded where the draws that read it are recorded. That is what this does, at the head of the frame.
The page copies are recorded here too, and the order is the whole of why. A page that arrived on an I/O thread is bytes in a staging buffer; Flush turns them into copies into the pool. Those copies have to be recorded before the traversal's dispatch, because the traversal reads a slot table that already says the page is there — written by Prepare, which ran before this node. Flushing after the dispatch would mean one frame in which a cluster is drawn from a slot whose bytes are still in flight.
It declares no graph resources and is therefore a side effect, exactly as GpuCullingRenderer is: what it writes are buffers that outlive the graph, and what reads them is a draw call rather than a pass.
Fields and properties (5)
public GpuClusterVisibility? VisibilityThe traversal whose dispatch to record. Null does nothing at all.
public GpuClusterRaster? RasterThe raster whose draw arguments this frame's cluster count feeds. Null records nothing extra.
public GpuClusterSoftwareRaster? SoftwareThe software raster whose dispatch arguments this frame seeds. Null records nothing extra.
public MeshletPagePool? PagesThe pool whose arrived pages to copy in. Null records the dispatch and stops there.
public int LastPageCopiesHow many page copies the last frame recorded.
Methods (1)
protected internal override void Build(GraphicsCompositor compositor, CompositorFrame frame)Declares this node's render-graph passes.
Used by (4)
- CompositorAssetTestsVixen.Rendering.Tests
- CompositorBuilderVixen.Rendering
- SceneRenderHostTestsVixen.Engine.Renderer.Tests
- VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests