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

Method uniform2f

src/visualization/shader.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void ShaderProgram::uniform2f(const std::string& name,
163 const float x,
164 const float y) const {
165 gl_canvas_.glUniform2f(static_cast<GLint>(uniforms_.at(name)), x, y);
166}
167
168void ShaderProgram::uniform3fv(const std::string& name,
169 const int count,

Callers 2

drawMethod · 0.80
draw_textMethod · 0.80

Calls 1

glUniform2fMethod · 0.80

Tested by

no test coverage detected