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

Method ReleaseResources

trinity/Interior/Tr2InteriorScene.cpp:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void Tr2InteriorScene::ReleaseResources( TriStorage s )
288{
289 if( ( s & TRISTORAGE_ALL ) == TRISTORAGE_ALL )
290 {
291 m_perFramePSBuffer = Tr2ConstantBufferAL();
292 m_perFrameVSBuffer = Tr2ConstantBufferAL();
293 }
294}
295
296bool Tr2InteriorScene::OnPrepareResources()
297{

Callers 1

~Tr2InteriorSceneMethod · 0.45

Calls 1

Tr2ConstantBufferALClass · 0.50

Tested by

no test coverage detected