#include <GPUContext.h>
GLSL | |
GLSL program interface | |
bool | enable () const |
bool | disable () const |
GLhandleARB | programHandle () const |
Program handle. | |
bool | bind (const std::string &name, bool v) const |
Bind a bool to the named variable. | |
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, const bool v[]) const |
Bind a bvec2, bvec3 or bvec4 to the named variable. | |
bool | bind (const std::string &name, int siz, int count, const int v[]) const |
Bind a ivec2, ivec3 or ivec4 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. | |
bool | bind (const std::string &name, const Matrix3 &mat) const |
Bind a Matrix3 to the named variable. | |
bool | bind (const std::string &name, const Matrix4 &mat) const |
Bind a Matrix4 to the named variable. | |
Abstracts the Viewer GPU pipeline in an independent way. To be used by GPU Ops that implement the OpenGL callbacks.
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |