- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Ogre::HardwareBufferLicensee Class Reference

Abtract interface representing a 'licensee' of a hardware buffer copy. More...

`#include <OgreHardwareBufferManager.h>`

Inheritance diagram for Ogre::HardwareBufferLicensee:
[legend]

List of all members.

## Public Member Functions
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.

## Detailed Description

Abtract interface representing a 'licensee' of a hardware buffer copy.

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 52 of file OgreHardwareBufferManager.h.

## Constructor & Destructor Documentation

virtual Ogre::HardwareBufferLicensee::~HardwareBufferLicensee | ( |  | ) | `[virtual]`

Definition at line 55 of file OgreHardwareBufferManager.h.

## Member Function Documentation

virtual void Ogre::HardwareBufferLicensee::licenseExpired | ( | HardwareBuffer * | buffer | ) | `[pure virtual]`

This method is called when the buffer license is expired and is about to be returned to the shared pool.

Implemented in Ogre::TempBlendedBufferInfo.

The documentation for this class was generated from the following file:

- OgreHardwareBufferManager.h

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:54 2008