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