25 #include <unordered_map>
void set_attribfv(string name, GLsizei num_components, GLsizei stride, GLsizei offset)
bool load_compute_from_file(string cs_path)
bool load_from_file(const string *paths, GLenum *types, int count)
GLenum GLuint GLintptr offset
std::vector< GLuint > m_shaders
GLsizei const GLuint * paths
GLenum GLenum GLsizei count
bool load_from_src(const string *sources, GLenum *types, int count)
std::unordered_map< string, GLint > m_attributes
void set_uniform(string name, const mat4 &v)
GLsizei GLenum GLenum * types
GLint get_attribute_location(string name)
GLint get_uniform_location(string name)
const void GLsizei GLsizei stride
typedef GLenum(GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC)(void)
std::unordered_map< string, GLint > m_uniforms
typedef GLuint(GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count
void unset_attrib(string name)