globjects
2.0.0.690708773bba
Strict OpenGL objects wrapper.
|
#include <globjects/include/globjects/ProgramPipeline.h>
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< ProgramPipeline > | create (Args &&...args) |
static std::unique_ptr< ProgramPipeline > | fromId (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< IDResource > | m_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< ProgramPipeline > | create (Args &&...args) |
static std::unique_ptr< ProgramPipeline > | fromId (gl::GLuint id, Args &&...args) |
globjects::ProgramPipeline::ProgramPipeline | ( | ) |
|
virtual |
|
overridevirtual |
Implements globjects::Object.
void globjects::ProgramPipeline::use | ( | ) | const |
|
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 |
|
overridevirtual |
Reimplemented from globjects::ChangeListener.
|
overridevirtual |
Implements globjects::Object.
|
protected |
|
protected |
|
protected |