LUVis::Shader Class Reference

#include <Shader.h>

Inheritance diagram for LUVis::Shader:

LUVis::ShaderFragment LUVis::ShaderVertex List of all members.

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

Detailed Description

Class Shader BaseClass for shaders


Constructor & Destructor Documentation

Shader::Shader ( GLuint  _Type  )  [protected]

Shader::~Shader ( void   )  [protected]


Member Function Documentation

void Shader::detach (  ) 

detach and destroy shader

System::String Shader::GetName (  ) 

returns the shader name

Returns:
name

GLuint Shader::GetObject (  ) 

returns the shader id

Returns:
shader id

GLuint Shader::GetType (  ) 

returns the shader type

Returns:
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

Parameters:
filename name of the file where the shader is placed


Member Data Documentation

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


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 16:23:55 2007 by  doxygen 1.4.7