The TextureUnit class associates a Texture object to an OpenGL texture unit.
More...
#include <Shader.hpp>
List of all members.
Detailed Description
The TextureUnit class associates a Texture object to an OpenGL texture unit.
- See also:
- Texture, TexParameter, Shader, TextureMatrix, TexEnv, TexGen, Effect, Actor
Constructor & Destructor Documentation
| vl::TextureUnit::TextureUnit |
( |
int |
texunit ) |
[inline] |
Member Function Documentation
| virtual const char* vl::TextureUnit::className |
( |
) |
[inline, virtual] |
| virtual ERenderState vl::TextureUnit::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::TextureUnit::setTexture |
( |
Texture * |
texture ) |
[inline] |
| Texture* vl::TextureUnit::texture |
( |
) |
[inline] |
| const Texture* vl::TextureUnit::texture |
( |
) |
const [inline] |
| bool TextureUnit::hasTexture |
( |
) |
const |
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