Go to the source code of this file.
Defines | |
#define | WHERE extern |
Functions | |
WHERE void | ShadersInit (char *root, BOOL) |
WHERE void | ShadersInitTour (char *root) |
WHERE void | UseShaderProgram (long id) |
WHERE void | UseSingleShaderProgram (long id) |
WHERE void | UnloadShaders (void) |
WHERE void | SetUniformInteger (int id, char *name, GLint val) |
WHERE void | SetUniformVariable (int id, char *name, GLfloat val) |
WHERE void | SetUniformVector (int id, char *name, GLfloat a, GLfloat b, GLfloat c) |
WHERE void | SetUniformVector2 (int id, char *name, GLfloat a, GLfloat b) |
WHERE void | SetUniformMatrix3 (int id, char *name, GLfloat m[3][3]) |
WHERE void | SetUniformMatrix4 (int id, char *name, GLfloat m[4][4]) |
WHERE void | SetAttributeInteger (int id, char *name, GLshort val) |
WHERE void | SetAttributeVariable (int id, char *name, GLfloat val) |
WHERE void | SetAttributeVector (int id, char *name, GLfloat a, GLfloat b, GLfloat c) |
WHERE void | SetAttributeVectorID (int id, int loc, GLfloat a, GLfloat b, GLfloat c) |
WHERE void | BindAttributeVector (int id, char *name, int loc) |
WHERE GLint | GetAttibuteLocation (int id, char *name) |
WHERE int | LoadAndCompileShader (char *name) |
WHERE void | UnloadCompiledShader (int id) |
WHERE void ShadersInit | ( | char * | root, | |
BOOL | ||||
) |
WHERE void ShadersInitTour | ( | char * | root | ) |
WHERE void UnloadShaders | ( | void | ) |
Definition at line 149 of file shaders.c.
References FALSE, and nPrograms.
Referenced by CloseGlWindow().
WHERE void SetUniformInteger | ( | int | id, | |
char * | name, | |||
GLint | val | |||
) |
WHERE void SetUniformVariable | ( | int | id, | |
char * | name, | |||
GLfloat | val | |||
) |
WHERE void SetUniformVector | ( | int | id, | |
char * | name, | |||
GLfloat | a, | |||
GLfloat | b, | |||
GLfloat | c | |||
) |
WHERE void SetUniformVector2 | ( | int | id, | |
char * | name, | |||
GLfloat | a, | |||
GLfloat | b | |||
) |
WHERE void SetUniformMatrix3 | ( | int | id, | |
char * | name, | |||
GLfloat | m[3][3] | |||
) |
WHERE void SetUniformMatrix4 | ( | int | id, | |
char * | name, | |||
GLfloat | m[4][4] | |||
) |
WHERE void SetAttributeInteger | ( | int | id, | |
char * | name, | |||
GLshort | val | |||
) |
WHERE void SetAttributeVariable | ( | int | id, | |
char * | name, | |||
GLfloat | val | |||
) |
WHERE void SetAttributeVector | ( | int | id, | |
char * | name, | |||
GLfloat | a, | |||
GLfloat | b, | |||
GLfloat | c | |||
) |
WHERE void SetAttributeVectorID | ( | int | id, | |
int | loc, | |||
GLfloat | a, | |||
GLfloat | b, | |||
GLfloat | c | |||
) |
WHERE void BindAttributeVector | ( | int | id, | |
char * | name, | |||
int | loc | |||
) |
WHERE int LoadAndCompileShader | ( | char * | name | ) |
WHERE void UnloadCompiledShader | ( | int | id | ) |