D3D9::Surface Class Reference

Flat rectangular bitmapped surface. More...

#include <dx9_wrap.h>

Inheritance diagram for D3D9::Surface:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Surface (Device &n_device, int width, int height, D3DFORMAT format)
 Create bitmapped surface resource by allocating it.

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

Flat rectangular bitmapped surface.

Todo:
Add all possible ways to construct the Surface.


Constructor & Destructor Documentation

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

Create bitmapped surface resource by allocating it.


Member Function Documentation

void D3D9::Surface::CopyFrom Surface src_surface  ) 
 

Copy pixels from other surface.

Whole surface is copied.

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

Copy rectangular area of pixels from other surface.


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