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

Method GetWorkTexture

src/Nazara/Graphics/DeferredRenderTechnique.cpp:409–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407 */
408
409 Texture* DeferredRenderTechnique::GetWorkTexture(unsigned int i) const
410 {
411 #if NAZARA_GRAPHICS_SAFE
412 if (i >= 2)
413 {
414 NazaraError("Work texture index out of range (" + String::Number(i) + " >= 2)");
415 return nullptr;
416 }
417 #endif
418
419 return m_workTextures[i];
420 }
421
422 /*!
423 * \brief Checks whether the pass is enable

Callers 1

InitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected