| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/normalmapgl.h>

Public Member Functions | |
| NormalmapGL (Image *normalMap, Image *colorMap=NULL, double roughness=0.001) | |
| void | setNormalMap (Image *image) |
| sets the normals of the normalmap | |
| Image * | getNormalMap () const |
| gets the normals of the normalmap | |
| void | setColorMap (Image *image) |
| sets the color of the normalmap | |
| Image * | getColorMap () const |
| gets the color of the normalmap | |
| bool | useTexture () const |
| void | useTexture (bool) |
| use texture | |
| void | setRoughness (double roughness) |
| sets the roughness of the normalmap | |
| double | getRoughness () const |
| gets the roughness of the normalmap | |
| VRS_TYPEINFO (NormalmapGL, MonoAttribute) | |
| VRS_SERIALIZABLE (NormalmapGL) | |
Protected Member Functions | |
| NormalmapGL () | |
| VRS::NormalmapGL::NormalmapGL | ( | Image * | normalMap, | |
| Image * | colorMap = NULL, |
|||
| double | roughness = 0.001 | |||
| ) |
| VRS::NormalmapGL::NormalmapGL | ( | ) | [protected] |
| void VRS::NormalmapGL::setNormalMap | ( | Image * | image | ) |
sets the normals of the normalmap
| Image* VRS::NormalmapGL::getNormalMap | ( | ) | const |
gets the normals of the normalmap
| void VRS::NormalmapGL::setColorMap | ( | Image * | image | ) |
sets the color of the normalmap
| Image* VRS::NormalmapGL::getColorMap | ( | ) | const |
gets the color of the normalmap
| bool VRS::NormalmapGL::useTexture | ( | ) | const |
| void VRS::NormalmapGL::useTexture | ( | bool | ) |
use texture
| void VRS::NormalmapGL::setRoughness | ( | double | roughness | ) |
sets the roughness of the normalmap
| double VRS::NormalmapGL::getRoughness | ( | ) | const |
gets the roughness of the normalmap
| VRS::NormalmapGL::VRS_TYPEINFO | ( | NormalmapGL | , | |
| MonoAttribute | ||||
| ) |
| VRS::NormalmapGL::VRS_SERIALIZABLE | ( | NormalmapGL | ) |