globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.

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

Inheritance diagram for globjects::ProgramPipeline:
globjects::Object globjects::ChangeListener globjects::Referenced globjects::HeapOnly

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 ()
 
- Public Member Functions inherited from globjects::Referenced
 Referenced ()
 
void ref () const
 
void unref () const
 
int refCounter () const
 
- Public Member Functions inherited from globjects::HeapOnly
 HeapOnly ()
 
void destroy () const
 

Static Public Member Functions

static void release ()
 
- Static Public Member Functions inherited from globjects::Object
static void hintNameImplementation (NameImplementation impl)
 

Protected Member Functions

void invalidate ()
 
- Protected Member Functions inherited from globjects::Object
 Object (IDResource *resource)
 
virtual ~Object ()
 
- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 
- Protected Member Functions inherited from globjects::ChangeListener
virtual ~ChangeListener ()
 

Protected Attributes

bool m_dirty
 
std::set< ref_ptr< Program > > m_programs
 
- Protected Attributes inherited from globjects::Object
IDResource * m_resource
 
void * m_objectLabelState
 

Additional Inherited Members

- Public Types inherited from globjects::Object
enum  NameImplementation { NameImplementation::DebugKHR, NameImplementation::Legacy }
 

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<ref_ptr<Program> > globjects::ProgramPipeline::m_programs
protected

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