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

Method GetTexture

src/Nazara/Graphics/DeferredBloomPass.cpp:93–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 */
92
93 Texture* DeferredBloomPass::GetTexture(unsigned int i) const
94 {
95 #if NAZARA_GRAPHICS_SAFE
96 if (i >= 2)
97 {
98 NazaraError("Texture index out of range (" + String::Number(i) + " >= 2)");
99 return nullptr;
100 }
101 #endif
102
103 return m_bloomTextures[i];
104 }
105
106 /*!
107 * \brief Processes the work on the data while working with textures

Callers 3

OnUpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected