Developer Documentation
|
Public Member Functions | |
UniformBuf () | |
Creates a copy of input data. | |
~UniformBuf () | |
Free data. | |
void | bind (GLuint _progID) const override |
Bind uniform array to shader. More... | |
virtual QString | toString () const override |
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.
|
overridevirtual |
Bind uniform array to shader.
_progID | GL Program ID |
Reimplemented from GLSL::UniformPool::UniformBase.
Definition at line 384 of file UniformPool.cc.
|
overridevirtual |
print buffer id to string
Reimplemented from GLSL::UniformPool::UniformBase.
Definition at line 403 of file UniformPool.cc.