#include <univar.h>
Inherits UniVar.
Public Member Functions | |
UniVar3fv (const char *name, float *source) | |
Constructor for UniVar3fv. | |
void | Update () |
Updates the value of the uniform. | |
Private Attributes | |
float * | m_source |
UniVar3fv::UniVar3fv | ( | const char * | name, | |
float * | source | |||
) |
Constructor for UniVar3fv.
Sets name and source values.
name | the variable name in shader program. | |
source | pointer to data. |
void UniVar3fv::Update | ( | ) | [virtual] |
float* UniVar3fv::m_source [private] |
Pointer to the data source