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

Method bindToUnit

examples/viewer.h:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void bindToUnit(GLenum unit)
75 {
76 gl()->glActiveTexture(unit);
77 glBindTexture(GL_TEXTURE_RECTANGLE, texture);
78 }
79
80 void allocate(size_t new_width, size_t new_height)
81 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected