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

Method setUniformVector3

examples/viewer.h:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 }
240
241 void setUniformVector3(const std::string& name, GLfloat value[3])
242 {
243 GLint idx = gl()->glGetUniformLocation(program, name.c_str());
244 if (idx == -1) return;
245
246 gl()->glUniform3fv(idx, 1, value);
247 }
248
249 void setUniformMatrix3(const std::string& name, GLfloat value[9])
250 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected