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

Public Types | |
| enum | TextureTarget { VertexShader = 0, FragmentShader = 1, Combined = 2 } |
| TextureTarget enables resource checking. More... | |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (TextureTarget) | |
| ShaderTextureUnitSelector (unsigned int unit=0, TextureTarget textureTarget=Combined) | |
| Specify the shader texture unit. | |
| bool | operator== (const ShaderTextureUnitSelector &other) const |
| Get the texture target. | |
| unsigned int | getTextureTarget (void) const |
| Set the texture target. | |
| void | setTextureTarget (TextureTarget textureTarget) |
| VRS_TYPEINFO (ShaderTextureUnitSelector, TextureUnitSelectorGL) | |
| VRS_SERIALIZABLE (ShaderTextureUnitSelector) | |
< Through the limitations of the class TextureUnitSelectorGL which number of maximal texture units is bound to GL_ARB_multitexture this class support explicite texture selection for GL2 Shaders.
| VRS::GL2::ShaderTextureUnitSelector::ShaderTextureUnitSelector | ( | unsigned int | unit = 0, |
|
| TextureTarget | textureTarget = Combined | |||
| ) |
Specify the shader texture unit.
| VRS::GL2::ShaderTextureUnitSelector::VRS_SERIALIZABLE_CLASS_ENUM | ( | TextureTarget | ) |
| bool VRS::GL2::ShaderTextureUnitSelector::operator== | ( | const ShaderTextureUnitSelector & | other | ) | const |
Get the texture target.
| unsigned int VRS::GL2::ShaderTextureUnitSelector::getTextureTarget | ( | void | ) | const [inline] |
Set the texture target.
| void VRS::GL2::ShaderTextureUnitSelector::setTextureTarget | ( | TextureTarget | textureTarget | ) |
| VRS::GL2::ShaderTextureUnitSelector::VRS_TYPEINFO | ( | ShaderTextureUnitSelector | , | |
| TextureUnitSelectorGL | ||||
| ) |
| VRS::GL2::ShaderTextureUnitSelector::VRS_SERIALIZABLE | ( | ShaderTextureUnitSelector | ) |