Developer Documentation

Public Member Functions | Public Attributes | List of all members
GLSL::UniformPool::UniformVecf Struct Reference
Inheritance diagram for GLSL::UniformPool::UniformVecf:

## 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
| override virtual

Bind uniform float vector to shader.

Parameters

  _progID | GL Program ID

Reimplemented from GLSL::UniformPool::UniformBase.

Definition at line 183 of file UniformPool.cc.

## ◆ toString()

QString GLSL::UniformPool::UniformVecf::toString | ( |  | ) | const
| override virtual

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:

- OpenFlipper/libs_required/ACG/ShaderUtils/UniformPool.hh
- OpenFlipper/libs_required/ACG/ShaderUtils/UniformPool.cc