#ifndef SHADERS_HPP #define SHADERS_HPP #include #include #include #include "misc.hpp" unsigned int linkShaderObjectsShaderProgram(const unsigned int vertexShaders, const unsigned int fragmentShader); std::pair compileShaders(const char* vertexShaderSource, const char* fragmentShaderSource); unsigned int compileShader(const GLenum shaderType, const char *shaderSource); int shaderCompilationSuccessful(const unsigned int shader); int shaderProgramLinkingSuccessful(const unsigned int shaderProgram); int shaderSuccessful(const unsigned int shader, const bool compilation); void shaderFailedMessage(const unsigned int shader, const bool compilation); #endif