#include <BaseTexture.h>
Public Member Functions | |
| IDirect3DBaseTexture9 * | GetInterface () |
| const IDirect3DBaseTexture9 * | GetInterface () const |
| unsigned | GetWidth () const |
| unsigned | GetHeight () const |
| unsigned | GetDepth () const |
| unsigned | GetLevels () const |
| D3DFORMAT | GetFormat () const |
| D3DPOOL | GetPool () const |
| unsigned | GetUsage () const |
Protected Member Functions | |
| BaseTexture (TextureManager *manager, const cl7::string_type &identifier) | |
| virtual | ~BaseTexture (void) |
Protected Attributes | |
| IDirect3DBaseTexture9 * | _base_texture |
| unsigned | _width |
| unsigned | _height |
| unsigned | _depth |
| unsigned | _levels |
| D3DFORMAT | _format |
| D3DPOOL | _pool |
| unsigned | _usage |
| xl7::direct3d::textures::BaseTexture::BaseTexture | ( | TextureManager * | manager, | |
| const cl7::string_type & | identifier | |||
| ) | [protected] |
Explicit constructor.
| xl7::direct3d::textures::BaseTexture::~BaseTexture | ( | void | ) | [protected, virtual] |
Destructor.
| unsigned xl7::direct3d::textures::BaseTexture::GetDepth | ( | ) | const [inline] |
Returns the depth of this texture (in pixels).
| D3DFORMAT xl7::direct3d::textures::BaseTexture::GetFormat | ( | ) | const [inline] |
Returns the format of this texture.
| unsigned xl7::direct3d::textures::BaseTexture::GetHeight | ( | ) | const [inline] |
Returns the height of this texture (in pixels).
| const IDirect3DBaseTexture9* xl7::direct3d::textures::BaseTexture::GetInterface | ( | ) | const [inline] |
Returns the Direct3D base texture interface.
Reimplemented in xl7::direct3d::textures::Texture.
| IDirect3DBaseTexture9* xl7::direct3d::textures::BaseTexture::GetInterface | ( | ) | [inline] |
Returns the Direct3D base texture interface.
Reimplemented in xl7::direct3d::textures::Texture.
| unsigned xl7::direct3d::textures::BaseTexture::GetLevels | ( | ) | const [inline] |
Returns the number of mipmap levels in this texture.
| D3DPOOL xl7::direct3d::textures::BaseTexture::GetPool | ( | ) | const [inline] |
Returns the memory class of this texture.
| unsigned xl7::direct3d::textures::BaseTexture::GetUsage | ( | ) | const [inline] |
Returns the usage of this texture.
| unsigned xl7::direct3d::textures::BaseTexture::GetWidth | ( | ) | const [inline] |
Returns the width of this texture (in pixels).
IDirect3DBaseTexture9* xl7::direct3d::textures::BaseTexture::_base_texture [protected] |
The Direct3D base texture interface.
unsigned xl7::direct3d::textures::BaseTexture::_depth [protected] |
The depth of this texture (in pixels).
D3DFORMAT xl7::direct3d::textures::BaseTexture::_format [protected] |
The format of this texture.
unsigned xl7::direct3d::textures::BaseTexture::_height [protected] |
The height of this texture (in pixels).
unsigned xl7::direct3d::textures::BaseTexture::_levels [protected] |
The number of mipmap levels in this texture.
D3DPOOL xl7::direct3d::textures::BaseTexture::_pool [protected] |
The memory class of this texture.
unsigned xl7::direct3d::textures::BaseTexture::_usage [protected] |
The usage of this texture.
unsigned xl7::direct3d::textures::BaseTexture::_width [protected] |
The width of this texture (in pixels).
1.7.1