| 128 | } |
| 129 | |
| 130 | void TextureCache::Reset() |
| 131 | { |
| 132 | std::lock_guard<std::shared_mutex> guard(m_LoadedTexturesMutex); |
| 133 | |
| 134 | m_LoadedTextures.clear(); |
| 135 | |
| 136 | m_TexturesRequested = 0; |
| 137 | m_TexturesLoaded = 0; |
| 138 | } |
| 139 | |
| 140 | void TextureCache::SetGenerateMipmaps(bool generateMipmaps) |
| 141 | { |