Base class for shader uniform block operations functionality. More...
#include </home/chochlik/devel/oglplus/include/oglplus/uniform_block.hpp>
Inherits Initializer.
Public Member Functions | |
bool | ReferencedBy (ShaderType shader_type) |
Returns true if this uniform block is referenced by shader_type . More... | |
GLuint | DataSize (void) |
Returns the size of the uniform block. More... | |
Static Public Member Functions | |
static GLuint | MaxIn (ShaderType shader_type) |
Return the maximum number of uniform blocks for a shader_type . | |
Base class for shader uniform block operations functionality.
Requires OpenGL 3.1 or the GL_ARB_uniform_buffer_object extension.
GLuint oglplus::UniformBlockTpl< Initializer >::DataSize | ( | void | ) |
Returns the size of the uniform block.
bool oglplus::UniformBlockTpl< Initializer >::ReferencedBy | ( | ShaderType | shader_type) |
Returns true if this uniform block is referenced by shader_type
.