UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
D3D11Viewport.cpp File Reference
#include "D3D11Viewport.h"
#include "D3D11RHIPrivate.h"
#include "RenderCore.h"
#include "HDRHelper.h"
#include "Engine/RendererSettings.h"
#include "HAL/ThreadHeartBeat.h"
#include "RHIUtilities.h"
#include "Windows/AllowWindowsPlatformTypes.h"
#include <dwmapi.h>
#include "Windows/HideWindowsPlatformTypes.h"

Namespaces

namespace  RHIConsoleVariables
 

Macros

#define D3D11_WITH_DWMAPI   1
 
#define DXGI_PRESENT_ALLOW_TEARING   0x00000200UL
 
#define DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING   2048
 

Variables

int32 RHIConsoleVariables::bSyncWithDWM = 0
 
float RHIConsoleVariables::RefreshPercentageBeforePresent = 1.0f
 
int32 RHIConsoleVariables::TargetRefreshRate = 0
 
float RHIConsoleVariables::SyncRefreshThreshold = 1.05f
 
int32 RHIConsoleVariables::MaxSyncCounter = 8
 
int32 RHIConsoleVariables::SyncThreshold = 7
 
int32 RHIConsoleVariables::MaximumFrameLatency = 3
 

Macro Definition Documentation

◆ D3D11_WITH_DWMAPI

#define D3D11_WITH_DWMAPI   1

◆ DXGI_PRESENT_ALLOW_TEARING

#define DXGI_PRESENT_ALLOW_TEARING   0x00000200UL

◆ DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING

#define DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING   2048