voxj-codec 0.1.0

Encodes voxj types into .voxj / .voxjz documents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// The encoding used for a voxel-sample block.
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum SampleEncoding {
    /// One row of cell indices per voxel.
    RawJson,

    /// One run-length-encoded channel per palette.
    RleJson,

    /// One bit-packed, base64-encoded channel per palette.
    PackedBase64,
}