MCPcopy Create free account
hub / github.com/comaps/comaps / GetUniformLocation

Method GetUniformLocation

libs/drape/gl_gpu_program.cpp:60–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60int8_t GLGpuProgram::GetUniformLocation(std::string const & uniformName) const
61{
62 auto const it = m_uniforms.find(uniformName);
63 if (it == m_uniforms.end())
64 return -1;
65
66 return it->second.m_location;
67}
68
69glConst GLGpuProgram::GetUniformType(std::string const & uniformName) const
70{

Callers 2

ApplyMethod · 0.80
ApplyTexturesMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected