|
MeVisLab Toolbox Reference
|
GLSL VertexShader resource. More...
#include <mlGLResources.h>
Public Member Functions | |
| GLSLVertexShader () | |
| ~GLSLVertexShader () 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 |
GLSL VertexShader resource.
Definition at line 262 of file mlGLResources.h.
|
inline |
Definition at line 264 of file mlGLResources.h.
|
inlineoverride |
Definition at line 265 of file mlGLResources.h.