Initial support for run-length encoding of volumes when they are serialised to disk.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user