MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / glTexSubImage3D

Function glTexSubImage3D

GTE/Graphics/GL46/GL46.cpp:2406–2424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2404}
2405
2406void APIENTRY glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels)
2407{
2408 if (sglTexSubImage3D)
2409 {
2410 sglTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
2411 ReportGLError("glTexSubImage3D");
2412 }
2413 else
2414 {
2415 ReportGLNullFunction("glTexSubImage3D");
2416 }
2417
2418#if defined(GTE_ENABLE_GLTRACE)
2419 gsTrace.Call("glTexSubImage3D", "",
2420 gsTrace.GetName(target), level, xoffset, yoffset, zoffset,
2421 width, height, depth, gsTrace.GetName(format), gsTrace.GetName(type),
2422 "pixels");
2423#endif
2424}
2425
2426void APIENTRY glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
2427{

Callers 3

LoadTextureLevelMethod · 0.85
LoadTextureLevelMethod · 0.85
LoadTextureLevelMethod · 0.85

Calls 4

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80
GetNameMethod · 0.80

Tested by

no test coverage detected