Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
Structure containing all the info regarding an active Uniform, see also GLSLProgram::activeUniforms() More...
#include <GLSL.hpp>
Public Member Functions | |
| UniformInfo (const char *name, EUniformType type, int size, int location) | |
Public Attributes | |
| std::string | Name |
| The name of the uniform. | |
| EUniformType | Type |
| The type of the uniform (float, vec4, mat2x3, sampler2D etc.) | |
| int | Size |
| The size of the uniform: 1 for non-arrays, >= 1 for arrays. | |
| int | Location |
| Location of the uniform as retuned by glGetUniformLocation(). | |
Structure containing all the info regarding an active Uniform, see also GLSLProgram::activeUniforms()
| vl::UniformInfo::UniformInfo | ( | const char * | name, |
| EUniformType | type, | ||
| int | size, | ||
| int | location | ||
| ) | [inline] |
| std::string vl::UniformInfo::Name |
Location of the uniform as retuned by glGetUniformLocation().
Definition at line 56 of file GLSL.hpp.
Referenced by vl::GLSLProgram::applyUniformSet().