module voxel.loaders.magica

Code for loading magicavoxel files.

Code Map

//! Code for loading magicavoxel files.
module voxel.loaders.magica;


class Loader
{
public:
	mVoxels: Voxel[];
	mColors: math.Color4b[];
	mLevels: u32;


public:
	this() { }
	fn loadFileFromData(fileData: void[], frames: u32[], data: void[], totalLevels: u32) bool { }
	fn loadFileFromData(data: const(void)[]) bool { }
	fn toBuffer(ib: InputBuffer, totalLevels: u32, repeat: bool) u32 { }
	fn toBufferXYZ64ABGR32() u32[] { }
}

fn isMagicaFile(fileData: void[]) bool { }