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

Method GpuTextureDestroyed

trinity/Resources/Tr2TextureLodManager.cpp:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void Tr2TextureLodManager::GpuTextureDestroyed( const Tr2BitmapDimensions& desc )
163{
164 m_gpuMemorySize += static_cast<uint32_t>( -int32_t( GetTextureSize( desc ) ) );
165 CCP_STATS_SET( textureLodGpuSize, m_gpuMemorySize );
166}
167
168void Tr2TextureLodManager::CpuTextureCreated( const Tr2BitmapDimensions& desc )
169{

Callers 4

ReleaseResourcesMethod · 0.80
DoPrepareMethod · 0.80
ProcessLodRequestMethod · 0.80
DestroyOwnTextureMethod · 0.80

Calls 1

GetTextureSizeFunction · 0.85

Tested by

no test coverage detected