MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / getUniformLocation

Method getUniformLocation

src/Shaders/BaseShader.cpp:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236GLint BaseShader::getUniformLocation(std::string uniformName){
237 return glGetUniformLocation(ProgramID, uniformName.c_str());
238}
239
240void BaseShader::bindAttribute(GLuint attribute, std::string variableName) {
241 glBindAttribLocation(ProgramID, attribute, variableName.c_str());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected