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

Function glFramebufferTexture2D

GTE/Graphics/GL46/GL46.cpp:6629–6646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6627}
6628
6629void APIENTRY glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
6630{
6631 if (sglFramebufferTexture2D)
6632 {
6633 sglFramebufferTexture2D(target, attachment, textarget, texture, level);
6634 ReportGLError("glFramebufferTexture2D");
6635 }
6636 else
6637 {
6638 ReportGLNullFunction("glFramebufferTexture2D");
6639 }
6640
6641#if defined(GTE_ENABLE_GLTRACE)
6642 gsTrace.Call("glFramebufferTexture2D", "",
6643 gsTrace.GetName(target), gsTrace.GetName(attachment),
6644 gsTrace.GetName(textarget), texture, level);
6645#endif
6646}
6647
6648void APIENTRY glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
6649{

Callers 1

EnableMethod · 0.85

Calls 4

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

Tested by

no test coverage detected