Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions
VertexDataSaveFile Class Reference

A temporary file to hold the vertex data that has been evicted from memory and written to disk. More...

Inheritance diagram for VertexDataSaveFile:
SimpleAllocator LinkedListNode

List of all members.

Public Member Functions

unsigned int getTotalFileSize ()
 Returns the amount of space consumed by the save file, including unused portions.
unsigned int getUsedFileSize ()
 Returns the amount of space within the save file that is currently in use.
bool isValid ()
 Returns true if the save file was successfully created and is ready for use, false if there was an error.

Detailed Description

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.


Member Function Documentation

unsigned int getTotalFileSize ( )

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

unsigned int getUsedFileSize ( )

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

bool isValid ( )

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

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties