Public Member Functions | Friends

sp::video::Direct3D9Texture Class Reference

#include <spDirect3D9Texture.hpp>

Inheritance diagram for sp::video::Direct3D9Texture:
sp::video::Texture sp::BaseObject

List of all members.

Public Member Functions

 Direct3D9Texture ()
 Direct3D9Texture (IDirect3DTexture9 *d3dTexture, IDirect3DCubeTexture9 *d3dCubeTexture, IDirect3DVolumeTexture9 *d3dVolumeTexture, const STextureCreationFlags &CreationFlags)
 ~Direct3D9Texture ()
bool valid () const
 Returns true if the texture is correctly created by the used renderer.
void bind (s32 Level=0) const
void unbind (s32 Level=0) const
bool shareImageBuffer ()
 Copies the hardware image buffer into the texture image buffer.
bool updateImageBuffer ()
 Copies the texture image buffer into the hardware image buffer (recreating the renderer texture).

Friends

class Direct3D9RenderSystem
class Direct3D9Shader

Constructor & Destructor Documentation

sp::video::Direct3D9Texture::Direct3D9Texture (  ) 
sp::video::Direct3D9Texture::Direct3D9Texture ( IDirect3DTexture9 *  d3dTexture,
IDirect3DCubeTexture9 *  d3dCubeTexture,
IDirect3DVolumeTexture9 *  d3dVolumeTexture,
const STextureCreationFlags CreationFlags 
)
sp::video::Direct3D9Texture::~Direct3D9Texture (  ) 

Member Function Documentation

void sp::video::Direct3D9Texture::bind ( s32  Level = 0  )  const [virtual]

Reimplemented from sp::video::Texture.

bool sp::video::Direct3D9Texture::shareImageBuffer (  )  [virtual]

Copies the hardware image buffer into the texture image buffer.

Reimplemented from sp::video::Texture.

void sp::video::Direct3D9Texture::unbind ( s32  Level = 0  )  const [virtual]

Reimplemented from sp::video::Texture.

bool sp::video::Direct3D9Texture::updateImageBuffer (  )  [virtual]

Copies the texture image buffer into the hardware image buffer (recreating the renderer texture).

Reimplemented from sp::video::Texture.

bool sp::video::Direct3D9Texture::valid (  )  const [virtual]

Returns true if the texture is correctly created by the used renderer.

Reimplemented from sp::video::Texture.


Friends And Related Function Documentation

friend class Direct3D9RenderSystem [friend]
friend class Direct3D9Shader [friend]

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