GPU Splatting  1.0
A deffered render that draws the surface of point cloud data.
GL::GLShader Class Reference

Encapsuls an OpenGL shader. More...

#include <GLShader.h>

Public Member Functions

 GLShader (const char *filename, GLShaderType _type)
 Creates a new Shader by reading the given file and compiling it. More...
 
 GLShader (const std::string &filename, GLShaderType _type)
 Creates a new Shader by reading the given file and compiling it. More...
 
 ~GLShader ()
 Delets the shader.
 

Friends

class GLProgram
 

Detailed Description

Encapsuls an OpenGL shader.

Constructor & Destructor Documentation

GL::GLShader::GLShader ( const char *  filename,
GLShaderType  _type 
)
explicit

Creates a new Shader by reading the given file and compiling it.

Parameters
filenamethe path to the shader-code-file.
_typethe type of the shader.
GL::GLShader::GLShader ( const std::string &  filename,
GLShaderType  _type 
)
explicit

Creates a new Shader by reading the given file and compiling it.

Parameters
filenamethe path to the shader-code-file.
_typethe type of the shader.

The documentation for this class was generated from the following files: