MeVisLab Toolbox Reference
GLSLFragmentShader Class Reference

GLSL FragmentShader resource. More...

#include <mlGLResources.h>

Inheritance diagram for GLSLFragmentShader:
GLSLShader GLResource

Public Member Functions

 GLSLFragmentShader ()
 
 ~GLSLFragmentShader () override
 
- Public Member Functions inherited from GLSLShader
 GLSLShader (GLenum shaderType)
 
 ~GLSLShader () override
 
GLuint getHandle () const
 get the program's handle (you need to create() the buffer before you get a handle) More...
 
bool isValid () const
 check if the program is valid More...
 
void create ()
 create the program (requires valid GL context) More...
 
void destroy ()
 destroy the resource More...
 
void contextDestroyed () override
 forget the resource, the context was destroyed More...
 
- Public Member Functions inherited from GLResource
 GLResource ()
 
virtual ~GLResource ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GLResource
static GLenum getGLError ()
 check for OpenGL error (returns GL_INVALID_OPERATION if there is no valid OpenGL context) More...
 
- Protected Attributes inherited from GLResource
GLResource_next
 
GLResource_previous
 

Detailed Description

GLSL FragmentShader resource.

Definition at line 275 of file mlGLResources.h.

Constructor & Destructor Documentation

◆ GLSLFragmentShader()

GLSLFragmentShader::GLSLFragmentShader ( )
inline

Definition at line 277 of file mlGLResources.h.

◆ ~GLSLFragmentShader()

GLSLFragmentShader::~GLSLFragmentShader ( )
inlineoverride

Definition at line 278 of file mlGLResources.h.


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