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

Method bindToUnit

src/opengl_depth_packet_processor.cpp:308–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 }
307
308 void bindToUnit(GLenum unit)
309 {
310 gl()->glActiveTexture(unit);
311 glBindTexture(GL_TEXTURE_RECTANGLE, texture);
312 CHECKGL();
313 }
314
315 void allocate(size_t new_width, size_t new_height)
316 {

Callers 1

runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected