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

Method GetPass

src/Nazara/Graphics/DeferredRenderTechnique.cpp:357–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 */
356
357 DeferredRenderPass* DeferredRenderTechnique::GetPass(RenderPassType renderPass, int position)
358 {
359 auto it = m_passes.find(renderPass);
360 if (it != m_passes.end())
361 {
362 auto it2 = it->second.find(position);
363 if (it2 != it->second.end())
364 return it2->second.get();
365 }
366
367 return nullptr;
368 }
369
370 /*!
371 * \brief Gets the render queue

Callers 1

Calls 1

endMethod · 0.45

Tested by

no test coverage detected