#include <Shader.h>
Inheritance diagram for LUVis::Shader:

Public Member Functions | |
| void | detach () |
| detach and destroy shader | |
| GLuint | GetObject () |
| GLuint | GetType () |
Protected Member Functions | |
| Shader (GLuint _Type) | |
| ~Shader (void) | |
| void | initialize () |
| initializes Shader | |
| void | load (System::String^filename) |
| void | InfoLog () |
| helperfunction to check compilation status of the shader | |
Protected Attributes | |
| GLuint | Type |
| contains type of Shader | |
| GLuint | Object |
| contains shader ID | |
| Shader::Shader | ( | GLuint | _Type | ) | [protected] |
| Shader::~Shader | ( | void | ) | [protected] |
| void Shader::detach | ( | ) |
detach and destroy shader
| GLuint Shader::GetObject | ( | ) |
returns the shader id
| GLuint Shader::GetType | ( | ) |
returns the shader type
| void Shader::InfoLog | ( | ) | [protected] |
helperfunction to check compilation status of the shader
| void Shader::initialize | ( | ) | [protected] |
initializes Shader
| void Shader::load | ( | System::String^ | filename | ) | [protected] |
loads shader from file
| filename | name of the file where the shader is placed |
GLuint LUVis::Shader::Object [protected] |
contains shader ID
GLuint LUVis::Shader::Type [protected] |
contains type of Shader
1.4.7