MCPcopy Create free account
hub / github.com/OpenImageDebugger/OpenImageDebugger / glTexImage2D

Method glTexImage2D

src/host/glfw_canvas.cpp:490–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void GlfwCanvas::glTexImage2D(GLenum tg,
491 GLint lv,
492 GLint ifmt,
493 GLsizei w,
494 GLsizei h,
495 GLint b,
496 GLenum f,
497 GLenum ty,
498 const void* d) const {
499 fns_->pfn_glTexImage2D(tg, lv, ifmt, w, h, b, f, ty, d);
500}
501
502void GlfwCanvas::glTexSubImage2D(GLenum tg,
503 GLint lv,

Callers 4

upload_atlasMethod · 0.80
setup_gl_bufferMethod · 0.80
ensure_sizeMethod · 0.80
texture_forMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected