UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::WindowsApplication::RawInputThread Namespace Reference

Classes

class  FWindowsRawInputRunnable
 

Functions

 DECLARE_LOG_CATEGORY_EXTERN (LogWindowsRawInputThread, Display, VeryVerbose)
 
 DEFINE_LOG_CATEGORY (LogWindowsRawInputThread)
 

Variables

constexpr uint32 WM_UE_RAWINPUT_QUIT = WM_APP
 
constexpr uint32 WM_UE_RAWINPUT_REGISTER = WM_APP + 1
 
constexpr uint32 WM_UE_RAWINPUT_UNREGISTER = WM_APP + 2
 
FAutoConsoleVariableRef CVarUseWorkerThreadForRawInput (TEXT("WindowsApplication.UseWorkerThreadForRawInput"), bUseWorkerThreadForRawInput, TEXT("Use a worker thread for raw input messages to remove processing from game thread." " Mice with high polling rates can take multiple milliseconds per frame even on fast CPUs." " When the cvar is changed a CVarSinkHandler will attempt to switch the thread used for handling inputs."))
 

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

UE::WindowsApplication::RawInputThread::DECLARE_LOG_CATEGORY_EXTERN ( LogWindowsRawInputThread  ,
Display  ,
VeryVerbose   
)

◆ DEFINE_LOG_CATEGORY()

UE::WindowsApplication::RawInputThread::DEFINE_LOG_CATEGORY ( LogWindowsRawInputThread  )

Variable Documentation

◆ CVarUseWorkerThreadForRawInput

FAutoConsoleVariableRef UE::WindowsApplication::RawInputThread::CVarUseWorkerThreadForRawInput(TEXT("WindowsApplication.UseWorkerThreadForRawInput"), bUseWorkerThreadForRawInput, TEXT("Use a worker thread for raw input messages to remove processing from game thread." " Mice with high polling rates can take multiple milliseconds per frame even on fast CPUs." " When the cvar is changed a CVarSinkHandler will attempt to switch the thread used for handling inputs.")) ( TEXT("WindowsApplication.UseWorkerThreadForRawInput")  ,
bUseWorkerThreadForRawInput  ,
TEXT("Use a worker thread for raw input messages to remove processing from game thread." " Mice with high polling rates can take multiple milliseconds per frame even on fast CPUs." " When the cvar is changed a CVarSinkHandler will attempt to switch the thread used for handling inputs.")   
)

◆ WM_UE_RAWINPUT_QUIT

constexpr uint32 UE::WindowsApplication::RawInputThread::WM_UE_RAWINPUT_QUIT = WM_APP
constexpr

◆ WM_UE_RAWINPUT_REGISTER

constexpr uint32 UE::WindowsApplication::RawInputThread::WM_UE_RAWINPUT_REGISTER = WM_APP + 1
constexpr

◆ WM_UE_RAWINPUT_UNREGISTER

constexpr uint32 UE::WindowsApplication::RawInputThread::WM_UE_RAWINPUT_UNREGISTER = WM_APP + 2
constexpr