UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IOSPlatformProperties.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3/*================================================================================
4 IOSPlatformProperties.h - Basic static properties of a platform
5 These are shared between:
6 the runtime platform - via FPlatformProperties
7 the target platforms - via ITargetPlatform
8==================================================================================*/
9
10#pragma once
11
13
14
20{
21 static constexpr UE_FORCEINLINE_HINT bool HasEditorOnlyData()
22 {
23 return false;
24 }
25
26 static constexpr UE_FORCEINLINE_HINT const char* PlatformName()
27 {
28 return "IOS";
29 }
30
31 static constexpr UE_FORCEINLINE_HINT const char* IniPlatformName()
32 {
33 return "IOS";
34 }
35
37 {
38 return TEXT("/Script/IOSRuntimeSettings.IOSRuntimeSettings");
39 }
40
41 static constexpr UE_FORCEINLINE_HINT bool IsGameOnly()
42 {
43 return true;
44 }
45
47 {
48 return true;
49 }
50
52 {
53 return (TargetType == EBuildTargetType::Game);
54 }
55
57 {
58 return true;
59 }
60
62 {
63 return true;
64 }
65
67 {
68 return true;
69 }
70
72 {
73 return true;
74 }
75
77 {
78 return true;
79 }
80
82 {
83 return true;
84 }
85
87 {
88 return 16384;
89 }
90
92 {
93 return 16384;
94 }
95
97 {
98 return true;
99 }
100
102 {
103 return true;
104 }
105
107 {
108 return true;
109 }
110
112 {
113 return true;
114 }
115
116 static constexpr UE_FORCEINLINE_HINT bool SupportsQuit()
117 {
118 return true;
119 }
120};
121
123{
124 // @todo breaking change here!
125 static constexpr UE_FORCEINLINE_HINT const char* PlatformName()
126 {
127 return "TVOS";
128 }
129
130 static constexpr UE_FORCEINLINE_HINT const char* IniPlatformName()
131 {
132 return "TVOS";
133 }
134};
135
137{
138 static constexpr UE_FORCEINLINE_HINT const char* PlatformName()
139 {
140 return "IOS";
141 }
142
143 static constexpr UE_FORCEINLINE_HINT const char* IniPlatformName()
144 {
145 return "VisionOS";
146 }
147};
148
149#ifdef PROPERTY_HEADER_SHOULD_DEFINE_TYPE
150
151#if PLATFORM_VISIONOS
153#else
155#endif
156
157#endif
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
#define UE_FORCEINLINE_HINT
Definition Platform.h:723
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EBuildTargetType
Definition GenericPlatformMisc.h:158
Definition GenericPlatformProperties.h:17
Definition IOSPlatformProperties.h:20
static constexpr UE_FORCEINLINE_HINT bool IsGameOnly()
Definition IOSPlatformProperties.h:41
static UE_FORCEINLINE_HINT bool SupportsBuildTarget(EBuildTargetType TargetType)
Definition IOSPlatformProperties.h:51
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedAnimation()
Definition IOSPlatformProperties.h:81
static constexpr UE_FORCEINLINE_HINT bool RequiresCookedData()
Definition IOSPlatformProperties.h:46
static constexpr UE_FORCEINLINE_HINT bool AllowsFramerateSmoothing()
Definition IOSPlatformProperties.h:101
static constexpr UE_FORCEINLINE_HINT bool HasFixedResolution()
Definition IOSPlatformProperties.h:96
static constexpr UE_FORCEINLINE_HINT int GetMaxSupportedVirtualMemoryAlignment()
Definition IOSPlatformProperties.h:91
static constexpr UE_FORCEINLINE_HINT const char * IniPlatformName()
Definition IOSPlatformProperties.h:31
static constexpr UE_FORCEINLINE_HINT int64 GetMemoryMappingAlignment()
Definition IOSPlatformProperties.h:86
static constexpr UE_FORCEINLINE_HINT bool SupportsMeshLODStreaming()
Definition IOSPlatformProperties.h:111
static constexpr UE_FORCEINLINE_HINT bool SupportsLowQualityLightmaps()
Definition IOSPlatformProperties.h:56
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedFiles()
Definition IOSPlatformProperties.h:71
static constexpr UE_FORCEINLINE_HINT bool SupportsMemoryMappedAudio()
Definition IOSPlatformProperties.h:76
static constexpr UE_FORCEINLINE_HINT bool SupportsHighQualityLightmaps()
Definition IOSPlatformProperties.h:61
static constexpr UE_FORCEINLINE_HINT bool HasEditorOnlyData()
Definition IOSPlatformProperties.h:21
static constexpr UE_FORCEINLINE_HINT const TCHAR * GetRuntimeSettingsClassName()
Definition IOSPlatformProperties.h:36
static constexpr UE_FORCEINLINE_HINT const char * PlatformName()
Definition IOSPlatformProperties.h:26
static constexpr UE_FORCEINLINE_HINT bool SupportsQuit()
Definition IOSPlatformProperties.h:116
static constexpr UE_FORCEINLINE_HINT bool SupportsTextureStreaming()
Definition IOSPlatformProperties.h:66
static constexpr UE_FORCEINLINE_HINT bool SupportsAudioStreaming()
Definition IOSPlatformProperties.h:106
Definition IOSPlatformProperties.h:123
static constexpr UE_FORCEINLINE_HINT const char * IniPlatformName()
Definition IOSPlatformProperties.h:130
static constexpr UE_FORCEINLINE_HINT const char * PlatformName()
Definition IOSPlatformProperties.h:125
Definition IOSPlatformProperties.h:137
static constexpr UE_FORCEINLINE_HINT const char * IniPlatformName()
Definition IOSPlatformProperties.h:143
static constexpr UE_FORCEINLINE_HINT const char * PlatformName()
Definition IOSPlatformProperties.h:138