Compounds | |
struct | _shaderlist |
Defines | |
#define | wglGetProcAddress(x) glXGetProcAddressARB((const GLubyte *)(x)) |
Typedefs | |
typedef _shaderlist | shaderlist |
Functions | |
CGprogram | getprogram (char type, const char *sfile, const char *sname) |
void | createCg () |
void | destroyCg () |
Variables | |
CGcontext | cgContext = NULL |
CGprofile | vProfile |
CGprofile | fProfile |
shaderlist * | shlist |
|
|
|
linked list with loaded shaders |
|
Initialize Cg environment. |
|
Quit Cg environment. |
|
get program from shader list, loading it if not in memory
|
|
|
|
|
|
list of shaders in application |
|
|