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

Public Types | |
| enum | CombineMode { REPLACE, MODULATE, ADD, ADD_SIGNED, SUBTRACT, INTERPOLATE, DOT3_RGB, DOT3_RGBA, MULTIPLY_AND_ADD, MULTIPLY_AND_ADD_SIGNED } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (CombineMode) | |
| TexEnvCombineGL (CombineMode combineRGB=TexEnvCombineGL::REPLACE, CombineMode combineAlpha=TexEnvCombineGL::REPLACE, GLenum source0RGB=GL_TEXTURE, GLenum source0Alpha=GL_TEXTURE, GLenum operand0RGB=GL_SRC_COLOR, GLenum operand0Alpha=GL_SRC_ALPHA, GLenum source1RGB=GL_ZERO, GLenum source1Alpha=GL_ZERO, GLenum operand1RGB=GL_ZERO, GLenum operand1Alpha=GL_ZERO, GLenum source2RGB=GL_ZERO, GLenum source2Alpha=GL_ZERO, GLenum operand2RGB=GL_ZERO, GLenum operand2Alpha=GL_ZERO, GLenum source3RGB=GL_ZERO, GLenum source3Alpha=GL_ZERO, GLenum operand3RGB=GL_ZERO, GLenum operand3Alpha=GL_ZERO, GLint scaleRGB=1, GLint scaleAlpha=1, const Color &textureEnvColor=Color::black, double lodBias=0.0) | |
| bool | operator== (const TexEnvCombineGL &other) const |
| CombineMode | getCombineRGB () const |
| CombineMode | getCombineAlpha () const |
| GLenum | getSourceRGB (unsigned int index) const |
| GLenum | getSourceAlpha (unsigned int index) const |
| GLenum | getOperandRGB (unsigned int index) const |
| GLenum | getOperandAlpha (unsigned int index) const |
| GLint | getScaleRGB () const |
| GLint | getScaleAlpha () const |
| void | setCombineRGB (CombineMode combineRGB) |
| void | setCombineAlpha (CombineMode combineAlpha) |
| void | setSourceRGB (unsigned int index, GLenum sourceRGB) |
| void | setSourceAlpha (unsigned int index, GLenum sourceAlpha) |
| void | setOperandRGB (unsigned int index, GLenum operandRGB) |
| void | setOperandAlpha (unsigned int index, GLenum operandAlpha) |
| void | setScaleRGB (GLint scaleRGB) |
| void | setScaleAlpha (GLint scaleAlpha) |
| VRS_TYPEINFO (TexEnvCombineGL, TexEnvGL) | |
| VRS_SERIALIZABLE (TexEnvCombineGL) | |
| REPLACE | |
| MODULATE | |
| ADD | |
| ADD_SIGNED | |
| SUBTRACT | |
| INTERPOLATE | |
| DOT3_RGB | |
| DOT3_RGBA | |
| MULTIPLY_AND_ADD | |
| MULTIPLY_AND_ADD_SIGNED |
Reimplemented from VRS::TexEnvGL.
| VRS::TexEnvCombineGL::TexEnvCombineGL | ( | CombineMode | combineRGB = TexEnvCombineGL::REPLACE, |
|
| CombineMode | combineAlpha = TexEnvCombineGL::REPLACE, |
|||
| GLenum | source0RGB = GL_TEXTURE, |
|||
| GLenum | source0Alpha = GL_TEXTURE, |
|||
| GLenum | operand0RGB = GL_SRC_COLOR, |
|||
| GLenum | operand0Alpha = GL_SRC_ALPHA, |
|||
| GLenum | source1RGB = GL_ZERO, |
|||
| GLenum | source1Alpha = GL_ZERO, |
|||
| GLenum | operand1RGB = GL_ZERO, |
|||
| GLenum | operand1Alpha = GL_ZERO, |
|||
| GLenum | source2RGB = GL_ZERO, |
|||
| GLenum | source2Alpha = GL_ZERO, |
|||
| GLenum | operand2RGB = GL_ZERO, |
|||
| GLenum | operand2Alpha = GL_ZERO, |
|||
| GLenum | source3RGB = GL_ZERO, |
|||
| GLenum | source3Alpha = GL_ZERO, |
|||
| GLenum | operand3RGB = GL_ZERO, |
|||
| GLenum | operand3Alpha = GL_ZERO, |
|||
| GLint | scaleRGB = 1, |
|||
| GLint | scaleAlpha = 1, |
|||
| const Color & | textureEnvColor = Color::black, |
|||
| double | lodBias = 0.0 | |||
| ) |
| VRS::TexEnvCombineGL::VRS_SERIALIZABLE_CLASS_ENUM | ( | CombineMode | ) |
| bool VRS::TexEnvCombineGL::operator== | ( | const TexEnvCombineGL & | other | ) | const |
| CombineMode VRS::TexEnvCombineGL::getCombineRGB | ( | ) | const |
| CombineMode VRS::TexEnvCombineGL::getCombineAlpha | ( | ) | const |
| GLenum VRS::TexEnvCombineGL::getSourceRGB | ( | unsigned int | index | ) | const |
| GLenum VRS::TexEnvCombineGL::getSourceAlpha | ( | unsigned int | index | ) | const |
| GLenum VRS::TexEnvCombineGL::getOperandRGB | ( | unsigned int | index | ) | const |
| GLenum VRS::TexEnvCombineGL::getOperandAlpha | ( | unsigned int | index | ) | const |
| GLint VRS::TexEnvCombineGL::getScaleRGB | ( | ) | const |
| GLint VRS::TexEnvCombineGL::getScaleAlpha | ( | ) | const |
| void VRS::TexEnvCombineGL::setCombineRGB | ( | CombineMode | combineRGB | ) |
| void VRS::TexEnvCombineGL::setCombineAlpha | ( | CombineMode | combineAlpha | ) |
| void VRS::TexEnvCombineGL::setSourceRGB | ( | unsigned int | index, | |
| GLenum | sourceRGB | |||
| ) |
| void VRS::TexEnvCombineGL::setSourceAlpha | ( | unsigned int | index, | |
| GLenum | sourceAlpha | |||
| ) |
| void VRS::TexEnvCombineGL::setOperandRGB | ( | unsigned int | index, | |
| GLenum | operandRGB | |||
| ) |
| void VRS::TexEnvCombineGL::setOperandAlpha | ( | unsigned int | index, | |
| GLenum | operandAlpha | |||
| ) |
| void VRS::TexEnvCombineGL::setScaleRGB | ( | GLint | scaleRGB | ) |
| void VRS::TexEnvCombineGL::setScaleAlpha | ( | GLint | scaleAlpha | ) |
| VRS::TexEnvCombineGL::VRS_TYPEINFO | ( | TexEnvCombineGL | , | |
| TexEnvGL | ||||
| ) |
| VRS::TexEnvCombineGL::VRS_SERIALIZABLE | ( | TexEnvCombineGL | ) |