branchrust_reboot/main/foliagegrid_optimizationcancel
32 Commits over 29 Days - 0.05cph!
Pooling and pre allocating the temporary instance list buffers to save memory
Added a command to run a single benchmark scene
Init some lists with an initial capacity
No longer need to add foliage meshes to MeshCache
Reverted from using NativeArray in places
Disabled read/write on some FoliageGrid meshes. Enabled mesh compression.
All consolidated into one BRG, bug fixes etc.
Moved to a singular BRG for the whole grid
Fixed batchgroup clearing
Merged most of each cells update into a single process, removing some cause of update delay and spikes.
Hooked everything back up to start testing.
Jobified instance copy. Changed the scope of FoliageGroup. No longer using FoliageKey, instead using FoliagePlacement as a key.
Merge from terrainmap_nativearray
FoliageKey now uses mesh as well as material
Removed FoliageRenderer class as it doesn't seem to be used any more...