BufferContext

Inheritance:

Methods of BufferContext:

Methods of SavedContext:

Methods of TypedObject:

getClassType
static TypeHandle BufferContext::get_class_type(void);

Undocumented function.

getDataSizeBytes
unsigned int BufferContext::get_data_size_bytes(void) const;

Description: Returns the number of bytes previously reported for the data object. This is used to track changes in the data object's allocated size; if it changes from this, we need to create a new buffer. This is also used to track memory utilization in PStats.

getModified
UpdateSeq BufferContext::get_modified(void) const;

Description: Returns the UpdateSeq that was recorded the last time mark_loaded() was called.

getClassType
static TypeHandle SavedContext::get_class_type(void);

Undocumented function.

getClassType
static TypeHandle TypedObject::get_class_type(void);

Undocumented function.

getType
virtual TypeHandle TypedObject::get_type(void) const = 0;

Derived classes should override this function to return get_class_type().

getTypeIndex
int TypedObject::get_type_index(void) const;

Description: Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. This is equivalent to get_type().get_index().

isExactType
bool TypedObject::is_exact_type(TypeHandle handle) const;

Description: Returns true if the current object is the indicated type exactly.

isOfType
bool TypedObject::is_of_type(TypeHandle handle) const;

Description: Returns true if the current object is or derives from the indicated type.