UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacPlatformDynamicRHI.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5
6//------------------------------------------------------------------------------
7// MARK: - Mac Platform Dynamic RHI Routines
8//
9
10namespace UE
11{
12namespace FMacPlatformDynamicRHI
13{
14
16{
17 // TODO: Force low-spec users into performance mode but respect their choice once they have set a preference.
18 return false;
19}
20
22{
23 GConfig->GetArray(TEXT("/Script/MacTargetPlatform.MacTargetSettings"), TEXT("TargetedRHIs"), TargetedShaderFormats, GEngineIni);
24}
25
26} // namespace FMacPlatformDynamicRHI
27} // namespace UE
28
FString GEngineIni
Definition CoreGlobals.cpp:237
FConfigCacheIni * GConfig
Definition CoreGlobals.cpp:54
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
CORE_API int32 GetArray(const TCHAR *Section, const TCHAR *Key, TArray< FString > &out_Arr, const FString &Filename)
Definition ConfigCacheIni.cpp:5170
Definition Array.h:670
Definition MacPlatformDynamicRHI.h:13
void AddTargetedShaderFormats(TArray< FString > &TargetedShaderFormats)
Definition MacPlatformDynamicRHI.h:21
bool ShouldPreferFeatureLevelES31()
Definition MacPlatformDynamicRHI.h:15
Definition AdvancedWidgetsModule.cpp:13