#include <Surface.h>
Public Member Functions | |
| IDirect3DSurface9 * | GetInterface () |
| const IDirect3DSurface9 * | GetInterface () const |
| unsigned | GetWidth () const |
| unsigned | GetHeight () const |
| D3DFORMAT | GetFormat () const |
| D3DPOOL | GetPool () const |
| unsigned | GetUsage () const |
| textures::Texture * | GetTexture () const |
Protected Member Functions | |
| Surface (SurfaceManager *manager) | |
| virtual | ~Surface (void) |
Protected Attributes | |
| IDirect3DSurface9 * | _surface |
| unsigned | _width |
| unsigned | _height |
| D3DFORMAT | _format |
| D3DPOOL | _pool |
| unsigned | _usage |
| textures::Texture * | _texture |
| xl7::direct3d::surfaces::Surface::Surface | ( | SurfaceManager * | manager | ) | [protected] |
Explicit constructor.
| xl7::direct3d::surfaces::Surface::~Surface | ( | void | ) | [protected, virtual] |
Destructor.
| D3DFORMAT xl7::direct3d::surfaces::Surface::GetFormat | ( | ) | const [inline] |
Returns the format of this surface.
| unsigned xl7::direct3d::surfaces::Surface::GetHeight | ( | ) | const [inline] |
Returns the height of this surface (in pixels).
| const IDirect3DSurface9* xl7::direct3d::surfaces::Surface::GetInterface | ( | ) | const [inline] |
Returns the Direct3D surface interface.
| IDirect3DSurface9* xl7::direct3d::surfaces::Surface::GetInterface | ( | ) | [inline] |
Returns the Direct3D surface interface.
| D3DPOOL xl7::direct3d::surfaces::Surface::GetPool | ( | ) | const [inline] |
Returns the memory class of this surface.
| textures::Texture* xl7::direct3d::surfaces::Surface::GetTexture | ( | ) | const [inline] |
Returns the texture as the basis of this surface (or NULL, if no such texture exists).
| unsigned xl7::direct3d::surfaces::Surface::GetUsage | ( | ) | const [inline] |
Returns the usage of this surface.
| unsigned xl7::direct3d::surfaces::Surface::GetWidth | ( | ) | const [inline] |
Returns the width of this surface (in pixels).
D3DFORMAT xl7::direct3d::surfaces::Surface::_format [protected] |
The format of this surface.
unsigned xl7::direct3d::surfaces::Surface::_height [protected] |
The height of this surface (in pixels).
D3DPOOL xl7::direct3d::surfaces::Surface::_pool [protected] |
The memory class of this surface.
IDirect3DSurface9* xl7::direct3d::surfaces::Surface::_surface [protected] |
The Direct3D surface interface.
The texture as the basis of this surface (or NULL, if no such texture exists).
unsigned xl7::direct3d::surfaces::Surface::_usage [protected] |
The usage of this surface.
unsigned xl7::direct3d::surfaces::Surface::_width [protected] |
The width of this surface (in pixels).
1.7.1