Public Member Functions | |
Internal | |
Nuke internal use only. | |
void | init () |
void | fini () |
bool | isInitialised () const |
void | attachGLSLProgram (void *) |
void | resetAllTextureUnits () |
void | setWidth (int width) |
void | setHeight (int height) |
GPU | |
GPU context public interface. | |
int | acquireTextureUnit () |
void | releaseTextureUnit (int unit) |
int | getNumFreeTextureUnits () const |
Width and Height | |
Get the computed result width and height | |
int | width () const |
int | height () const |
GLSL | |
GLSL program interface | |
bool | enable () const |
bool | disable () const |
GLhandleARB | programHandle () const |
Program handle. | |
bool | bind (const std::string &name, int v) const |
Bind an integer to the named variable. | |
bool | bind (const std::string &name, float v) const |
Bind a float to the named variable. | |
bool | bind (const std::string &name, int siz, int count, float v[]) const |
Bind a vec2, vec3 or vec4 to the named variable. |
©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |