#include <mlGLResources.h>

Public Member Functions | |
| GLFragmentProgramARB () | |
| ~GLFragmentProgramARB () | |
| GLuint | getHandle () const |
| get the program's handle (you need to create() the texture 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 102 of file mlGLResources.h.
| GLFragmentProgramARB::GLFragmentProgramARB | ( | ) | [inline] |
Definition at line 104 of file mlGLResources.h.
| GLFragmentProgramARB::~GLFragmentProgramARB | ( | ) | [inline] |
Definition at line 105 of file mlGLResources.h.
| virtual void GLFragmentProgramARB::contextDestroyed | ( | ) | [inline, virtual] |
forget the resource, the context was destroyed
Implements GLResource.
Definition at line 120 of file mlGLResources.h.
| void GLFragmentProgramARB::create | ( | ) |
create the program (requires valid GL context)
| void GLFragmentProgramARB::destroy | ( | ) |
destroy the resource
| GLuint GLFragmentProgramARB::getHandle | ( | ) | const [inline] |
get the program's handle (you need to create() the texture before you get a handle)
Definition at line 108 of file mlGLResources.h.
| bool GLFragmentProgramARB::isValid | ( | ) | const [inline] |
1.5.8