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

Public Member Functions | |
| TextureUnitSettingGL (unsigned int unit, TextureGL *tex, TexEnvGL *env=0, TexGenGL *gen=0) | |
| bool | operator== (const TextureUnitSettingGL &other) const |
| unsigned int | getUnit () const |
| void | setUnit (unsigned int) |
| TextureUnitSelectorGL * | getUnitSelector () const |
| Designated texture unit of the texture application. | |
| void | setTexture (TextureGL *texture) |
| TextureGL * | getTexture () const |
| Texture for the texture application. | |
| void | setEnvironment (TexEnvGL *env) |
| TexEnvGL * | getEnvironment () const |
| Texture environment used for texturing. | |
| void | setCoordGeneration (TexGenGL *gen) |
| TexGenGL * | getCoordGeneration () const |
| Texture coordinate generation used for texturing. | |
| VRS_TYPEINFO (TextureUnitSettingGL, MonoAttribute) | |
| VRS_SERIALIZABLE (TextureUnitSettingGL) | |
Protected Member Functions | |
| TextureUnitSettingGL () | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| VRS::TextureUnitSettingGL::TextureUnitSettingGL | ( | unsigned int | unit, | |
| TextureGL * | tex, | |||
| TexEnvGL * | env = 0, |
|||
| TexGenGL * | gen = 0 | |||
| ) |
A single texture application contains a texture, texture coordiante generation and texture environment for a certain texture unit. This class is mainly meant to assemble texture related attributes and, therefore, simplify texture usage. Furthermore, classes can derive from this class to implement texture mapping techniques like: projective texturing or 1D depth texture.
| VRS::TextureUnitSettingGL::TextureUnitSettingGL | ( | ) | [protected] |
| bool VRS::TextureUnitSettingGL::operator== | ( | const TextureUnitSettingGL & | other | ) | const |
| unsigned int VRS::TextureUnitSettingGL::getUnit | ( | ) | const [inline] |
| void VRS::TextureUnitSettingGL::setUnit | ( | unsigned | int | ) |
| TextureUnitSelectorGL * VRS::TextureUnitSettingGL::getUnitSelector | ( | ) | const [inline] |
Designated texture unit of the texture application.
| void VRS::TextureUnitSettingGL::setTexture | ( | TextureGL * | texture | ) |
| TextureGL * VRS::TextureUnitSettingGL::getTexture | ( | ) | const [inline] |
Texture for the texture application.
| void VRS::TextureUnitSettingGL::setEnvironment | ( | TexEnvGL * | env | ) |
| TexEnvGL * VRS::TextureUnitSettingGL::getEnvironment | ( | ) | const [inline] |
Texture environment used for texturing.
| void VRS::TextureUnitSettingGL::setCoordGeneration | ( | TexGenGL * | gen | ) |
| TexGenGL * VRS::TextureUnitSettingGL::getCoordGeneration | ( | ) | const [inline] |
Texture coordinate generation used for texturing.
| VRS::TextureUnitSettingGL::VRS_TYPEINFO | ( | TextureUnitSettingGL | , | |
| MonoAttribute | ||||
| ) |
| VRS::TextureUnitSettingGL::VRS_SERIALIZABLE | ( | TextureUnitSettingGL | ) |
| virtual void VRS::TextureUnitSettingGL::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.