#include <mlGLResources.h>

Public Member Functions | |
| GLSLShader (GLenum shaderType) | |
| virtual | ~GLSLShader () |
| GLuint | getHandle () const |
| get the program's handle (you need to create() the buffer before you get a handle) | |
| bool | isValid () const |
| check if the program is valid | |
| void | create () |
| create the program (requires valid GL context) | |
| void | destroy () |
| destroy the resource | |
| virtual void | contextDestroyed () |
| forget the resource, the context was destroyed | |
Definition at line 269 of file mlGLResources.h.
| GLSLShader::GLSLShader | ( | GLenum | shaderType | ) | [inline] |
Definition at line 271 of file mlGLResources.h.
| virtual GLSLShader::~GLSLShader | ( | ) | [inline, virtual] |
Definition at line 272 of file mlGLResources.h.
| virtual void GLSLShader::contextDestroyed | ( | ) | [inline, virtual] |
forget the resource, the context was destroyed
Implements GLResource.
Definition at line 287 of file mlGLResources.h.
| void GLSLShader::create | ( | ) |
create the program (requires valid GL context)
| void GLSLShader::destroy | ( | ) |
destroy the resource
| GLuint GLSLShader::getHandle | ( | ) | const [inline] |
get the program's handle (you need to create() the buffer before you get a handle)
Definition at line 275 of file mlGLResources.h.
| bool GLSLShader::isValid | ( | ) | const [inline] |
1.5.8