MCPcopy Create free account
hub / github.com/cginternals/globjects / updateBinding

Method updateBinding

source/globjects/source/UniformBlock.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void UniformBlock::updateBinding() const
54{
55 m_program->checkDirty();
56
57 glUniformBlockBinding(m_program->id(), blockIndex(), m_bindingIndex);
58
59}
60void UniformBlock::getActive(const GLenum pname, GLint * params) const
61{
62 m_program->checkDirty();

Callers 1

Calls 2

checkDirtyMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected