21 Shader(std::string vertex_file, std::string fragment_file);
22 Shader(Shader
const ©_shader);
26 GLuint ProgramID()
const {
return program_id; }
29 std::string VertexFile()
const {
return vertex_file; }
32 std::string FragmentFile()
const {
return fragment_file; }
39 std::string vertex_file;
40 std::string fragment_file;
44 void Compile(GLuint &shader, GLenum type, std::string
const &fichierSource);