refactor: Factoring out attribtues

This commit is contained in:
2026-11-22 16:28:52 +01:00
parent bbf9c4d0a8
commit 42f85757d5
20 changed files with 767 additions and 85 deletions
+1
View File
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2024"
[dependencies]
vxls-attributes = { path = "../vxls-attributes" }
vxls-bvh = { path = "../vxls-bvh" }
vxls-gpu = { path = "../vxls-gpu" }
vxls-production = { path = "../vxls-production" }
+3 -1
View File
@@ -83,6 +83,7 @@ use vxls_profiler::Frame;
use vxls_profiler::Profile;
use vxls_profiler::ProfilingEncoder;
use vxls_terrain::ToroidalStructureTable;
use vxls_voxel_cache::CacheLayout;
use vxls_voxel_cache::VoxelCache;
use vxls_voxel_cache::VoxelCacheInsertion;
use vxls_voxel_cache::insertion::CacheInsertionData;
@@ -396,7 +397,8 @@ impl State
let egui_renderer = EguiRenderer::new(&device, surface_format, &window);
let layout = crate::producers::VoxelAttributes::LAYOUT.to_cache_layout_only();
let layout =
CacheLayout::from_attributes(&crate::producers::VoxelAttributes::LAYOUT, &[]);
let request_buffer = CacheRequestBuffer::new(&device, 1024);
let voxel_cache =