![]() |
Public API Reference |
#include <bumpmap.h>
Public Methods | |
csBumpMap (iImage *src, int fmt) | |
create a new bumpmap in the specified format from the image provided. More... | |
~csBumpMap () | |
deletes a bumpmap. More... | |
int | GetWidth () const |
get width. More... | |
int | GetHeight () const |
get height. More... | |
void * | GetBumpData () const |
get bumpmap data. More... | |
Protected Attributes | |
int | width |
Width of bumpmap. More... | |
int | height |
Height of bumpmap. More... | |
uint8 * | bumpmap |
The bumpmap data. More... | |
int | format |
BumpMap format (see CS_BUMPFMT_XXX above). More... |
It can be constructed from regular images.
Definition at line 47 of file bumpmap.h.
|
create a new bumpmap in the specified format from the image provided.
|
|
deletes a bumpmap.
|
|
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. |
|
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. |