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

getTotalFileSize() → size_t

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

Return type


getUsedFileSize() → size_t

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

Return type


isValid() → bool

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