D3D9::RenderTargetTexture Class Reference

Special texture suited to work as target for rendering. More...

#include <dx9_wrap.h>

Inheritance diagram for D3D9::RenderTargetTexture:

Inheritance graph
[legend]
Collaboration diagram for D3D9::RenderTargetTexture:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RenderTargetTexture (Device &n_device, int width, int height, int mip_levels, D3DFORMAT format)
 Create render texture resource.

void select (int stage_index)
 Make the texture active.


Detailed Description

Special texture suited to work as target for rendering.

In all respects it's the same as regular texture, but with some limitations on possible texture formats. Unlike regular Texture, RenderTargetTexture can be used to extract RenderSurface, which, in turn, can be selected as render targets. Regular Texture can't be used to extract RenderTargetSurface.

Todo:
Add all possible ways to construct the texture.


Constructor & Destructor Documentation

D3D9::RenderTargetTexture::RenderTargetTexture Device n_device,
int  width,
int  height,
int  mip_levels,
D3DFORMAT  format
 

Create render texture resource.


Member Function Documentation

void D3D9::Texture::select int  stage_index  )  [inherited]
 

Make the texture active.


The documentation for this class was generated from the following files:
Generated on Sun May 1 17:34:27 2005 for RealityStrike Game Engine API by doxygen 1.3.6