UniVari Class Reference

UniVar integer. More...

#include <univar.h>

Inherits UniVar.


Public Member Functions

 UniVari (const char *name, int *source)
 Constructor for UniVari.
void Update ()
 Updates the value of the uniform.

Private Attributes

int * m_source


Detailed Description

UniVar integer.


Constructor & Destructor Documentation

UniVari::UniVari ( const char *  name,
int *  source 
)

Constructor for UniVari.

Sets name and source values.

Parameters:
name the variable name in shader program.
source pointer to data.


Member Function Documentation

void UniVari::Update (  )  [virtual]

Updates the value of the uniform.

Reimplemented from UniVar.


Field Documentation

int* UniVari::m_source [private]

Pointer to the data source


The documentation for this class was generated from the following files:
Generated on Thu May 17 20:28:04 2007 for Ocean View by  doxygen 1.5.2