MCPcopy Create free account
hub / github.com/JeanPhilippeKernel/RendererEngine / GetIdentifier

Method GetIdentifier

ZEngine/src/Shader.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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; });

Callers 2

GetHashCodeMethod · 0.45
RenderMethod · 0.45

Calls

no outgoing calls

Tested by 1

RenderMethod · 0.36