#include <bumpmap.h>
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). |
It can be constructed from regular images.