Encapsuls an OpenGL shader.
More...
#include <GLShader.h>
|
| 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.
|
|
Encapsuls an OpenGL shader.
GL::GLShader::GLShader |
( |
const char * |
filename, |
|
|
GLShaderType |
_type |
|
) |
| |
|
explicit |
Creates a new Shader by reading the given file and compiling it.
- Parameters
-
filename | the path to the shader-code-file. |
_type | the 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
-
filename | the path to the shader-code-file. |
_type | the type of the shader. |
The documentation for this class was generated from the following files:
- C:/Users/Stefan/Documents/Uni/Master Visual Computing/Semester 2/Visualisierung 2/The_Splat_Makers/inc/GLShader.h
- C:/Users/Stefan/Documents/Uni/Master Visual Computing/Semester 2/Visualisierung 2/The_Splat_Makers/src/GLShader.cpp