globjects
2.0.0.690708773bba
Strict OpenGL objects wrapper.
|
#include <globjects/include/globjects/UniformBlock.h>
Public Member Functions | |
UniformBlock () | |
UniformBlock (const Program *program, const LocationIdentity &m_identity) | |
const LocationIdentity & | identity () const |
void | setBinding (gl::GLuint bindingIndex) |
void | getActive (gl::GLenum pname, gl::GLint *params) const |
gl::GLint | getActive (gl::GLenum pname) const |
std::vector< gl::GLint > | getActive (gl::GLenum pname, gl::GLint paramCount) const |
std::vector< gl::GLint > | getActiveUniformIndices () const |
std::string | getName () const |
Protected Member Functions | |
gl::GLuint | blockIndex () const |
void | updateBinding () const |
Protected Attributes | |
const Program * | m_program |
LocationIdentity | m_identity |
gl::GLuint | m_bindingIndex |
Friends | |
class | Program |
Additional Inherited Members | |
Static Public Member Functions inherited from globjects::Instantiator< UniformBlock > | |
static std::unique_ptr< UniformBlock > | create (Args &&...args) |
static std::unique_ptr< UniformBlock > | fromId (gl::GLuint id, Args &&...args) |
globjects::UniformBlock::UniformBlock | ( | ) |
globjects::UniformBlock::UniformBlock | ( | const Program * | program, |
const LocationIdentity & | m_identity | ||
) |
const LocationIdentity& globjects::UniformBlock::identity | ( | ) | const |
void globjects::UniformBlock::setBinding | ( | gl::GLuint | bindingIndex | ) |
void globjects::UniformBlock::getActive | ( | gl::GLenum | pname, |
gl::GLint * | params | ||
) | const |
gl::GLint globjects::UniformBlock::getActive | ( | gl::GLenum | pname | ) | const |
std::vector<gl::GLint> globjects::UniformBlock::getActive | ( | gl::GLenum | pname, |
gl::GLint | paramCount | ||
) | const |
std::vector<gl::GLint> globjects::UniformBlock::getActiveUniformIndices | ( | ) | const |
std::string globjects::UniformBlock::getName | ( | ) | const |
|
protected |
|
protected |
|
friend |
|
protected |
|
protected |
|
protected |