#include <cg.h>
Public Member Functions | |
CgLoader () | |
void | DisablePrograms () |
void | EnableProgram (CgProgram program) |
void | Initialise () |
CgProgram | LoadProgram (const std::string &file, const std::string &function, bool isVertexShader) |
void | RenderDummyQuad () |
void | RenderDummyQuadWithTexCoords (int w, int h) |
~CgLoader () | |
Public Attributes | |
CGcontext | mContext |
CGprofile | mFragmentProfile |
CGprofile | mVertexProfile |
pangolin::CgLoader::CgLoader | ( | ) | [inline] |
pangolin::CgLoader::~CgLoader | ( | ) | [inline] |
void pangolin::CgLoader::DisablePrograms | ( | ) | [inline] |
void pangolin::CgLoader::EnableProgram | ( | CgProgram | program | ) | [inline] |
void pangolin::CgLoader::Initialise | ( | ) | [inline] |
CgProgram pangolin::CgLoader::LoadProgram | ( | const std::string & | file, |
const std::string & | function, | ||
bool | isVertexShader | ||
) | [inline] |
void pangolin::CgLoader::RenderDummyQuad | ( | ) | [inline] |
void pangolin::CgLoader::RenderDummyQuadWithTexCoords | ( | int | w, |
int | h | ||
) | [inline] |
CGcontext pangolin::CgLoader::mContext |
CGprofile pangolin::CgLoader::mFragmentProfile |
CGprofile pangolin::CgLoader::mVertexProfile |