MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / d3d_ResetCache

Function d3d_ResetCache

legacy/renderer/Direct3D.cpp:3586–3589  ·  view source on GitHub ↗

Resets the texture cache

Source from the content-addressed store, hash-verified

3584
3585// Resets the texture cache
3586void d3d_ResetCache() {
3587 d3d_FreeTextureCache();
3588 d3d_TextureCacheInit();
3589}
3590
3591// returns rendering statistics for the frame
3592void d3d_GetStatistics(tRendererStats *stats) {

Callers 1

rend_ResetCacheFunction · 0.85

Calls 2

d3d_FreeTextureCacheFunction · 0.85
d3d_TextureCacheInitFunction · 0.85

Tested by

no test coverage detected