Expand description
Chunk pipeline nodes as self-contained units behind the ChunkNode trait.
Mirrors nodes/mod.rs for the chunk (grass/foliage) pipeline. Two nodes:
chunk-upload (CPU → GPU descriptor + instance buffers) and chunk-realize
(compute dispatch into the chunk multimesh). The graph is assembled from the
data-driven registry in build_chunk_pipeline.
GPU bodies are stubs; Task 10 fleshes them out.
Structs§
- Chunk
Bake - Chunk
Realize - Chunk
Registry - Node ids the job needs to address after the graph is built.
- Chunk
Scatter Compact - Chunk
Scatter Place - Chunk
Surface Custom - Chunk
Upload
Traits§
- Chunk
Node - A schedulable chunk operation. Knows its static name and how to record itself; resource reads/writes are owned by the registry, not the node.
Functions§
- build_
chunk_ pipeline - Build the chunk graph from the registry. Allocates resources, adds every node in registry order, and returns the ids the job addresses.