1 #ifndef BLOBS_GRAPHICS_SHADER_HPP_
2 #define BLOBS_GRAPHICS_SHADER_HPP_
14 explicit Shader(GLenum type);
17 Shader(Shader &&) noexcept;
18 Shader &operator =(Shader &&) noexcept;
20 Shader(const Shader &) = delete;
21 Shader &operator =(const Shader &) = delete;
23 void Source(const GLchar *src) noexcept;
24 void Compile() noexcept;
25 bool Compiled() const noexcept;
26 void Log(std::ostream &) const;
28 void AttachToProgram(GLuint id) const noexcept;