LUVis::Shader Class Reference

#include <Shader.h>

Inheritance diagram for LUVis::Shader:

LUVis::FragmentShader LUVis::VertexShader List of all members.

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

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

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

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 Dec 6 16:25:59 2006 by  doxygen 1.4.7