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

Function glBindBuffer

GTE/Graphics/GL46/GL46.cpp:3012–3028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3010}
3011
3012void APIENTRY glBindBuffer(GLenum target, GLuint buffer)
3013{
3014 if (sglBindBuffer)
3015 {
3016 sglBindBuffer(target, buffer);
3017 ReportGLError("glBindBuffer");
3018 }
3019 else
3020 {
3021 ReportGLNullFunction("glBindBuffer");
3022 }
3023
3024#if defined(GTE_ENABLE_GLTRACE)
3025 gsTrace.Call("glBindBuffer", "",
3026 gsTrace.GetName(target), buffer);
3027#endif
3028}
3029
3030void APIENTRY glDeleteBuffers(GLsizei n, const GLuint* buffers)
3031{

Callers 15

CopyGpuToCpuMethod · 0.85
DoCopyCpuToGpuMethod · 0.85
CreateStagingMethod · 0.85
EnableMethod · 0.85
DisableMethod · 0.85
GetNumActiveElementsMethod · 0.85
SetNumActiveElementsMethod · 0.85
InitializeMethod · 0.85
CopyGpuToCpuMethod · 0.85
DoCopyCpuToGpuMethod · 0.85

Calls 4

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

Tested by

no test coverage detected