This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
VoxelDataStore and VoxelColorStore why both? #56
Unanswered
TheAtomAnt
asked this question in
Q&A
Replies: 1 comment
-
That is fixed in the develop branch. I created a PerChunkStore and a PerVoxelStore. The PerVoxelStore is just a PerChunkStore<NativeArray>. Here are the links to those files
I use the PerChunkStore for storing the chunk properties, and I use PerVoxelStore for storing the voxel data (bytes) in PerVoxelStore and colors in PerVoxelStore. They still require different files (e.g. VoxelDataStore.cs and VoxelColorStore.cs) because they need some overrides. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I'm wondering about a design decision to separate VoxelDataStore and VoxelColorStore, and the corresponding voxel data. Ultimately it's an array of bytes, and an array of Color32. But why split that data into two parts?
Beta Was this translation helpful? Give feedback.
All reactions