D3D9::RenderTargetSurface Class Reference

Surface representing render target. More...

#include <dx9_wrap.h>

Inheritance diagram for D3D9::RenderTargetSurface:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RenderTargetSurface (Device &n_device, int width, int height, D3DFORMAT format)
 Create new surface designed to be render target.

 ~RenderTargetSurface ()
 Destroy render target surface.

void select ()
 Select the surface as current render target on attached device.

void CopyFrom (Surface &src_surface)
 Copy pixels from other surface.

void CopyRectFrom (Surface &src_surface, const Rect &src_rect, const Point &dest_point)
 Copy rectangular area of pixels from other surface.


Detailed Description

Surface representing render target.

Todo:
Implement and add mising interface methods to cover D3D functionality.


Constructor & Destructor Documentation

D3D9::RenderTargetSurface::RenderTargetSurface Device n_device,
int  width,
int  height,
D3DFORMAT  format
 

Create new surface designed to be render target.

D3D9::RenderTargetSurface::~RenderTargetSurface  ) 
 

Destroy render target surface.


Member Function Documentation

void D3D9::RenderTargetSurface::select  ) 
 

Select the surface as current render target on attached device.

void D3D9::Surface::CopyFrom Surface src_surface  )  [inherited]
 

Copy pixels from other surface.

Whole surface is copied.

void D3D9::Surface::CopyRectFrom Surface src_surface,
const Rect src_rect,
const Point dest_point
[inherited]
 

Copy rectangular area of pixels from other surface.


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