#include <shaders.h>

Public Member Functions | |
| void | Attach (Shader *shd) |
| Shader * | AttachedShader (int i) |
| GLsizei | AttachedShaders (void) const |
| void | Attribute (int index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| void | BindAttribute (int index, const char *name) |
| void | Del (void) |
| void | Detach (Shader *shd) |
| void | DoBind (void) |
| void | DoUnbind (void) |
| void | Gen (void) |
| std::string | InfoLog (void) |
| bool | IsLinked (void) const |
| bool | Link (void) |
| void | Parameter (GLenum pname, int value) |
| Program (void) | |
| void | Uniform (const char *name, GLint x) |
| void | Uniform (const char *name, GLint x, GLint y) |
| void | Uniform (const char *name, GLint x, GLint y, GLint z) |
| void | Uniform (const char *name, GLint x, GLint y, GLint z, GLint w) |
| void | Uniform (const char *name, GLfloat x) |
| void | Uniform (const char *name, GLfloat x, GLfloat y) |
| void | Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z) |
| void | Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| void | Uniform (const char *name, const vcg::Point2i &p) |
| void | Uniform (const char *name, const vcg::Point2f &p) |
| void | Uniform (const char *name, const vcg::Point3f &p) |
| void | Uniform (const char *name, const vcg::Point4f &p) |
| void | Uniform (const char *name, const vcg::Matrix33f &m, bool traspose=true) |
| void | Uniform (const char *name, const vcg::Matrix44f &m, bool traspose=true) |
Protected Attributes | |
| bool | linked |
| std::set< Shader * > | shaders |
| Program::Program | ( | void | ) | [inline] |
| void Program::Attach | ( | Shader * | shd | ) | [inline] |
| Shader* Program::AttachedShader | ( | int | i | ) | [inline] |
| GLsizei Program::AttachedShaders | ( | void | ) | const [inline] |
| void Program::Attribute | ( | int | index, |
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z, | ||
| GLfloat | w | ||
| ) | [inline] |
| void Program::BindAttribute | ( | int | index, |
| const char * | name | ||
| ) | [inline] |
| void Program::Del | ( | void | ) | [inline, virtual] |
| void Program::Detach | ( | Shader * | shd | ) | [inline] |
| void Program::DoBind | ( | void | ) | [inline, virtual] |
| void Program::DoUnbind | ( | void | ) | [inline, virtual] |
| void Program::Gen | ( | void | ) | [inline, virtual] |
| std::string Program::InfoLog | ( | void | ) | [inline] |
| bool Program::IsLinked | ( | void | ) | const [inline] |
| bool Program::Link | ( | void | ) | [inline] |
| void Program::Parameter | ( | GLenum | pname, |
| int | value | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLint | x | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLint | x, | ||
| GLint | y | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLint | x, | ||
| GLint | y, | ||
| GLint | z | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLint | x, | ||
| GLint | y, | ||
| GLint | z, | ||
| GLint | w | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLfloat | x | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLfloat | x, | ||
| GLfloat | y | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| GLfloat | x, | ||
| GLfloat | y, | ||
| GLfloat | z, | ||
| GLfloat | w | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Point2i & | p | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Point2f & | p | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Point3f & | p | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Point4f & | p | ||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Matrix33f & | m, | ||
| bool | traspose = true |
||
| ) | [inline] |
| void Program::Uniform | ( | const char * | name, |
| const vcg::Matrix44f & | m, | ||
| bool | traspose = true |
||
| ) | [inline] |
bool Program::linked [protected] |
std::set<Shader *> Program::shaders [protected] |