1 #ifndef UGDK_GRAPHIC_SHADER_H_
2 #define UGDK_GRAPHIC_SHADER_H_
15 GLuint
id()
const {
return id_; }
42 #endif // UGDK_GRAPHIC_SHADER_H_
std::string blocks_
Definition: shader.h:35
void AddCodeBlock(const std::string &block)
Definition: shader.h:18
Definition: animation.h:11
void set_source(const std::string &source)
Sets the source code for this shader.
Definition: shader.h:28
void AddLineInMain(const std::string &line)
Definition: shader.h:17
Shader(GLuint shaderType)
std::string source_
Definition: shader.h:33
GLuint type_
Definition: shader.h:32
GLuint id() const
Definition: shader.h:15
std::string main_
Definition: shader.h:36
GLuint id_
Definition: shader.h:31