VertexDataSaveFile

from panda3d.core import VertexDataSaveFile
class VertexDataSaveFile

Bases:

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() int

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

getUsedFileSize() int

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

isValid() bool

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