Shader Class Reference

#include <Shader.h>

List of all members.

Public Member Functions

 Shader (void)
 Shader (const char *in_vert, const char *in_frag)
 ~Shader (void)
bool Load (const char *in_vert, const char *in_frag)
void Bind ()
void Unbind ()
GLuint GetProgram ()


Detailed Description

Definition at line 5 of file Shader.h.


Constructor & Destructor Documentation

Shader::Shader ( void   ) 

Definition at line 3 of file Shader.cpp.

Shader::Shader ( const char *  in_vert,
const char *  in_frag 
)

Definition at line 15 of file Shader.cpp.

References Load().

Here is the call graph for this function:

Shader::~Shader ( void   ) 

Definition at line 8 of file Shader.cpp.


Member Function Documentation

bool Shader::Load ( const char *  in_vert,
const char *  in_frag 
)

Definition at line 20 of file Shader.cpp.

Referenced by Arrows::Arrows(), OpenGLWidget::initializeGL(), and Shader().

void Shader::Bind (  ) 

Definition at line 164 of file Shader.cpp.

Referenced by Arrows::Arrows(), Arrows::draw(), and OpenGLWidget::initializeGL().

void Shader::Unbind (  ) 

Definition at line 169 of file Shader.cpp.

Referenced by Arrows::Arrows(), Arrows::draw(), and OpenGLWidget::initializeGL().

GLuint Shader::GetProgram (  ) 

Definition at line 174 of file Shader.cpp.

Referenced by Arrows::Arrows(), and OpenGLWidget::initializeGL().


The documentation for this class was generated from the following files:
Generated on Mon Jan 21 14:50:30 2008 for VisLU by  doxygen 1.5.4