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

Function glBindSampler

GTE/Graphics/GL46/GL46.cpp:7772–7788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7770}
7771
7772void APIENTRY glBindSampler(GLuint unit, GLuint sampler)
7773{
7774 if (sglBindSampler)
7775 {
7776 sglBindSampler(unit, sampler);
7777 ReportGLError("glBindSampler");
7778 }
7779 else
7780 {
7781 ReportGLNullFunction("glBindSampler");
7782 }
7783
7784#if defined(GTE_ENABLE_GLTRACE)
7785 gsTrace.Call("glBindSampler", "",
7786 unit, sampler);
7787#endif
7788}
7789
7790void APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
7791{

Callers 2

EnableSamplersMethod · 0.85
DisableSamplersMethod · 0.85

Calls 3

ReportGLErrorFunction · 0.85
ReportGLNullFunctionFunction · 0.85
CallMethod · 0.80

Tested by

no test coverage detected