#include <tex_mgmt.h>
Inheritance diagram for hoa_video::private_video::TexMemMgr:

Public Member Functions | |
| virtual bool | Free (Image *img)=0 |
| Marks a block as free. | |
| virtual bool | Insert (Image *img)=0 |
| Inserts a new block into the texture. | |
| virtual bool | Remove (Image *img)=0 |
| Removes a block from the texture. | |
| virtual bool | Restore (Image *img)=0 |
| Marks a block previously freed as used. | |
| virtual | ~TexMemMgr () |
It is used by TextureSheet to manage which areas of the texture are available and which are used.
Definition at line 90 of file tex_mgmt.h.
| virtual hoa_video::private_video::TexMemMgr::~TexMemMgr | ( | ) | [inline, virtual] |
Definition at line 94 of file tex_mgmt.h.
| virtual bool hoa_video::private_video::TexMemMgr::Free | ( | Image * | img | ) | [pure virtual] |
Marks a block as free.
| img | the image to free |
Implemented in hoa_video::private_video::FixedTexMemMgr, and hoa_video::private_video::VariableTexMemMgr.
| virtual bool hoa_video::private_video::TexMemMgr::Insert | ( | Image * | img | ) | [pure virtual] |
Inserts a new block into the texture.
| img | the image to insert |
Implemented in hoa_video::private_video::FixedTexMemMgr, and hoa_video::private_video::VariableTexMemMgr.
Referenced by hoa_video::GameVideo::CaptureScreen().
| virtual bool hoa_video::private_video::TexMemMgr::Remove | ( | Image * | img | ) | [pure virtual] |
Removes a block from the texture.
| img | the image to remove |
Implemented in hoa_video::private_video::FixedTexMemMgr, and hoa_video::private_video::VariableTexMemMgr.
| virtual bool hoa_video::private_video::TexMemMgr::Restore | ( | Image * | img | ) | [pure virtual] |
Marks a block previously freed as used.
| img | the image to restore |
Implemented in hoa_video::private_video::FixedTexMemMgr, and hoa_video::private_video::VariableTexMemMgr.
1.5.1