MeVisLabToolboxReference
GLFragmentProgramARB Class Reference

ARB_FRAGMENT_PROGRAM resource. More...

#include <mlGLResources.h>

Inheritance diagram for GLFragmentProgramARB:
GLResource

List of all members.

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

Detailed Description

ARB_FRAGMENT_PROGRAM resource.

Definition at line 102 of file mlGLResources.h.


Constructor & Destructor Documentation

GLFragmentProgramARB::GLFragmentProgramARB ( ) [inline]

Definition at line 104 of file mlGLResources.h.

GLFragmentProgramARB::~GLFragmentProgramARB ( ) [inline]

Definition at line 105 of file mlGLResources.h.


Member Function Documentation

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]

check if the program is valid

Definition at line 111 of file mlGLResources.h.


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