| 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 |
no outgoing calls
no test coverage detected