Wraps the OpenGL function glTexGen(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.xml for more information.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
Wraps the OpenGL function glTexGen(), see also http://www.opengl.org/sdk/docs/man/xhtml/glTexGen.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
| TexGen::TexGen |
( |
int |
texunit ) |
|
The eye and object planes are not transformed by any matrix (unlike usually with OpenGL), which means that the object plane is specified in object coordinates and that, the eye plane is specified in camera coordinates.
Member Function Documentation
| virtual const char* vl::TexGen::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::TexGen::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::TexGen::setEyePlaneS |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setObjectPlaneS |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setGenModeS |
( |
ETexGenMode |
mode ) |
[inline] |
| fvec4 vl::TexGen::eyePlaneS |
( |
) |
const [inline] |
| fvec4 vl::TexGen::objectPlaneS |
( |
) |
const [inline] |
| void vl::TexGen::setEyePlaneT |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setObjectPlaneT |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setGenModeT |
( |
ETexGenMode |
mode ) |
[inline] |
| fvec4 vl::TexGen::eyePlaneT |
( |
) |
const [inline] |
| fvec4 vl::TexGen::objectPlaneT |
( |
) |
const [inline] |
| void vl::TexGen::setEyePlaneR |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setObjectPlaneR |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setGenModeR |
( |
ETexGenMode |
mode ) |
[inline] |
| fvec4 vl::TexGen::eyePlaneR |
( |
) |
const [inline] |
| fvec4 vl::TexGen::objectPlaneR |
( |
) |
const [inline] |
| void vl::TexGen::setEyePlaneQ |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setObjectPlaneQ |
( |
fvec4 |
plane ) |
[inline] |
| void vl::TexGen::setGenModeQ |
( |
ETexGenMode |
mode ) |
[inline] |
| fvec4 vl::TexGen::eyePlaneQ |
( |
) |
const [inline] |
| fvec4 vl::TexGen::objectPlaneQ |
( |
) |
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