Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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...
 

Public Attributes

float * val
 
bool integer
 
int size
 
- Public Attributes inherited from GLSL::UniformPool::UniformBase
std::string id
 

Detailed Description

Definition at line 167 of file UniformPool.hh.

Member Function Documentation

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 299 of file UniformPool.cc.


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