MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / Reset

Method Reset

src/engine/TextureCache.cpp:130–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void 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
140void TextureCache::SetGenerateMipmaps(bool generateMipmaps)
141{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected