Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Base class for the OpenGL texture state wrapper classes. More...
#include <RenderState.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| TextureState () | |
| int | textureUnit () const |
| void | setUnitIndex (int unit_index) |
Protected Attributes | |
| int | mTextureUnit |
Base class for the OpenGL texture state wrapper classes.
Definition at line 71 of file RenderState.hpp.
| vl::TextureState::TextureState | ( | ) | [inline] |
Definition at line 75 of file RenderState.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| virtual const char* vl::TextureState::className | ( | ) | [inline, virtual] |
Returns the name of the class.
Reimplemented from vl::RenderState.
Reimplemented in vl::TextureMatrix, vl::TexEnv, vl::TexGen, and vl::TextureUnit.
Definition at line 74 of file RenderState.hpp.
| int vl::TextureState::textureUnit | ( | ) | const [inline] |
Definition at line 79 of file RenderState.hpp.
Referenced by vl::TextureUnit::apply(), vl::TextureMatrix::apply(), vl::TexGen::apply(), and vl::TexEnv::apply().
| void vl::TextureState::setUnitIndex | ( | int | unit_index ) | [inline] |
Definition at line 80 of file RenderState.hpp.
int vl::TextureState::mTextureUnit [protected] |
Definition at line 82 of file RenderState.hpp.
Referenced by vl::TexEnv::TexEnv(), and vl::TexGen::TexGen().