1 #ifndef BLANK_GRAPHICS_SHADER_HPP_
2 #define BLANK_GRAPHICS_SHADER_HPP_
13 explicit Shader(GLenum type);
16 Shader(Shader &&) noexcept;
17 Shader &operator =(Shader &&) noexcept;
19 Shader(const Shader &) = delete;
20 Shader &operator =(const Shader &) = delete;
22 void Source(const GLchar *src) noexcept;
23 void Compile() noexcept;
24 bool Compiled() const noexcept;
25 void Log(std::ostream &) const;
27 void AttachToProgram(GLuint id) const noexcept;