#include <Shader.h>
Inheritance diagram for LUVis::Shader:
Public Member Functions | |
void | detach () |
detach and destroy shader | |
GLuint | GetObject () |
GLuint | GetType () |
System::String | GetName () |
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 | |
System::String | Name |
contains shader name |
Shader::Shader | ( | GLuint | _Type | ) | [protected] |
Shader::~Shader | ( | void | ) | [protected] |
void Shader::detach | ( | ) |
detach and destroy shader
System::String Shader::GetName | ( | ) |
returns the shader name
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 |
System::String LUVis::Shader::Name [protected] |
contains shader name
GLuint LUVis::Shader::Object [protected] |
contains shader ID
GLuint LUVis::Shader::Type [protected] |
contains type of Shader