MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / setUniformMatrix3

Method setUniformMatrix3

examples/viewer.h:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248
249 void setUniformMatrix3(const std::string& name, GLfloat value[9])
250 {
251 GLint idx = gl()->glGetUniformLocation(program, name.c_str());
252 if (idx == -1) return;
253
254 gl()->glUniformMatrix3fv(idx, 1, false, value);
255 }
256
257 void use()
258 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected