globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.

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

Inheritance diagram for globjects::UniformBlock:
globjects::Instantiator< UniformBlock >

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
 

Additional Inherited Members

- Static Public Member Functions inherited from globjects::Instantiator< UniformBlock >
static std::unique_ptr< UniformBlockcreate (Args &&...args)
 
static std::unique_ptr< UniformBlockfromId (gl::GLuint id, Args &&...args)
 

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: