MCPcopy Create free account
hub / github.com/carbonengine/trinity / CpuTextureDestroyed

Method CpuTextureDestroyed

trinity/Resources/Tr2TextureLodManager.cpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void Tr2TextureLodManager::CpuTextureDestroyed( const Tr2BitmapDimensions& desc )
175{
176 m_cpuMemorySize += static_cast<uint32_t>( -int32_t( GetTextureSize( desc ) ) );
177 CCP_STATS_SET( textureLodCpuSize, m_cpuMemorySize );
178}
179
180
181Tr2TextureLodManager::Stats Tr2TextureLodManager::GetStats() const

Callers 4

OnShutdownMethod · 0.80
DoLoadMethod · 0.80
TrimLodsMethod · 0.80
DestroyOwnTextureMethod · 0.80

Calls 1

GetTextureSizeFunction · 0.85

Tested by

no test coverage detected