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

Method OnShutdown

trinity/Resources/TriTextureRes.cpp:346–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void TriTextureRes::OnShutdown()
347{
348 m_pipelineFence.Cancel();
349 ReleaseResources( TRISTORAGE_ALL );
350 if( m_loadedBitmap && m_lodEnabled )
351 {
352 Tr2TextureLodManager::Instance().CpuTextureDestroyed( *m_loadedBitmap );
353 }
354}
355
356void TriTextureRes::ReleaseResources( TriStorage s )
357{

Callers

nothing calls this directly

Calls 2

CpuTextureDestroyedMethod · 0.80
CancelMethod · 0.45

Tested by

no test coverage detected