MCPcopy Create free account
hub / github.com/Hopson97/MineCraft-One-Week-Challenge / getUniforms

Method getUniforms

Source/Shaders/BasicShader.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void BasicShader::getUniforms()
21{
22 useProgram();
23 m_locationProjectionViewMatrix =
24 glGetUniformLocation(m_id, "projViewMatrix");
25 m_locationModelMatrix = glGetUniformLocation(m_id, "modelMatrix");
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected