OV::OVUniVar3fv Class Reference

Class that handles uniform float vector variables of length 3. More...

#include <ovunivar.h>

Inherits OV::OVUniVar.


Public Member Functions

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

Private Attributes

float * m_source


Detailed Description

Class that handles uniform float vector variables of length 3.

This class encapsulates uniform float vector variables of length 3 used in shaders. It inherits from OVUniVar.


Constructor & Destructor Documentation

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

Constructor for UniVar3fv.

Sets name and source values.

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


Member Function Documentation

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

Updates the value of the uniform.

Reimplemented from OV::OVUniVar.


Field Documentation

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