Developer Documentation
|
Public Member Functions | |
UniformBuf () | |
Creates a copy of input data. | |
~UniformBuf () | |
Free data. | |
void | bind (GLuint _progID) const |
Bind uniform array to shader. More... | |
virtual QString | toString () const |
print buffer id to string More... | |
Public Attributes | |
float * | val |
bool | integer |
int | size |
Public Attributes inherited from GLSL::UniformPool::UniformBase | |
std::string | id |
Definition at line 180 of file UniformPool.hh.
|
virtual |
Bind uniform array to shader.
_progID | GL Program ID |
Reimplemented from GLSL::UniformPool::UniformBase.
Definition at line 384 of file UniformPool.cc.
|
virtual |
print buffer id to string
Reimplemented from GLSL::UniformPool::UniformBase.
Definition at line 403 of file UniformPool.cc.