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

Method reInitInstance

Engine/source/materials/materialManager.cpp:367–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void MaterialManager::reInitInstance( BaseMaterialDefinition *target )
368{
369 Vector<BaseMatInstance*>::iterator iter = mMatInstanceList.begin();
370 for ( ; iter != mMatInstanceList.end(); iter++ )
371 {
372 if ( (*iter)->getMaterial() == target )
373 (*iter)->reInit();
374 }
375}
376
377void MaterialManager::updateTime()
378{

Callers 1

reloadMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
getMaterialMethod · 0.45
reInitMethod · 0.45

Tested by

no test coverage detected