UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWindowsPlatformApplicationMisc Struct Reference

#include <WindowsPlatformApplicationMisc.h>

+ Inheritance diagram for FWindowsPlatformApplicationMisc:

Classes

struct  FGPUInfo
 

Static Public Member Functions

static APPLICATIONCORE_API void PreInit ()
 
static APPLICATIONCORE_API void LoadStartupModules ()
 
static APPLICATIONCORE_API class FOutputDeviceConsoleCreateConsoleOutputDevice ()
 
static APPLICATIONCORE_API class FOutputDeviceErrorGetErrorOutputDevice ()
 
static APPLICATIONCORE_API class FFeedbackContextGetFeedbackContext ()
 
static APPLICATIONCORE_API class GenericApplicationCreateApplication ()
 
static APPLICATIONCORE_API void RequestMinimize ()
 
static APPLICATIONCORE_API bool IsThisApplicationForeground ()
 
static APPLICATIONCORE_API int32 GetAppIcon ()
 
static APPLICATIONCORE_API void PumpMessages (bool bFromMainLoop)
 
static APPLICATIONCORE_API void PreventScreenSaver ()
 
static APPLICATIONCORE_API struct FLinearColor GetScreenPixelColor (const FVector2D &InScreenPos, float InGamma=1.0f)
 
static APPLICATIONCORE_API void SetHighDPIMode ()
 
static APPLICATIONCORE_API bool GetWindowTitleMatchingText (const TCHAR *TitleStartsWith, FString &OutTitle)
 
static APPLICATIONCORE_API float GetDPIScaleFactorAtPoint (float X, float Y)
 
static APPLICATIONCORE_API void ClipboardCopy (const TCHAR *Str)
 
static APPLICATIONCORE_API void ClipboardPaste (class FString &Dest)
 
static APPLICATIONCORE_API int32 GetMonitorDPI (const FMonitorInfo &MonitorInfo)
 
static APPLICATIONCORE_API FGPUInfo GetBestGPUInfo ()
 
- Static Public Member Functions inherited from FGenericPlatformApplicationMisc
static APPLICATIONCORE_API void PreInit ()
 
static APPLICATIONCORE_API void Init ()
 
static APPLICATIONCORE_API void PostInit ()
 
static APPLICATIONCORE_API void TearDown ()
 
static void LoadPreInitModules ()
 
static void LoadStartupModules ()
 
static APPLICATIONCORE_API FOutputDeviceConsoleCreateConsoleOutputDevice ()
 
static APPLICATIONCORE_API FOutputDeviceErrorGetErrorOutputDevice ()
 
static APPLICATIONCORE_API FFeedbackContextGetFeedbackContext ()
 
static APPLICATIONCORE_API IPlatformInputDeviceMapperCreatePlatformInputDeviceManager ()
 
static APPLICATIONCORE_API class GenericApplicationCreateApplication ()
 
static APPLICATIONCORE_API void RequestMinimize ()
 
static APPLICATIONCORE_API bool IsThisApplicationForeground ()
 
static APPLICATIONCORE_API bool RequiresVirtualKeyboard ()
 
static void PumpMessages (bool bFromMainLoop)
 
static void PreventScreenSaver ()
 
static bool IsScreensaverEnabled ()
 
static bool ControlScreensaver (EScreenSaverAction Action)
 
static APPLICATIONCORE_API struct FLinearColor GetScreenPixelColor (const FVector2D &InScreenPos, float InGamma=1.0f)
 
static bool GetWindowTitleMatchingText (const TCHAR *TitleStartsWith, FString &OutTitle)
 
static void SetHighDPIMode ()
 
static float GetDPIScaleFactorAtPoint (float X, float Y)
 
static APPLICATIONCORE_API bool IsHighDPIAwarenessEnabled ()
 
static bool AnchorWindowWindowPositionTopLeft ()
 
static void SetGamepadsAllowed (bool bAllowed)
 
static void SetGamepadsBlockDeviceFeedback (bool bAllowed)
 
static void ResetGamepadAssignments ()
 
static void ResetGamepadAssignmentToController (int32 ControllerId)
 
static bool IsControllerAssignedToGamepad (int32 ControllerId)
 
static FString GetGamepadControllerName (int32 ControllerId)
 
static class UTexture2DGetGamepadButtonGlyph (const FGamepadKeyNames::Type &ButtonKey, uint32 ControllerIndex)
 
static void EnableMotionData (bool bEnable)
 
static bool IsMotionDataEnabled ()
 
static APPLICATIONCORE_API void ClipboardCopy (const TCHAR *Str)
 
static APPLICATIONCORE_API void ClipboardPaste (class FString &Dest)
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy GetPhysicalScreenDensity (int32 &OutScreenDensity)
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy GetPhysicalScreenDimensions (FVector2f &OutScreenDimensions)
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy GetPhysicalScreenSize (float &OutScreenSize)
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy ComputePhysicalScreenDensity (int32 &OutScreenDensity)
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy ComputePhysicalScreenDimensions (FVector2f &OutScreenDimensions, float &OutScreenSize)
 
