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

Method loadBool

src/Shaders/BaseShader.cpp:192–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192void BaseShader::loadBool(GLint location, bool value){
193 glUniform1i(location, value);
194}
195
196void BaseShader::loadFloat(GLint location, float value){
197 glUniform1f(location, value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected