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
 Returns the program's handle (you need to create() the buffer before you get a handle).
 
bool isValid () const
 Checks whether the program is valid.
 
void create ()
 Creates the program (requires valid GL context).
 
void destroy ()
 Destroys the resource.
 
void contextDestroyed () override
 Forgets the resource; the context was destroyed.
 
- Public Member Functions inherited from GLResource
 GLResource ()
 
virtual ~GLResource ()
 

Additional Inherited Members

- Static Public Member Functions inherited from GLResource
static GLenum getGLError ()
 Checks for OpenGL error (returns GL_INVALID_OPERATION if there is no valid OpenGL context).
 
- 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: