Class for managing an OpenGL vertex shader. More...
#include <Shader_Program.hpp>


Public Member Functions | |
| Vertex_Shader (const vector< string > &source_code) | |
| Constructor for the Vertex_Shader class. | |
Public Member Functions inherited from Ragot::Shader | |
| Shader ()=delete | |
| Deleted default constructor. | |
| ~Shader () | |
| Destructor for the Shader class. | |
| GLuint | get_id () const |
| Gets the shader ID. | |
| string * | get_error () |
| Gets the compilation error message. | |
| bool | is_ok () const |
| Checks if the shader is compiled successfully. | |
Additional Inherited Members | |
Protected Member Functions inherited from Ragot::Shader | |
| Shader (const vector< string > &source_code, GLenum type) | |
| Constructor for the Shader class. | |
| GLuint | compile_shader () |
| Compiles the shader. | |
| void | show_compilation_error () |
| Displays compilation errors. | |
Class for managing an OpenGL vertex shader.
|
inline |
Constructor for the Vertex_Shader class.
| source_code | Vector of vertex shader source code. |
