version 3.3

VRS::TextureUnitSelectorGL Class Reference

Class for selecting texture units. More...

#include <vrs/opengl/textureunitselectorgl.h>

Inheritance diagram for VRS::TextureUnitSelectorGL:

VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable VRS::GL2::ShaderTextureUnitSelector

List of all members.

Public Member Functions

 TextureUnitSelectorGL (unsigned int unit=0)
 Specify the texture unit.
bool operator== (const TextureUnitSelectorGL &other) const
unsigned int getUnit () const
void setUnit (unsigned int unit)
 Get/set the texture unit.
 VRS_TYPEINFO (TextureUnitSelectorGL, MonoAttribute)
 VRS_SERIALIZABLE (TextureUnitSelectorGL)

Static Public Member Functions

static SO< TextureUnitSelectorGLCreate (unsigned int unit)
 Returns a texture unit selector from a pool; avoids creating multiple objects for the same unit.


Detailed Description

Class for selecting texture units.

Constructor & Destructor Documentation

VRS::TextureUnitSelectorGL::TextureUnitSelectorGL ( unsigned int  unit = 0  ) 

Specify the texture unit.


Member Function Documentation

bool VRS::TextureUnitSelectorGL::operator== ( const TextureUnitSelectorGL other  )  const

unsigned int VRS::TextureUnitSelectorGL::getUnit (  )  const

void VRS::TextureUnitSelectorGL::setUnit ( unsigned int  unit  ) 

Get/set the texture unit.

static SO<TextureUnitSelectorGL> VRS::TextureUnitSelectorGL::Create ( unsigned int  unit  )  [static]

Returns a texture unit selector from a pool; avoids creating multiple objects for the same unit.

VRS::TextureUnitSelectorGL::VRS_TYPEINFO ( TextureUnitSelectorGL  ,
MonoAttribute   
)

VRS::TextureUnitSelectorGL::VRS_SERIALIZABLE ( TextureUnitSelectorGL   ) 


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

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