panda3d.core.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

isValid() → bool

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

getTotalFileSize() → size_t

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

Return type

size_t

getUsedFileSize() → size_t

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

Return type

size_t