Skip to main content

Module gpu_mesh_sync

Module gpu_mesh_sync 

Source
Expand description

CPU → GPU mesh sync — uploads any newly-spawned HandleComponent<Mesh> to the device cache and tags the entity with HandleComponent<GpuMesh>.

Runs in TickPhase::PreExtract so it lands before RenderFlow projects the world. Replaces the previous hardcoded proj.sync_all call in the engine tick.