FastUIDraw
|
A ProgramSeparable inherits from PreLinkAction, its purpose is to set a GLSL program as separable, so that it can be used by a GLSL pipeline. Using a ProgramSeparable requires: More...
#include <gl_program.hpp>
Public Member Functions | |
virtual void | action (GLuint glsl_program) const |
Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter > | |
reference_counted_base (void) | |
Additional Inherited Members | |
Static Public Member Functions inherited from fastuidraw::reference_counted_base< T, Counter > | |
static void | add_reference (const reference_counted_base< T, Counter > *p) |
static void | remove_reference (const reference_counted_base< T, Counter > *p) |
A ProgramSeparable inherits from PreLinkAction, its purpose is to set a GLSL program as separable, so that it can be used by a GLSL pipeline. Using a ProgramSeparable requires:
Definition at line 221 of file gl_program.hpp.
|
virtual |
To be implemented by a derived class to perform an action before the GLSL program is linked. Default implementation does nothing.
glsl_program | GL name of GLSL program on which to perform the action. |
Implements fastuidraw::gl::PreLinkAction.