FemViewer::GLShaderProgram Class Reference

#include <Shader.h>

List of all members.

Public Member Functions

 GLShaderProgram ()
 ~GLShaderProgram ()
void Delete ()
bool AddShader (const char *path, int type)
bool Complete ()
void Enable ()
GLuint GetID ()
GLuint GetUniformBlockIndex (const char *blkName)
void SetUniform (const char *name, int value)
void SetUniform (const char *name, const float *values)

Static Public Attributes

static const int MatricesBlokIndex = 0
static const int ParametersBlockIndex = 1

Constructor & Destructor Documentation

FemViewer::GLShaderProgram::GLShaderProgram (  ) 
FemViewer::GLShaderProgram::~GLShaderProgram (  ) 

Here is the call graph for this function:


Member Function Documentation

bool FemViewer::GLShaderProgram::AddShader ( const char *  path,
int  type 
)

Here is the call graph for this function:

bool FemViewer::GLShaderProgram::Complete (  ) 

Here is the call graph for this function:

void FemViewer::GLShaderProgram::Delete (  ) 

Here is the caller graph for this function:

void FemViewer::GLShaderProgram::Enable (  ) 
GLuint FemViewer::GLShaderProgram::GetID (  ) 
GLuint FemViewer::GLShaderProgram::GetUniformBlockIndex ( const char *  blkName  ) 

Here is the caller graph for this function:

void FemViewer::GLShaderProgram::SetUniform ( const char *  name,
const float *  values 
)
void FemViewer::GLShaderProgram::SetUniform ( const char *  name,
int  value 
)

Member Data Documentation


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