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

Public Member Functions

void bind (GLuint _progID) const override
 Bind uniform float vector to shader. More...
 
virtual QString toString () const override
 print float vector to string More...
 

Public Attributes

ACG::Vec4f val
 
int size
 
- Public Attributes inherited from GLSL::UniformPool::UniformBase
std::string id
 

Detailed Description

Definition at line 140 of file UniformPool.hh.

Member Function Documentation

◆ bind()

void GLSL::UniformPool::UniformVecf::bind ( GLuint  _progID) const
overridevirtual

Bind uniform float vector to shader.

Parameters
_progIDGL Program ID

Reimplemented from GLSL::UniformPool::UniformBase.

Definition at line 183 of file UniformPool.cc.

◆ toString()

QString GLSL::UniformPool::UniformVecf::toString ( ) const
overridevirtual

print float vector to string

Reimplemented from GLSL::UniformPool::UniformBase.

Definition at line 214 of file UniformPool.cc.


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