MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / update

Method update

Source/Cache/TextureCache.cpp:93–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93Texture2D* TextureCache::update(String name, Texture2D* texture) {
94 std::string fullPath = SharedContent.getFullPath(name);
95 _textures[fullPath] = texture;
96 return texture;
97}
98
99Texture2D* TextureCache::get(String filename) {
100 std::string fullPath = SharedContent.getFullPath(filename);

Callers

nothing calls this directly

Calls 5

getFullPathMethod · 0.80
createTextureFunction · 0.70
toStringMethod · 0.65
imageParseFunction · 0.50
ErrorEnum · 0.50

Tested by

no test coverage detected