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

Method ReleaseResources

trinity/Shader/Utils/Tr2DataTextureManager.cpp:40–45  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Release all device resources here --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38// Release all device resources here
39// --------------------------------------------------------------------------------
40void Tr2DataTextureManager::ReleaseResources( TriStorage s )
41{
42 // get rid of data texture
43 *m_dataTexture->GetTexture() = Tr2TextureAL();
44 m_dataTexture->OnTextureChange().Broadcast();
45}
46
47// --------------------------------------------------------------------------------
48// Description:

Callers

nothing calls this directly

Calls 3

BroadcastMethod · 0.80
Tr2TextureALClass · 0.50
GetTextureMethod · 0.45

Tested by

no test coverage detected