FemViewer::Shader Class Reference

#include <Shader.h>

Inheritance diagram for FemViewer::Shader:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

FemViewer::Shader::Shader ( eRenderType  type = SH_UNKNOWN  ) 
FemViewer::Shader::~Shader (  )  [virtual]

Member Function Documentation

bool FemViewer::Shader::Attach ( GLenum  Type,
const char *  FilePath 
) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool FemViewer::Shader::Complete (  )  [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::Shader::Enable (  ) 
GLuint FemViewer::Shader::GetUniformBlockIndex ( const char *  UnifBlockName  )  [protected]

Here is the caller graph for this function:

GLuint FemViewer::Shader::GetUniformParam ( const char *  NameOfParam  )  [protected]

Here is the caller graph for this function:

bool FemViewer::Shader::Init (  )  [virtual]

Reimplemented in FemViewer::TriangleShader.

Here is the call graph for this function:


Member Data Documentation

GLuint FemViewer::Shader::_programId [protected]
const int FemViewer::Shader::IsoValuesBlkIdx = 1 [static]
const int FemViewer::Shader::ProjectionBlkIdx = 0 [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1