FastUIDraw
Public Member Functions | List of all members
fastuidraw::gl::ProgramSeparable Class Reference

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>

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

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)
 

Detailed Description

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.

Member Function Documentation

◆ action()

virtual void fastuidraw::gl::ProgramSeparable::action ( GLuint  glsl_program) const
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.

Implements fastuidraw::gl::PreLinkAction.


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