#include <OgreHardwareBufferManager.h>
Inheritance diagram for Ogre::HardwareBufferLicensee:
Public Methods | |
virtual | ~HardwareBufferLicensee () |
virtual void | licenseExpired (HardwareBuffer *buffer)=0 |
This method is called when the buffer license is expired and is about to be returned to the shared pool. |
remarks Often it's useful to have temporary buffers which are used for working but are not necessarily needed permanently. However, creating and destroying buffers is expensive, so we need a way to share these working areas, especially those based on existing fixed buffers. This class represents a licensee of one of those temporary buffers, and must be implemented by any user of a temporary buffer if they wish to be notified when the license is expired.
Definition at line 48 of file OgreHardwareBufferManager.h.
|
Definition at line 51 of file OgreHardwareBufferManager.h. |
|
This method is called when the buffer license is expired and is about to be returned to the shared pool.
Implemented in Ogre::TempBlendedBufferInfo. Referenced by Ogre::HardwareBufferManager::_forceReleaseBufferCopies(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:03 2004