globjects
1.1.0.2f0c753c8647
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 () |
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 } |
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 |