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

Method SetStencilTestEnabled

libs/drape/oglcontext.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void OGLContext::SetStencilTestEnabled(bool enabled)
203{
204 if (enabled)
205 GLFunctions::glEnable(gl_const::GLStencilTest);
206 else
207 GLFunctions::glDisable(gl_const::GLStencilTest);
208}
209
210void OGLContext::SetStencilFunction(StencilFace face, TestFunction stencilFunction)
211{

Callers 4

BeginFrameMethod · 0.45
EndFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected