version 3.3

VRS::GL2::EXTSHADER::UberShaderSamplerVariable Class Reference

#include <vrs/opengl/gl2/us/ubershadersamplervariable.h>

Inheritance diagram for VRS::GL2::EXTSHADER::UberShaderSamplerVariable:

VRS::GL2::EXTSHADER::UberShaderUniformVariable< int > VRS::GL2::UniformVariableBase VRS::GL2::ProgramVariable VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 UberShaderSamplerVariable (const std::string &name, const int textureUnit)
 VRS_TYPEINFO (UberShaderSamplerVariable, UberShaderUniformVariable< int >)
 VRS_SERIALIZABLE (UberShaderSamplerVariable)

Protected Member Functions

 UberShaderSamplerVariable (void)


Detailed Description

Uniform vaiables can be used to parameterize shader objects. They can only be modified on a per object basis.

Constructor & Destructor Documentation

VRS::GL2::EXTSHADER::UberShaderSamplerVariable::UberShaderSamplerVariable ( const std::string &  name,
const int  textureUnit 
) [inline]

Sampler variables represent textures as special characteristic of uniform variables of a shader program. They are referenced by their name. Their value indexes a texture unit.

VRS::GL2::EXTSHADER::UberShaderSamplerVariable::UberShaderSamplerVariable ( void   )  [protected]


Member Function Documentation

VRS::GL2::EXTSHADER::UberShaderSamplerVariable::VRS_TYPEINFO ( UberShaderSamplerVariable  ,
UberShaderUniformVariable< int >   
)

VRS::GL2::EXTSHADER::UberShaderSamplerVariable::VRS_SERIALIZABLE ( UberShaderSamplerVariable   ) 


The documentation for this class was generated from the following file:

Generated on Tue May 21 06:00:38 2013 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact