Fixes for benchmark

This commit is contained in:
2026-10-25 16:37:30 +01:00
parent 5598ac191f
commit 734b80a792
10 changed files with 36 additions and 14 deletions

View File

@@ -36,3 +36,12 @@ FString UPlatformInfotFunctionLibrary::GetRamAmount()
{
return FString::FromInt(FGenericPlatformMemory::GetPhysicalGBRam());
}
bool UPlatformInfotFunctionLibrary::bIsMobilePlatform()
{
#if PLATFORM_ANDROID or PLATFORM_IOS
return true;
#else
return false;
#endif
}

View File

@@ -25,4 +25,7 @@ public:
UFUNCTION(BlueprintPure, Category = "HardwareInfo")
static FString GetRamAmount();
UFUNCTION(BlueprintPure, Category = "HardwareInfo")
static bool bIsMobilePlatform();
};