MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / uniform1i

Method uniform1i

src/visualization/shader.cpp:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void ShaderProgram::uniform1i(const std::string& name, const int value) const {
159 gl_canvas_.glUniform1i(static_cast<GLint>(uniforms_.at(name)), value);
160}
161
162void ShaderProgram::uniform2f(const std::string& name,
163 const float x,

Callers 4

set_icon_drawing_modeMethod · 0.80
updateMethod · 0.80
drawMethod · 0.80
draw_textMethod · 0.80

Calls 1

glUniform1iMethod · 0.80

Tested by

no test coverage detected