Function getSwapChainFbo

Synopsis

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

Fbo::SharedPtr getSwapChainFbo() const

Description

Get the FBO object associated with the swap-chain. This can change each frame, depending on the API used

Source

Lines 129-132 in Source/Falcor/Core/API/Device.cpp. Line 108 in Source/Falcor/Core/API/Device.h.

Fbo::SharedPtr Device::getSwapChainFbo() const
{
    return mpSwapChainFbos[mCurrentBackBufferIndex];
}





Add Discussion as Guest

Log in