static void ComputePhysicalScreenData ()
 
template<typename T , typename T2 UE_REQUIRES>
static EScreenPhysicalAccuracy ConvertInchesToPixels (T Inches, T2 &OutPixels)
 
template<typename T , typename T2 UE_REQUIRES>
static EScreenPhysicalAccuracy ConvertPixelsToInches (T Pixels, T2 &OutInches)
 
static bool ShowInputDeviceSelector (FPlatformUserId InitiatingUserId, FShowInputDeviceSelectorComplete OnShowInputDeviceSelectorComplete)
 
static bool ShowPlatformUserSelector (FInputDeviceId InitiatingInputDeviceId, EPlatformUserSelectorFlags Flags, FPlatformUserSelectionComplete OnUserSelectionComplete)
 

Additional Inherited Members

- Public Types inherited from FGenericPlatformApplicationMisc
enum  EScreenSaverAction { Disable , Enable }
 
- Static Protected Attributes inherited from FGenericPlatformApplicationMisc
static APPLICATIONCORE_API bool CachedPhysicalScreenData = false
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy CachedPhysicalScreenAccuracy = EScreenPhysicalAccuracy::Unknown
 
static APPLICATIONCORE_API int32 CachedPhysicalScreenDensity = 0
 
static APPLICATIONCORE_API FAutoConsoleVariableRef CVarEnableHighDPIAwareness
 
static APPLICATIONCORE_API FAutoConsoleVariableRef CVarAllowVirtualKeyboard
 
static APPLICATIONCORE_API EScreenPhysicalAccuracy CachedPhysicalScreenDimensionsAccuracy = EScreenPhysicalAccuracy::Unknown
 
static APPLICATIONCORE_API FVector2f CachedPhysicalScreenDimensions = FVector2f::ZeroVector
 
static APPLICATIONCORE_API float CachedPhysicalScreenSize = 0.f
 

Member Function Documentation

◆ ClipboardCopy()

UE_DISABLE_OPTIMIZATION_SHIP void FWindowsPlatformApplicationMisc::ClipboardCopy ( const TCHAR Str)
static

◆ ClipboardPaste()

void FWindowsPlatformApplicationMisc::ClipboardPaste ( class FString &  Dest)
static

◆ CreateApplication()

GenericApplication * FWindowsPlatformApplicationMisc::CreateApplication ( )
static

◆ CreateConsoleOutputDevice()

class FOutputDeviceConsole * FWindowsPlatformApplicationMisc::CreateConsoleOutputDevice ( )
static

◆ GetAppIcon()

int32 FWindowsPlatformApplicationMisc::GetAppIcon ( )
static

◆ GetBestGPUInfo()

FWindowsPlatformApplicationMisc::FGPUInfo FWindowsPlatformApplicationMisc::GetBestGPUInfo ( )
static

◆ GetDPIScaleFactorAtPoint()

float FWindowsPlatformApplicationMisc::GetDPIScaleFactorAtPoint ( float  X,
float  Y 
)
static

◆ GetErrorOutputDevice()

class FOutputDeviceError * FWindowsPlatformApplicationMisc::GetErrorOutputDevice ( )
static

◆ GetFeedbackContext()

class FFeedbackContext * FWindowsPlatformApplicationMisc::GetFeedbackContext ( )
static

◆ GetMonitorDPI()

int32 FWindowsPlatformApplicationMisc::GetMonitorDPI ( const FMonitorInfo MonitorInfo)
static

Windows platform only Function should retrieve the DPI value for the provided monitor information structure

◆ GetScreenPixelColor()

FLinearColor FWindowsPlatformApplicationMisc::GetScreenPixelColor ( const FVector2D InScreenPos,
float  InGamma = 1.0f 
)
static

◆ GetWindowTitleMatchingText()

bool FWindowsPlatformApplicationMisc::GetWindowTitleMatchingText ( const TCHAR TitleStartsWith,
FString &  OutTitle 
)
static

◆ IsThisApplicationForeground()

bool FWindowsPlatformApplicationMisc::IsThisApplicationForeground ( )
static

◆ LoadStartupModules()

void FWindowsPlatformApplicationMisc::LoadStartupModules ( )
static

◆ PreInit()

void FWindowsPlatformApplicationMisc::PreInit ( )
static

◆ PreventScreenSaver()

void FWindowsPlatformApplicationMisc::PreventScreenSaver ( )
static

◆ PumpMessages()

void FWindowsPlatformApplicationMisc::PumpMessages ( bool  bFromMainLoop)
static

◆ RequestMinimize()

void FWindowsPlatformApplicationMisc::RequestMinimize ( )
static

◆ SetHighDPIMode()

void FWindowsPlatformApplicationMisc::SetHighDPIMode ( )
static

The documentation for this struct was generated from the following files: