MCPcopy Create free account
hub / github.com/comaps/comaps / SetDepthTestEnabled

Method SetDepthTestEnabled

libs/drape/oglcontext.cpp:189–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void OGLContext::SetDepthTestEnabled(bool enabled)
190{
191 if (enabled)
192 GLFunctions::glEnable(gl_const::GLDepthTest);
193 else
194 GLFunctions::glDisable(gl_const::GLDepthTest);
195}
196
197void OGLContext::SetDepthTestFunction(TestFunction depthFunction)
198{

Callers 15

ImguiRendererMethod · 0.45
CacheUserMarksFunction · 0.45
DrawMethod · 0.45
Arrow3dMethod · 0.45
DrawPathTextPlainMethod · 0.45
DrawPathTextOutlinedMethod · 0.45
DrawMethod · 0.45
SolidBatchFunction · 0.45
MaskedBatchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected