#ifndef SHADER_SOURCE_H #define SHADER_SOURCE_H #include #include struct GLsource { using ShaderRef = glRef; const GLchar * text; GLint len; GLuint type; [[nodiscard]] ShaderRef compile() const; }; #endif