#include "Cg.h"#include <assert.h>Go to the source code of this file.
Functions | |
| CgObjects * | Cg () |
| Access to global Cg Objects. | |
| void | releaseCg () |
| Release all resources associated with Cg (excluding shader objects). | |
Variables | |
| CgObjects * | g_pCg = NULL |
|
|
Access to global Cg Objects. Global objects are created when this function is first called. They must be destroyed manually after all shaders are deleted using a call to releaseCg() Definition at line 92 of file Cg.cpp. References g_pCg. Referenced by CgObjects::cgErrorCallback(), CgFragmentProgram::setup(), CgVertexProgram::setup(), and CgProgram::setup().
|
|
|
Release all resources associated with Cg (excluding shader objects).
Definition at line 102 of file Cg.cpp. References g_pCg.
|
|
|
Definition at line 6 of file Cg.cpp. Referenced by Cg(), and releaseCg(). |
1.3.6