OV::OVUniVarf Class Reference

Class that handles uniform float variables. More...

#include <ovunivar.h>

Inherits OV::OVUniVar.


Public Member Functions

 OVUniVarf (const char *name, float *source)
 Constructor for UniVarf.
void Update ()
 Updates the value of the uniform.

Private Attributes

float * m_source


Detailed Description

Class that handles uniform float variables.

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


Constructor & Destructor Documentation

OV::OVUniVarf::OVUniVarf ( const char *  name,
float *  source 
)

Constructor for UniVarf.

Sets name and source values.

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


Member Function Documentation

void OV::OVUniVarf::Update (  )  [virtual]

Updates the value of the uniform.

Reimplemented from OV::OVUniVar.


Field Documentation

float* OV::OVUniVarf::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