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

Method IsPassEnabled

src/Nazara/Graphics/DeferredRenderTechnique.cpp:430–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 */
429
430 bool DeferredRenderTechnique::IsPassEnabled(RenderPassType renderPass, int position)
431 {
432 auto it = m_passes.find(renderPass);
433 if (it != m_passes.end())
434 {
435 auto it2 = it->second.find(position);
436 if (it2 != it->second.end())
437 return it2->second->IsEnabled();
438 }
439
440 return false;
441 }
442
443 /*!
444 * \brief Resets the pass

Callers 1

Calls 2

endMethod · 0.45
IsEnabledMethod · 0.45

Tested by

no test coverage detected