Developer Documentation
GLSL::UniformPool::UniformBuf Struct Reference
Inheritance diagram for GLSL::UniformPool::UniformBuf:
GLSL::UniformPool::UniformBase

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
 

Detailed Description

Definition at line 180 of file UniformPool.hh.

Member Function Documentation

◆ bind()

void GLSL::UniformPool::UniformBuf::bind ( GLuint  _progID) const
virtual

Bind uniform array to shader.

Parameters
_progIDGL Program ID

Reimplemented from GLSL::UniformPool::UniformBase.

Definition at line 384 of file UniformPool.cc.

◆ toString()

QString GLSL::UniformPool::UniformBuf::toString ( ) const
virtual

print buffer id to string

Reimplemented from GLSL::UniformPool::UniformBase.

Definition at line 403 of file UniformPool.cc.


The documentation for this struct was generated from the following files: