#ifndef VOX_LOADER_H #define VOX_LOADER_H #include namespace zylann::voxel { class VoxelBuffer; class VoxelColorPalette; // Simple loader for MagicaVoxel class VoxelVoxLoader : public RefCounted { GDCLASS(VoxelVoxLoader, RefCounted); public: Error load_from_file(String fpath, Ref p_voxels, Ref palette); // TODO Have chunked loading for better memory usage // TODO Saving private: static void _bind_methods(); }; } // namespace zylann::voxel #endif // VOX_LOADER_H