CG_Labs
2021.2
|
Functions | |
bool | source_and_build_shader (GLuint id, std::string const &source) |
GLuint | generate_shader (GLenum type, std::string const &source) |
bool | link_program (GLuint id) |
void | reload_program (GLuint id, std::vector< GLuint > const &ids, std::vector< std::string > const &sources) |
GLuint | generate_program (std::vector< GLuint > const &shaders_id) |
GLuint utils::opengl::shader::generate_program | ( | std::vector< GLuint > const & | shaders_id | ) |
GLuint utils::opengl::shader::generate_shader | ( | GLenum | type, |
std::string const & | source | ||
) |
bool utils::opengl::shader::link_program | ( | GLuint | id | ) |
void utils::opengl::shader::reload_program | ( | GLuint | id, |
std::vector< GLuint > const & | ids, | ||
std::vector< std::string > const & | sources | ||
) |
bool utils::opengl::shader::source_and_build_shader | ( | GLuint | id, |
std::string const & | source | ||
) |