Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csBumpMap Class Reference

A class representing a bumpmap. More...

#include <bumpmap.h>

List of all members.

Public Methods

 csBumpMap (iImage *src, int fmt)
 create a new bumpmap in the specified format from the image provided.

 ~csBumpMap ()
 deletes a bumpmap.

int GetWidth () const
 get width.

int GetHeight () const
 get height.

void* GetBumpData () const
 get bumpmap data.


Protected Attributes

int width
 Width of bumpmap.

int height
 Height of bumpmap.

uint8* bumpmap
 The bumpmap data.

int format
 BumpMap format (see CS_BUMPFMT_XXX above).


Detailed Description

A class representing a bumpmap.

It can be constructed from regular images.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000