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

Method upload

src/opengl_depth_packet_processor.cpp:343–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 }
342
343 void upload()
344 {
345 bindToUnit(GL_TEXTURE0);
346 glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
347 glTexSubImage2D(GL_TEXTURE_RECTANGLE, /*level*/0, /*xoffset*/0, /*yoffset*/0, width, height, FormatT::Format, FormatT::Type, data);
348 CHECKGL();
349 }
350
351 void download()
352 {

Callers 4

loadXZTablesMethod · 0.45
loadLookupTableMethod · 0.45
processMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected