UniformSampler Class Reference
[Basic]

Container for GLSL sampler uniform variables. More...

#include <UniformSampler.hpp>

Inheritance diagram for UniformSampler:
Uniform Node Applicable Suppressable

List of all members.

Public Member Functions

 UniformSampler (const Tag &tag)
virtual void associate ()
virtual void apply ()
virtual GLint getValue () const
virtual string toString () const

Private Attributes

GLint value

Detailed Description

Container for GLSL sampler uniform variables.


Constructor & Destructor Documentation

UniformSampler ( const Tag tag  ) 
Exceptions:
NodeException if link attribute is not specified.

Member Function Documentation

void associate (  )  [virtual]

Finds a Program node that is an ancestor of this node.

Exceptions:
NodeException if program cannot be found.

Reimplemented from Uniform.

GLint getValue (  )  const [inline, virtual]
Returns:
texture unit the sampler points to.
string toString (  )  const [virtual]

Forms a string from the object's attributes.

Reimplemented from Uniform.


The documentation for this class was generated from the following files:
Generated on Wed Jun 9 01:36:37 2010 for Gander by  doxygen 1.6.3