Visualization 2 Halo Renderer
Shader Class Reference

Class representing a shader as combination of Vertex- and Fragment-Stage. This Shader class was taken from https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/shader However, some methods were removed. More...

#include <shader.h>

Public Member Functions

 Shader (const GLchar *vertexPath, const GLchar *fragmentPath)
 
void Use ()
 

Public Attributes

GLuint Program
 

Detailed Description

Class representing a shader as combination of Vertex- and Fragment-Stage. This Shader class was taken from https://learnopengl.com/code_viewer_gh.php?code=includes/learnopengl/shader However, some methods were removed.

Definition at line 17 of file shader.h.

Constructor & Destructor Documentation

◆ Shader()

Shader::Shader ( const GLchar *  vertexPath,
const GLchar *  fragmentPath 
)
inline

Definition at line 22 of file shader.h.

Member Function Documentation

◆ Use()

void Shader::Use ( )
inline

Definition at line 98 of file shader.h.

Member Data Documentation

◆ Program

GLuint Shader::Program

Definition at line 20 of file shader.h.


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