Function ~AsyncTextureLoader

Synopsis

#include <Source/Falcor/Utils/AsyncTextureLoader.h>

~AsyncTextureLoader()

Description

Destructor. Blocks until all textures are loaded.

Source

Lines 43-48 in Source/Falcor/Utils/AsyncTextureLoader.cpp. Line 47 in Source/Falcor/Utils/AsyncTextureLoader.h.

AsyncTextureLoader::~AsyncTextureLoader()
{
    terminateWorkers();
    gpDevice->flushAndSync();
}





Add Discussion as Guest

Log in