This is a base class for those kinds of
SavedContextsthat occupy an easily-measured (and substantial) number of bytes in the video card’s frame buffer memory or AGP memory. At the present, this includes most of the
IndexBufferContext, as well as
This class provides methods for tracking the video memory utilization, as well as residency of each object, via PStats.
Returns the active flag associated with this object. An object is considered “active” if it was rendered in the current frame.
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.
UpdateSeqthat was recorded the last time mark_loaded() was called.
Returns the resident flag associated with this object. An object is considered “resident” if it appears to be resident in texture memory.