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

Method loadSampler2D

src/Shaders/BaseShader.cpp:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void BaseShader::loadSampler2D(GLint location, GLint textureUnit){
189 glUniform1i(location, textureUnit);
190}
191
192void BaseShader::loadBool(GLint location, bool value){
193 glUniform1i(location, value);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected