version 3.3

VRS::GL2::SamplerVariable Class Reference

#include <vrs/opengl/gl2/samplervariable.h>

Inheritance diagram for VRS::GL2::SamplerVariable:

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

List of all members.

Public Member Functions

 SamplerVariable (const std::string &name, const int textureUnit)
bool operator== (const SamplerVariable &other) const
 VRS_TYPEINFO (SamplerVariable, UniformVariable< int >)
 VRS_SERIALIZABLE (SamplerVariable)

Protected Member Functions

 SamplerVariable ()


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::SamplerVariable::SamplerVariable ( 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::SamplerVariable::SamplerVariable (  )  [protected]


Member Function Documentation

bool VRS::GL2::SamplerVariable::operator== ( const SamplerVariable other  )  const [inline]

VRS::GL2::SamplerVariable::VRS_TYPEINFO ( SamplerVariable  ,
UniformVariable< int >   
)

VRS::GL2::SamplerVariable::VRS_SERIALIZABLE ( SamplerVariable   ) 


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

Generated on Mon May 21 06:00:32 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact