globjects  2.0.0.690708773bba
Strict OpenGL objects wrapper.

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

Inheritance diagram for globjects::ProgramPipeline:
globjects::Object globjects::ChangeListener globjects::Instantiator< ProgramPipeline >

Public Member Functions

 ProgramPipeline ()
 
virtual ~ProgramPipeline ()
 
virtual void accept (ObjectVisitor &visitor) override
 
void use () const
 
void useStages (Program *program, gl::UseProgramStageMask stages)
 
void releaseStages (gl::UseProgramStageMask stages)
 
void releaseProgram (Program *program)
 
bool isValid () const
 
void validate () const
 
bool checkUseStatus () const
 
std::string infoLog () const
 
gl::GLint get (gl::GLenum pname) const
 
virtual void notifyChanged (const Changeable *sender) override
 
virtual gl::GLenum objectType () const override
 
- Public Member Functions inherited from globjects::Object
gl::GLuint id () const
 
std::string name () const
 
void setName (const std::string &name)
 
bool hasName () const
 
bool isDefault () const
 
void detach ()
 

Static Public Member Functions

static void release ()
 
- Static Public Member Functions inherited from globjects::Object
static void hintNameImplementation (NameImplementation impl)
 
- Static Public Member Functions inherited from globjects::Instantiator< ProgramPipeline >
static std::unique_ptr< ProgramPipelinecreate (Args &&...args)
 
static std::unique_ptr< ProgramPipelinefromId (gl::GLuint id, Args &&...args)
 

Protected Member Functions

void invalidate ()
 
- Protected Member Functions inherited from globjects::Object
 Object (std::unique_ptr< IDResource > &&resource)
 
virtual ~Object ()
 
- Protected Member Functions inherited from globjects::ChangeListener
void addSubject (Changeable *subject)
 
virtual void removeSubject (Changeable *subject)
 
virtual ~ChangeListener ()
 

Protected Attributes

bool m_dirty
 
std::set< Program * > m_programs
 
- Protected Attributes inherited from globjects::Object
std::unique_ptr< IDResourcem_resource
 
void * m_objectLabelState
 
- Protected Attributes inherited from globjects::ChangeListener
std::set< Changeable * > m_subjects
 

Additional Inherited Members

- Public Types inherited from globjects::Object
enum  NameImplementation { NameImplementation::DebugKHR, NameImplementation::Legacy }
 
- Static Protected Member Functions inherited from globjects::Instantiator< ProgramPipeline >
static std::unique_ptr< ProgramPipelinecreate (Args &&...args)
 
static std::unique_ptr< ProgramPipelinefromId (gl::GLuint id, Args &&...args)
 

Constructor & Destructor Documentation

globjects::ProgramPipeline::ProgramPipeline ( )
virtual globjects::ProgramPipeline::~ProgramPipeline ( )
virtual

Member Function Documentation

virtual void globjects::ProgramPipeline::accept ( ObjectVisitor visitor)
overridevirtual

Implements globjects::Object.

void globjects::ProgramPipeline::use ( ) const
static void globjects::ProgramPipeline::release ( )
static
void globjects::ProgramPipeline::useStages ( Program program,
gl::UseProgramStageMask  stages 
)
void globjects::ProgramPipeline::releaseStages ( gl::UseProgramStageMask  stages)
void globjects::ProgramPipeline::releaseProgram ( Program program)
bool globjects::ProgramPipeline::isValid ( ) const
void globjects::ProgramPipeline::validate ( ) const
bool globjects::ProgramPipeline::checkUseStatus ( ) const
std::string globjects::ProgramPipeline::infoLog ( ) const
gl::GLint globjects::ProgramPipeline::get ( gl::GLenum  pname) const
virtual void globjects::ProgramPipeline::notifyChanged ( const Changeable sender)
overridevirtual

Reimplemented from globjects::ChangeListener.

virtual gl::GLenum globjects::ProgramPipeline::objectType ( ) const
overridevirtual

Implements globjects::Object.

void globjects::ProgramPipeline::invalidate ( )
protected

Member Data Documentation

bool globjects::ProgramPipeline::m_dirty
protected
std::set<Program *> globjects::ProgramPipeline::m_programs
protected

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