FastUIDraw
Public Member Functions | List of all members
fastuidraw::gl::PreLinkAction Class Referenceabstract

A PreLinkAction is an action to apply to a Program after attaching shaders but before linking. More...

#include <gl_program.hpp>

Inheritance diagram for fastuidraw::gl::PreLinkAction:
Inheritance graph
[legend]

Public Member Functions

virtual void action (GLuint glsl_program) const =0
 
- 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)
 

Detailed Description

A PreLinkAction is an action to apply to a Program after attaching shaders but before linking.

Definition at line 167 of file gl_program.hpp.

Member Function Documentation

◆ action()

virtual void fastuidraw::gl::PreLinkAction::action ( GLuint  glsl_program) const
pure virtual

To be implemented by a derived class to perform an action before the GLSL program is linked. Default implementation does nothing.

Parameters
glsl_programGL name of GLSL program on which to perform the action.

Implemented in fastuidraw::gl::TransformFeedbackVarying, fastuidraw::gl::BindFragDataLocation, fastuidraw::gl::ProgramSeparable, and fastuidraw::gl::BindAttribute.


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