| 94 | glUniform1i(glGetUniformLocation(ID, name.c_str()), value); |
| 95 | } |
| 96 | void _Shader::setFloat(const std::string& name, float value) const |
| 97 | { |
| 98 | glUniform1f(glGetUniformLocation(ID, name.c_str()), value); |
| 99 | } |
| 100 | |
| 101 | void _Shader::checkCompileErrors(GLuint shader, std::string type) |
| 102 | { |
no outgoing calls
no test coverage detected