csBumpMap Class Reference
A class representing a bumpmap. More...
#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). |
Detailed Description
A class representing a bumpmap.It can be constructed from regular images.
Definition at line 47 of file bumpmap.h.
Constructor & Destructor Documentation
|
create a new bumpmap in the specified format from the image provided.
|
|
deletes a bumpmap
|
Member Function Documentation
|
get bumpmap data
Definition at line 75 of file bumpmap.h. References bumpmap. |
|
get height
Definition at line 73 of file bumpmap.h. References height. |
|
get width
Definition at line 71 of file bumpmap.h. References width. |
Member Data Documentation
|
The bumpmap data.
Definition at line 55 of file bumpmap.h. Referenced by GetBumpData(). |
|
BumpMap format (see CS_BUMPFMT_XXX above).
|
|
Height of bumpmap.
Definition at line 53 of file bumpmap.h. Referenced by GetHeight(). |
|
Width of bumpmap.
Definition at line 51 of file bumpmap.h. Referenced by GetWidth(). |
The documentation for this class was generated from the following file:
- csgfx/bumpmap.h
Generated for Crystal Space by doxygen 1.2.18