Function flushAndSync

Synopsis

#include <Source/Falcor/Core/API/Device.h>

void flushAndSync()

Description

Flushes pipeline, releases resources, and blocks until completion

Source

Lines 206-211 in Source/Falcor/Core/API/Device.cpp. Line 134 in Source/Falcor/Core/API/Device.h.

void Device::flushAndSync()
{
    mpRenderContext->flush(true);
    mpFrameFence->gpuSignal(mpRenderContext->getLowLevelData()->getCommandQueue());
    executeDeferredReleases();
}





Add Discussion as Guest

Log in