| 53 | } |
| 54 | |
| 55 | GLuint Shader::GetIdentifier() const { |
| 56 | return m_program; |
| 57 | } |
| 58 | |
| 59 | GLint Shader::_GetLocationUniform(const char* name) { |
| 60 | const auto it = std::find_if(std::begin(m_uniform_location_map), std::end(m_uniform_location_map), [&](const auto& kv) { return strcmp(kv.first, name) == 0; }); |
no outgoing calls