1 #ifndef MSP_GL_SHADER_H_
2 #define MSP_GL_SHADER_H_
18 Shader(GLenum t, const std::string &);
24 void source(unsigned count, const char **str, const int *len);
25 void source(const std::string &str);
26 void source(const char *str, int len);
28 unsigned get_id() const { return id; }
29 bool is_compiled() const { return compiled; }
30 std::string get_info_log() const;
34 class VertexShader: public Shader
38 VertexShader(const std::string &);
42 class FragmentShader: public Shader
46 FragmentShader(const std::string &);