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

Method ReleaseResources

trinity/Tr2PrimitiveScene.cpp:135–141  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Implements Tr2DeviceResource. Destroys the constant buffer when needed. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

133// Implements Tr2DeviceResource. Destroys the constant buffer when needed.
134// --------------------------------------------------------------------------------------
135void Tr2PrimitiveScene::ReleaseResources( TriStorage s )
136{
137 if( s & TRISTORAGE_ALL )
138 {
139 m_vertexConstants = Tr2ConstantBufferAL();
140 }
141}
142
143// --------------------------------------------------------------------------------------
144// Description:

Callers 1

~Tr2PrimitiveSceneMethod · 0.45

Calls 1

Tr2ConstantBufferALClass · 0.50

Tested by

no test coverage detected