Program Class Reference
#include <shaders.h>
List of all members.
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 | 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, const vcg::Point4f &p) |
void | Uniform (const char *name, const vcg::Point3f &p) |
void | Uniform (const char *name, const vcg::Point2f &p) |
void | Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
void | Uniform (const char *name, GLfloat x, GLfloat y, GLfloat z) |
void | Uniform (const char *name, GLfloat x, GLfloat y) |
void | Uniform (const char *name, GLfloat x) |
void | Uniform (const char *name, GLint x, GLint y, GLint z, GLint w) |
void | Uniform (const char *name, GLint x, GLint y, GLint z) |
void | Uniform (const char *name, GLint x, GLint y) |
void | Uniform (const char *name, GLint x) |
Protected Member Functions |
void | DoBind (void) |
void | DoUnbind (void) |
Protected Attributes |
bool | linked |
std::set< Shader * > | shaders |
Detailed Description
Definition at line 386 of file shaders.h.
Constructor & Destructor Documentation
Program::Program |
( |
void |
|
) |
[inline] |
Member Function Documentation
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, protected, virtual] |
void Program::DoUnbind |
( |
void |
|
) |
[inline, protected, 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, |
|
|
const vcg::Point4f & |
p | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
const vcg::Point3f & |
p | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
const vcg::Point2f & |
p | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLfloat |
x, |
|
|
GLfloat |
y, |
|
|
GLfloat |
z, |
|
|
GLfloat |
w | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLfloat |
x, |
|
|
GLfloat |
y, |
|
|
GLfloat |
z | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLfloat |
x, |
|
|
GLfloat |
y | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLfloat |
x | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLint |
x, |
|
|
GLint |
y, |
|
|
GLint |
z, |
|
|
GLint |
w | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLint |
x, |
|
|
GLint |
y, |
|
|
GLint |
z | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLint |
x, |
|
|
GLint |
y | |
|
) |
| | [inline] |
void Program::Uniform |
( |
const char * |
name, |
|
|
GLint |
x | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: