Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BohemiaInteractive/CWR
/ ReuseMemory
Method
ReuseMemory
engine/PoseidonGL33/TextureGL33_Loading.cpp:311–319 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
309
}
310
return -1;
311
}
312
313
void TextureGL33::MemoryReleased()
314
{
315
if (_cache)
316
{
317
_cache->Delete();
318
delete _cache;
319
_cache = nullptr;
320
}
321
_levelLoaded = _nMipmaps;
322
}
Callers
1
Reuse
Method · 0.80
Calls
2
GetTexture
Method · 0.45
Free
Method · 0.45
Tested by
no test coverage detected