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

Method CpuTextureCreated

trinity/Resources/Tr2TextureLodManager.cpp:168–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void Tr2TextureLodManager::CpuTextureCreated( const Tr2BitmapDimensions& desc )
169{
170 m_cpuMemorySize += GetTextureSize( desc );
171 CCP_STATS_SET( textureLodCpuSize, m_cpuMemorySize );
172}
173
174void Tr2TextureLodManager::CpuTextureDestroyed( const Tr2BitmapDimensions& desc )
175{

Callers 2

DoLoadMethod · 0.80
TrimLodsMethod · 0.80

Calls 1

GetTextureSizeFunction · 0.85

Tested by

no test coverage detected