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

Method ReleaseResources

trinity/Sprite2d/Tr2Sprite2dScene.cpp:1199–1210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199void Tr2Sprite2dScene::ReleaseResources( TriStorage s )
1200{
1201 m_uiTransformsCb = Tr2ConstantBufferAL();
1202
1203 m_effect = nullptr;
1204 m_defaultTexture = nullptr;
1205
1206 if( s & TRISTORAGE_MANAGEDMEMORY )
1207 {
1208 m_vertexDecl = Tr2EffectStateManager::UNINITIALIZED_DECLARATION;
1209 }
1210}
1211
1212bool Tr2Sprite2dScene::OnPrepareResources()
1213{

Callers

nothing calls this directly

Calls 1

Tr2ConstantBufferALClass · 0.50

Tested by

no test coverage detected