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

Method uniform_matrix4fv

src/visualization/shader.cpp:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void ShaderProgram::uniform_matrix4fv(const std::string& name,
183 const int count,
184 const GLboolean transpose,
185 const float* value) const {
186 gl_canvas_.glUniformMatrix4fv(
187 static_cast<GLint>(uniforms_.at(name)), count, transpose, value);
188}
189
190void ShaderProgram::use() const {
191 gl_canvas_.glUseProgram(program_);

Callers 2

drawMethod · 0.80
draw_textMethod · 0.80

Calls 1

glUniformMatrix4fvMethod · 0.80

Tested by

no test coverage detected