MCPcopy Create free account
hub / github.com/cginternals/globjects / getUniformLocation

Method getUniformLocation

source/globjects/source/Program.cpp:235–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235GLint Program::getUniformLocation(const std::string& name) const
236{
237 checkDirty();
238 if (!m_linked)
239 return -1;
240
241 return glGetUniformLocation(id(), name.c_str());
242}
243
244std::vector<GLint> Program::getAttributeLocations(const std::vector<std::string> & names) const
245{

Callers 1

locationForMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected