refactor: Factoring out attribtues
This commit is contained in:
@@ -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" }
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user