OV::OVUniVari Class Reference

Class that handles uniform integer variables. More...

#include <ovunivar.h>

Inherits OV::OVUniVar.


Public Member Functions

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

Private Attributes

int * m_source


Detailed Description

Class that handles uniform integer variables.

This class encapsulates uniform integer variables used in shaders. It inherits from OVUniVar.


Constructor & Destructor Documentation

OV::OVUniVari::OVUniVari ( 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 OV::OVUniVari::Update (  )  [virtual]

Updates the value of the uniform.

Reimplemented from OV::OVUniVar.


Field Documentation

int* OV::OVUniVari::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