UniformVector Class Reference
[Basic]

Container for GLSL vector uniform variables. More...

#include <UniformVector.hpp>

Inheritance diagram for UniformVector:
Uniform Node Applicable Suppressable

List of all members.

Public Member Functions

 UniformVector (const Tag &tag)
virtual void associate ()
virtual void apply ()
virtual string toString () const

Private Attributes

GLfloat value [4]
GLint size

Detailed Description

Container for GLSL vector uniform variables.


Constructor & Destructor Documentation

UniformVector ( const Tag tag  ) 

Initializes the type and value (or link).

Exceptions:
NodeException if type is not supported.
NodeException if value or link not specified.

Member Function Documentation

void apply (  )  [virtual]
Exceptions:
NodeException if unexpeted size is encountered.

Implements Uniform.

void associate (  )  [virtual]

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

Exceptions:
NodeException if program cannot be found.

Reimplemented from Uniform.

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