Initial support for run-length encoding of volumes when they are serialised to disk.

This commit is contained in:
David Williams
2009-02-22 12:25:51 +00:00
parent bc008f3606
commit 3c4411952a
2 changed files with 111 additions and 0 deletions

View File

@ -33,6 +33,9 @@ namespace PolyVox
{
POLYVOX_API BlockVolume<uint8>* loadVolumeRaw(std::istream& stream);
POLYVOX_API void saveVolumeRaw(std::ostream& stream, BlockVolume<uint8>& volume);
POLYVOX_API BlockVolume<uint8>* loadVolumeRle(std::istream& stream);
POLYVOX_API void saveVolumeRle(std::ostream& stream, BlockVolume<uint8>& volume);
}
#endif