MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / resurrect

Method resurrect

Engine/source/gfx/gfxTextureManager.cpp:176–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void GFXTextureManager::resurrect()
177{
178 // Reupload all the device copies of the textures.
179 GFXTextureObject *temp = mListHead;
180
181 while( temp != NULL )
182 {
183 refreshTexture( temp );
184 temp = temp->mNext;
185 }
186
187 // Notify callback registries.
188 smEventSignal.trigger( GFXResurrect );
189
190 // Update our state.
191 mTextureManagerState = GFXTextureManager::Living;
192}
193
194void GFXTextureManager::cleanupPool()
195{

Callers 1

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected