Structs§
- Extracted
Tile Message - Message sent from the render world to the main world when a tile is read back from GPU.
- Pending
Readbacks - Render-world store of all in-flight readbacks.
- Terrain
Extractor - Queue of tiles to read back from the GPU.
Lives in both the main world (as a write target for game systems) and the render world
(consumed by
initiate_tile_readbacks). - Terrain
Extractor Plugin
Enums§
- Terrain
Render Sets - System sets for ordering terrain render-world work.
External plugins that write terrain textures (e.g.
wde-terrain-editor) should place their compute dispatch systems insideTerrainRenderSets::TextureWrite.initiate_tile_readbacksis configured to run after this set so it always captures post-compute texture data.
Functions§
- extract_
dirty - Transfer the main world’s extraction queue into the render world.
Called by
TerrainRendererGPU::extract_dirtyduring the Extract phase. - initiate_
tile_ readbacks - Render phase: copy each queued tile to a staging buffer and start async mapping.
Must run after the paint compute pass so the copy captures post-compute data.
This ordering is enforced in [
PaintProcessorPlugin].