29 return _total_file_size;
44 INLINE VertexDataSaveBlock::
57 _compressed = compressed;
A temporary file to hold the vertex data that has been evicted from memory and written to disk.
bool is_valid() const
Returns true if the save file was successfully created and is ready for use, false if there was an er...
void set_compressed(bool compressed)
Sets the compressed flag.
size_t get_total_file_size() const
Returns the amount of space consumed by the save file, including unused portions.
bool get_compressed() const
Returns the compressed flag.
A single block as returned from SimpleAllocator::alloc().
size_t get_used_file_size() const
Returns the amount of space within the save file that is currently in use.
size_t get_total_size() const
Returns the total size of allocated objects.