VertexDataSaveFile

class VertexDataSaveFile

Bases: SimpleAllocator

A temporary file to hold the vertex data that has been evicted from memory and written to disk. All vertex data arrays are written into one large flat file.

Inheritance diagram

Inheritance diagram of VertexDataSaveFile

std::size_t get_total_file_size(void) const

Returns the amount of space consumed by the save file, including unused portions.

std::size_t get_used_file_size(void) const

Returns the amount of space within the save file that is currently in use.

bool is_valid(void) const

Returns true if the save file was successfully created and is ready for use, false if there was an error.