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

Public Types | |
| enum | CombineMode { Modulate = 0, Blend, Decal, Replace, Add, Custom } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (CombineMode) | |
| TexEnvGL (CombineMode combine=TexEnvGL::Modulate, const Color &textureEnvColor=Color::black, double lodBias=0.0) | |
| OpenGL texture environment. | |
| bool | operator== (const TexEnvGL &other) const |
| CombineMode | getCombineMode () const |
| void | setCombineMode (CombineMode func) |
| Get/set the combine mode. | |
| const Color & | getEnvironmentColor () const |
| void | setEnvironmentColor (const Color &color) |
| Get/set the environment color. | |
| void | setLODBias (double bias=0.0) |
| double | getLODBias () const |
| virtual ID | category () const |
| VRS_TYPEINFO (TexEnvGL, MonoAttribute) | |
| VRS_SERIALIZABLE (TexEnvGL) | |
| VRS::TexEnvGL::TexEnvGL | ( | CombineMode | combine = TexEnvGL::Modulate, |
|
| const Color & | textureEnvColor = Color::black, |
|||
| double | lodBias = 0.0 | |||
| ) |
OpenGL texture environment.
| VRS::TexEnvGL::VRS_SERIALIZABLE_CLASS_ENUM | ( | CombineMode | ) |
Modulate, Blend, Decal, Replace texture functions are standard in OpenGL 1.1 OpenGL 1.3 offeres further extended texture functions (see TexEnvCombineGL).
| bool VRS::TexEnvGL::operator== | ( | const TexEnvGL & | other | ) | const |
| TexEnvGL::CombineMode VRS::TexEnvGL::getCombineMode | ( | ) | const [inline] |
| void VRS::TexEnvGL::setCombineMode | ( | CombineMode | func | ) |
Get/set the combine mode.
| const Color & VRS::TexEnvGL::getEnvironmentColor | ( | ) | const [inline] |
| void VRS::TexEnvGL::setEnvironmentColor | ( | const Color & | color | ) |
Get/set the environment color.
| void VRS::TexEnvGL::setLODBias | ( | double | bias = 0.0 |
) |
| double VRS::TexEnvGL::getLODBias | ( | ) | const [inline] |
| virtual ID VRS::TexEnvGL::category | ( | ) | const [virtual] |
Defines the category under which objects of this type get stored in contexts. By default, the category is the same as the class name. Attribute classes may want to overwrite the category for example, if further subclasses should be stored in the same category as their base class (i.e., the category of subclasses would return the base class name.
Reimplemented from VRS::Attribute.
| VRS::TexEnvGL::VRS_TYPEINFO | ( | TexEnvGL | , | |
| MonoAttribute | ||||
| ) |
| VRS::TexEnvGL::VRS_SERIALIZABLE | ( | TexEnvGL | ) |