#include <Shader.h>
Public Member Functions | |
Shader (eRenderType type=SH_UNKNOWN) | |
virtual | ~Shader () |
virtual bool | Init () |
void | Enable () |
Static Public Attributes | |
static const int | ProjectionBlkIdx = 0 |
static const int | IsoValuesBlkIdx = 1 |
Protected Member Functions | |
bool | Attach (GLenum Type, const char *FilePath) |
bool | Complete () |
GLuint | GetUniformParam (const char *NameOfParam) |
GLuint | GetUniformBlockIndex (const char *UnifBlockName) |
Protected Attributes | |
eRenderType | _type |
GLuint | _programId |
GLuint | _UnifBlockIndexlocation |
GLuint | _IsoValuesUnifBlk |
FemViewer::Shader::Shader | ( | eRenderType | type = SH_UNKNOWN |
) |
FemViewer::Shader::~Shader | ( | ) | [virtual] |
bool FemViewer::Shader::Attach | ( | GLenum | Type, | |
const char * | FilePath | |||
) | [protected] |
bool FemViewer::Shader::Complete | ( | ) | [protected] |
void FemViewer::Shader::Enable | ( | ) |
GLuint FemViewer::Shader::GetUniformBlockIndex | ( | const char * | UnifBlockName | ) | [protected] |
GLuint FemViewer::Shader::GetUniformParam | ( | const char * | NameOfParam | ) | [protected] |
bool FemViewer::Shader::Init | ( | ) | [virtual] |
GLuint FemViewer::Shader::_IsoValuesUnifBlk [protected] |
GLuint FemViewer::Shader::_programId [protected] |
eRenderType FemViewer::Shader::_type [protected] |
GLuint FemViewer::Shader::_UnifBlockIndexlocation [protected] |
const int FemViewer::Shader::IsoValuesBlkIdx = 1 [static] |
const int FemViewer::Shader::ProjectionBlkIdx = 0 [static] |