#include <Shader.h>
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 () |
Definition at line 5 of file Shader.h.
| 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().

| Shader::~Shader | ( | void | ) |
Definition at line 8 of file Shader.cpp.
| 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().
1.5.4