1 #ifndef UGDK_GRAPHIC_SHADERPROGRAM_H_
2 #define UGDK_GRAPHIC_SHADERPROGRAM_H_
16 GLuint
id()
const {
return id_; }
25 void PrintLog(
const std::string& title)
const;
28 GLuint matrix_location_;
29 GLuint color_location_;
30 GLuint texture_location_;
39 #endif // UGDK_GRAPHIC_SHADERPROGRAM_H_
GLuint UniformLocation(const std::string &name) const
Definition: animation.h:11
friend class ShaderUse
Definition: shaderprogram.h:33
GLuint id() const
Definition: shaderprogram.h:16
Definition: shaderprogram.h:11
void AttachShader(const Shader &shader)