Wraps the OpenGL function glTexEnv(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glTexEnv(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexEnv.xml for more information.
- Note:
- A TexParameter defines a set of variables associated to a Texture while TexGen and TexEnv define a set of variables associated to a TextureUnit.
- See also:
- Shader, TextureUnit, Texture, TexGen, TexParameter, Effect, Actor
Constructor & Destructor Documentation
| TexEnv::TexEnv |
( |
int |
texunit ) |
|
Member Function Documentation
| virtual const char* vl::TexEnv::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::TexEnv::type |
( |
) |
const [inline, virtual] |
The parameter cameara is NULL if we are disabling the state, non-NULL if we are enabling it.
Implements vl::RenderState.
| void vl::TexEnv::setCombineRGB |
( |
ETexEnvMode |
combineRGB ) |
[inline] |
| void vl::TexEnv::setCombineAlpha |
( |
ETexEnvMode |
combineAlpha ) |
[inline] |
| ETexEnvMode vl::TexEnv::combineAlpha |
( |
) |
const [inline] |
| void vl::TexEnv::setColor |
( |
fvec4 |
color ) |
[inline] |
| fvec4 vl::TexEnv::color |
( |
) |
const [inline] |
| void vl::TexEnv::setRGBScale |
( |
float |
rgbscale ) |
[inline] |
| float vl::TexEnv::rgbScale |
( |
) |
const [inline] |
| void vl::TexEnv::setAlphaScale |
( |
float |
alphascale ) |
[inline] |
| float vl::TexEnv::alphaScale |
( |
) |
const [inline] |
| void vl::TexEnv::setSource0Alpha |
( |
ETexEnvSource |
source ) |
[inline] |
| void vl::TexEnv::setSource1Alpha |
( |
ETexEnvSource |
source ) |
[inline] |
| void vl::TexEnv::setSource2Alpha |
( |
ETexEnvSource |
source ) |
[inline] |
| void vl::TexEnv::setPointSpriteCoordReplace |
( |
bool |
replace ) |
[inline] |
| bool vl::TexEnv::pointSpriteCoordReplace |
( |
) |
const [inline] |
| void vl::TexEnv::setLodBias |
( |
float |
lodbias ) |
[inline] |
| float vl::TexEnv::lodBias |
( |
) |
const [inline] |
Member Data Documentation
The documentation for this class was generated from the following files:
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.hpp
- C:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vl/Shader.cpp