voxj_codec/sample_encoding.rs
1/// The encoding used for a voxel-sample block.
2#[derive(Clone, Copy, Debug, Eq, PartialEq)]
3pub enum SampleEncoding {
4 /// One row of cell indices per voxel.
5 RawJson,
6
7 /// One run-length-encoded channel per palette.
8 RleJson,
9
10 /// One bit-packed, base64-encoded channel per palette.
11 PackedBase64,
12}