MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / EnablePass

Method EnablePass

src/Nazara/Graphics/DeferredRenderTechnique.cpp:286–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284 */
285
286 void DeferredRenderTechnique::EnablePass(RenderPassType renderPass, int position, bool enable)
287 {
288 auto it = m_passes.find(renderPass);
289 if (it != m_passes.end())
290 {
291 auto it2 = it->second.find(position);
292 if (it2 != it->second.end())
293 it2->second->Enable(enable);
294 }
295 }
296
297 /*!
298 * \brief Gets the stencil buffer

Callers 1

Calls 2

endMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected