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

Method StencilWriterGuard

libs/drape_frontend/postprocess_renderer.cpp:441–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439}
440
441StencilWriterGuard::StencilWriterGuard(ref_ptr<PostprocessRenderer> renderer, ref_ptr<dp::GraphicsContext> context)
442 : m_renderer(std::move(renderer))
443 , m_context(std::move(context))
444{
445 ASSERT(m_renderer != nullptr, ());
446 m_renderer->EnableWritingToStencil(m_context);
447}
448
449StencilWriterGuard::~StencilWriterGuard()
450{

Callers

nothing calls this directly

Calls 2

ASSERTFunction · 0.85

Tested by

no test coverage detected