Function toggleVSync

Synopsis

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

void toggleVSync(bool enable)

Description

Enable/disable vertical sync

Source

Lines 170-173 in Source/Falcor/Core/API/Device.cpp. Line 99 in Source/Falcor/Core/API/Device.h.

void Device::toggleVSync(bool enable)
{
    mDesc.enableVsync = enable;
}





Add Discussion as Guest

Log in