Tool::CGShaderManager Class Reference

Manages the cg shader. More...

#include <CGShaderManager.hpp>

List of all members.

Public Member Functions

void initialise ()
CGProgram createProgram (const std::string &name, const ShaderType &shadertype, const CGenum &sourcetype, const std::string &programfilename, const CGParameterList parameters=CGParameterList(), const std::string &mainroutine="main", const char **args=NULL)
void destroyProgram (const std::string &name)
void bindProgram (const std::string &name)
void unbindProgram (const std::string &name)

Static Public Member Functions

static CGShaderManagergetInstance ()

Detailed Description

Manages the cg shader.

This Manager can be used to load, compile and bind shaders written in NVidias CG.


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2