Support Forum G3D Web Page |
Parser for the MagicaVoxel sparse voxel format http://ephtracy.github.io/index.html?page=mv_vox_format. More...
Classes | |
class | Voxel |
Public Member Functions | |
void | parse (const char *ptr, size_t len) |
void | parse (BinaryInput &bi) |
Public Attributes | |
Color4unorm8 | palette [256] |
These are shifted from the file format, so that palette[0] is always transparent black and palette[1] is the first value from the palette file. More... | |
Vector3int32 | size |
Array< Voxel > | voxel |
Parser for the MagicaVoxel sparse voxel format http://ephtracy.github.io/index.html?page=mv_vox_format.
void G3D::ParseVOX::parse | ( | const char * | ptr, |
size_t | len | ||
) |
void G3D::ParseVOX::parse | ( | BinaryInput & | bi | ) |
Color4unorm8 G3D::ParseVOX::palette[256] |
These are shifted from the file format, so that palette[0] is always transparent black and palette[1] is the first value from the palette file.
Vector3int32 G3D::ParseVOX::size |