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

get_total_file_size() int

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

get_used_file_size() int

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

is_valid() bool

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