Public Member Functions | Protected Member Functions | Protected Attributes

xl7::direct3d::textures::BaseTexture Class Reference

#include <BaseTexture.h>

Inheritance diagram for xl7::direct3d::textures::BaseTexture:
xl7::direct3d::Resource xl7::directx::Resource xl7::direct3d::textures::CubeTexture xl7::direct3d::textures::Texture xl7::direct3d::textures::VolumeTexture

List of all members.

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

Constructor & Destructor Documentation

xl7::direct3d::textures::BaseTexture::BaseTexture ( TextureManager manager,
const cl7::string_type identifier 
) [protected]

Explicit constructor.

xl7::direct3d::textures::BaseTexture::~BaseTexture ( void   )  [protected, virtual]

Destructor.


Member Function Documentation

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).


Member Data Documentation

IDirect3DBaseTexture9* xl7::direct3d::textures::BaseTexture::_base_texture [protected]

The Direct3D base texture interface.

The depth of this texture (in pixels).

The format of this texture.

The height of this texture (in pixels).

The number of mipmap levels in this texture.

The memory class of this texture.

The usage of this texture.

The width of this texture (in pixels).


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines