9 #ifndef GLSL_PROGRAM_HPP 10 #define GLSL_PROGRAM_HPP 23 GLuint program_id_ = 0;
24 GLuint vertex_shader_id_ = 0;
25 GLuint fragment_shader_id_ = 0;
26 int attribute_index_ = 0;
29 void compileShader(
const GLuint &shader,
const std::string &file_path);
35 void compileShaders(
const std::string &vertex_shader_path,
const std::string &fragment_shader_path);
37 void addAttribute(
const std::string &attribute_name);
38 GLint getUniformLocation(
const std::string &uniform_name);
Definition: glslprogram.hpp:19
Definition: camera2d.hpp:17