MCPcopy Create free account
hub / github.com/RenderKit/embree / clearTextureCache

Method clearTextureCache

tutorials/common/scenegraph/texture.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 static std::map<std::string,std::shared_ptr<Texture>> texture_cache;
16
17 void Texture::clearTextureCache() {
18 texture_cache.clear();
19 }
20
21 Texture::Texture ()
22 : width(-1), height(-1), format(INVALID), bytesPerTexel(0), width_mask(0), height_mask(0), data(nullptr) {}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected