MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / reloadAllPrograms

Method reloadAllPrograms

Source/Falcor/Core/Program/ProgramManager.cpp:573–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573bool ProgramManager::reloadAllPrograms(bool forceReload)
574{
575 bool hasReloaded = false;
576
577 for (auto program : mLoadedPrograms)
578 {
579 if (program->checkIfFilesChanged() || forceReload)
580 {
581 program->reset();
582 hasReloaded = true;
583 }
584 }
585
586 return hasReloaded;
587}
588
589void ProgramManager::addGlobalDefines(const DefineList& defineList)
590{

Callers 2

handleKeyboardEventMethod · 0.80
handleKeyboardEventMethod · 0.80

Calls 2

checkIfFilesChangedMethod · 0.80
resetMethod · 0.45

Tested by 1

handleKeyboardEventMethod · 0.64