#include <ovunivar.h>
Inherits OV::OVUniVar.
Public Member Functions | |
| OVUniVar2fv (const char *name, float *source) | |
| Constructor for UniVar2fv. | |
| void | Update () |
| Updates the value of the uniform. | |
Private Attributes | |
| float * | m_source |
This class encapsulates uniform float vector variables of length 2 used in shaders. It inherits from OVUniVar.
| OV::OVUniVar2fv::OVUniVar2fv | ( | const char * | name, | |
| float * | source | |||
| ) |
Constructor for UniVar2fv.
Sets name and source values.
| name | the variable name in shader program. | |
| source | pointer to data. |
| void OV::OVUniVar2fv::Update | ( | ) | [virtual] |
float* OV::OVUniVar2fv::m_source [private] |
Pointer to the data source
1.5.2