#include <KeosShadersLoader.h>
Inheritance diagram for Keos::CShadersLoader:

Public Member Functions | |
| CShadersLoader (TShaderType Type) | |
| Build the loader. | |
| ~CShadersLoader () | |
| Destruct the loader. | |
| virtual IShaderBase * | LoadFromFile (const String &strFilename) |
| Load a shader from a file. | |
Use the Cg library.
Definition at line 37 of file KeosShadersLoader.h.
| Keos::CShadersLoader::CShadersLoader | ( | TShaderType | Type | ) |
Build the loader.
| Type | Type of the managed shaders. |
Definition at line 32 of file KeosShadersLoader.cpp.
| Keos::CShadersLoader::~CShadersLoader | ( | ) |
Destruct the loader.
Definition at line 43 of file KeosShadersLoader.cpp.
| IShaderBase * Keos::CShadersLoader::LoadFromFile | ( | const String & | strFilename | ) | [virtual] |
Load a shader from a file.
| strFilename | Path of the file to be loaded. |
Reimplemented from Keos::ILoader< T >.
Definition at line 53 of file KeosShadersLoader.cpp.
References Keos::CAP_FRAGMENT_PROGRAM, Keos::CAP_VERTEX_PROGRAM, LOADINGFAILED_EXCEPT, Renderer, Keos::SHADER_PIXEL, Keos::SHADER_VERTEX, and Keos::CException::what().
1.5.1-p1