FD3D12Viewport::ConditionalResetSwapChain

If the swap chain has been invalidated by DXGI, resets the swap chain to the expected state; otherwise, does nothing.

Windows
MacOS
Linux

References

Module

D3D12RHI

Header

/Engine/Source/Runtime/D3D12RHI/Public/D3D12Viewport.h

Include

#include "D3D12Viewport.h"

Syntax

void ConditionalResetSwapChain
(
    bool bIgnoreFocus
)

Remarks

If the swap chain has been invalidated by DXGI, resets the swap chain to the expected state; otherwise, does nothing. Called once/frame by the game thread on all viewports.

Parameters

Parameter

Description

bIgnoreFocus

Whether the reset should happen regardless of whether the window is focused.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss