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

Method loadFloat

src/Shaders/BaseShader.cpp:196–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void BaseShader::loadFloat(GLint location, float value){
197 glUniform1f(location, value);
198}
199
200void BaseShader::loadVec4(GLint location, glm::vec4 value){
201 glUniform4f(location, value.x, value.y, value.z, value.w);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected