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

Method zombify

Engine/source/gfx/gl/gfxGLDevice.cpp:303–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void GFXGLDevice::zombify()
304{
305 mTextureManager->zombify();
306
307 for(int i = 0; i < VERTEX_STREAM_COUNT; ++i)
308 if(mCurrentVB[i])
309 mCurrentVB[i]->finish();
310 if(mCurrentPB)
311 mCurrentPB->finish();
312
313 //mVolatileVBs.clear();
314 //mVolatilePBs.clear();
315 GFXResource* walk = mResourceListHead;
316 while(walk)
317 {
318 walk->zombify();
319 walk = walk->getNextResource();
320 }
321}
322
323void GFXGLDevice::resurrect()
324{

Callers 2

~GFXGLDeviceMethod · 0.45
DefineEngineFunctionFunction · 0.45

Calls 2

getNextResourceMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected