globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.

#include <globjects/include/globjects/UniformBlock.h>

Public Member Functions

 UniformBlock ()
 
 UniformBlock (const Program *program, const LocationIdentity &m_identity)
 
const LocationIdentityidentity () 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 Programm_program
 
LocationIdentity m_identity
 
gl::GLuint m_bindingIndex
 

Friends

class Program
 

Constructor & Destructor Documentation

globjects::UniformBlock::UniformBlock ( )
globjects::UniformBlock::UniformBlock ( const Program program,
const LocationIdentity m_identity 
)

Member Function Documentation

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
gl::GLuint globjects::UniformBlock::blockIndex ( ) const
protected
void globjects::UniformBlock::updateBinding ( ) const
protected

Friends And Related Function Documentation

friend class Program
friend

Member Data Documentation

const Program* globjects::UniformBlock::m_program
protected
LocationIdentity globjects::UniformBlock::m_identity
protected
gl::GLuint globjects::UniformBlock::m_bindingIndex
protected

The documentation for this class was generated from the following file: