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

Method SetStencilActions

libs/drape/oglcontext.cpp:215–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void OGLContext::SetStencilActions(StencilFace face, StencilAction stencilFailAction, StencilAction depthFailAction,
216 StencilAction passAction)
217{
218 GLFunctions::glStencilOpSeparate(DecodeStencilFace(face), DecodeStencilAction(stencilFailAction),
219 DecodeStencilAction(depthFailAction), DecodeStencilAction(passAction));
220}
221
222void OGLContext::SetCullingEnabled(bool enabled)
223{

Callers 2

EndFrameMethod · 0.45

Calls 2

DecodeStencilFaceFunction · 0.85
DecodeStencilActionFunction · 0.70

Tested by

no test coverage detected