Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
Platform.h File Reference
+ Include dependency graph for Platform.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TypeTests
 
namespace  UE
 
namespace  UE::Core
 
namespace  UE::Core::Private
 

Macros

#define PLATFORM_WINDOWS   1
 
#define PLATFORM_DESKTOP   1
 
#define PLATFORM_MAC   0
 
#define PLATFORM_MAC_X86   0
 
#define PLATFORM_MAC_ARM64   0
 
#define PLATFORM_IOS   0
 
#define PLATFORM_TVOS   0
 
#define PLATFORM_ANDROID   0
 
#define PLATFORM_ANDROID_ARM   0
 
#define PLATFORM_ANDROID_ARM64   0
 
#define PLATFORM_ANDROID_X86   0
 
#define PLATFORM_ANDROID_X64   0
 
#define PLATFORM_APPLE   0
 
#define PLATFORM_LINUX   0
 
#define PLATFORM_LINUXARM64   0
 
#define PLATFORM_SWITCH   0
 
#define PLATFORM_FREEBSD   0
 
#define PLATFORM_UNIX   0
 
#define PLATFORM_MICROSOFT   0
 
#define PLATFORM_HOLOLENS   0
 
#define PLATFORM_CPU_X86_FAMILY   0
 
#define PLATFORM_CPU_ARM_FAMILY   0
 
#define PLATFORM_COMPILER_CLANG   0
 
#define USING_ADDRESS_SANITISER   0
 
#define PLATFORM_HAS_ASAN_INCLUDE   __has_include(<sanitizer/asan_interface.h>)
 
#define PLATFORM_LITTLE_ENDIAN   0
 
#define PLATFORM_SUPPORTS_UNALIGNED_LOADS   0
 
#define PLATFORM_EXCEPTIONS_DISABLED   !PLATFORM_DESKTOP
 
#define PLATFORM_SEH_EXCEPTIONS_DISABLED   0
 
#define PLATFORM_SUPPORTS_PRAGMA_PACK   0
 
#define PLATFORM_ENABLE_VECTORINTRINSICS   0
 
#define PLATFORM_MAYBE_HAS_SSE4_1   PLATFORM_CPU_X86_FAMILY
 
#define PLATFORM_ALWAYS_HAS_SSE4_1   PLATFORM_CPU_X86_FAMILY
 
#define PLATFORM_ALWAYS_HAS_SSE4_2   PLATFORM_CPU_X86_FAMILY
 
#define PLATFORM_MAYBE_HAS_AVX   0
 
#define PLATFORM_ALWAYS_HAS_AVX   0
 
#define PLATFORM_ALWAYS_HAS_AVX_2   0
 
#define PLATFORM_ALWAYS_HAS_FMA3   0
 
#define PLATFORM_ALWAYS_HAS_AESNI   0
 
#define PLATFORM_ALWAYS_HAS_SHA   0
 
#define PLATFORM_HAS_CPUID   0
 
#define PLATFORM_ENABLE_POPCNT_INTRINSIC   0
 
#define PLATFORM_ENABLE_VECTORINTRINSICS_NEON   0
 
#define UE_VALIDATE_FORMAT_STRINGS   0
 
#define PLATFORM_USE_LS_SPEC_FOR_WIDECHAR   1
 
#define PLATFORM_USE_SYSTEM_VSWPRINTF   1
 
#define PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG   0
 
#define PLATFORM_COMPILER_HAS_GENERIC_KEYWORD   0
 
#define PLATFORM_COMPILER_COMMON_LANGUAGE_RUNTIME_COMPILATION   0
 
#define PLATFORM_COMPILER_HAS_TCHAR_WMAIN   0
 
#define PLATFORM_COMPILER_HAS_DECLTYPE_AUTO   1
 
#define PLATFORM_COMPILER_HAS_IF_CONSTEXPR   1 UE_DEPRECATED_MACRO(5.1, "PLATFORM_COMPILER_HAS_IF_CONSTEXPR has been deprecated and should be replaced with 1.")
 
#define PLATFORM_COMPILER_HAS_FOLD_EXPRESSIONS   0
 
#define PLATFORM_COMPILER_HAS_GENERATED_COMPARISON_OPERATORS   (__cplusplus >= 202002L)
 
#define PLATFORM_TCHAR_IS_4_BYTES   0
 
#define PLATFORM_WCHAR_IS_4_BYTES   0
 
#define PLATFORM_TCHAR_IS_CHAR16   0
 
#define PLATFORM_WIDECHAR_IS_CHAR16   PLATFORM_TCHAR_IS_CHAR16
 
#define PLATFORM_TCHAR_IS_UTF8CHAR   USE_UTF8_TCHARS
 
#define PLATFORM_UCS2CHAR_IS_UTF16CHAR   1
 
#define PLATFORM_HAS_BSD_TIME   1
 
#define PLATFORM_HAS_BSD_THREAD_CPUTIME   0
 
#define PLATFORM_HAS_BSD_SOCKETS   1
 
#define PLATFORM_HAS_BSD_IPV6_SOCKETS   0
 
#define PLATFORM_SUPPORTS_UDP_MULTICAST_GROUP   1
 
#define PLATFORM_USE_PTHREADS   1
 
#define PLATFORM_MAX_FILEPATH_LENGTH_DEPRECATED   128
 
#define PLATFORM_SUPPORTS_TEXTURE_STREAMING   1
 
#define PLATFORM_SUPPORTS_VIRTUAL_TEXTURE_STREAMING   0
 
#define PLATFORM_SUPPORTS_VIRTUAL_TEXTURES   0
 
#define PLATFORM_SUPPORTS_VARIABLE_RATE_SHADING   0
 
#define PLATFORM_REQUIRES_FILESERVER   0
 
#define PLATFORM_SUPPORTS_MULTITHREADED_GC   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_IOCTL   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_POLL   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_SELECT   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_WINSOCKETS   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETNAMEINFO   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_CLOSE_ON_EXEC   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_RECVMMSG   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_TIMESTAMP   0
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_NODELAY   1
 
#define PLATFORM_HAS_NO_EPROCLIM   0
 
#define PLATFORM_USES_MICROSOFT_LIBC_FUNCTIONS   0
 
#define PLATFORM_SUPPORTS_DRAW_MESH_EVENTS   1
 
#define PLATFORM_USES_GLES   0
 
#define PLATFORM_SUPPORTS_GEOMETRY_SHADERS   1
 
#define PLATFORM_SUPPORTS_MESH_SHADERS   0
 
#define PLATFORM_SUPPORTS_BINDLESS_RENDERING   0
 
#define PLATFORM_BUILTIN_VERTEX_HALF_FLOAT   1
 
#define PLATFORM_SUPPORTS_TBB   0
 
#define PLATFORM_SUPPORTS_BORDERLESS_WINDOW   0
 
#define PLATFORM_MAX_CACHED_SYNC_FILE_HANDLES_PER_GENERIC_ASYNC_FILE_HANDLE   4
 
#define PLATFORM_FORCE_SINGLE_SYNC_FILE_HANDLE_PER_GENERIC_ASYNC_FILE_HANDLE   0
 
#define PLATFORM_SUPPORTS_JEMALLOC   0
 
#define PLATFORM_SUPPORTS_MIMALLOC   0
 
#define PLATFORM_CAN_SUPPORT_EDITORONLY_DATA   0
 
#define PLATFORM_SUPPORTS_NAMED_PIPES   0
 
#define PLATFORM_USES_FIXED_RHI_CLASS   0
 
#define PLATFORM_USES_FIXED_GMalloc_CLASS   0
 
#define PLATFORM_USES_STACKBASED_MALLOC_CRASH   0
 
#define PLATFORM_SUPPORTS_MULTIPLE_NATIVE_WINDOWS   1
 
#define PLATFORM_HAS_TOUCH_MAIN_SCREEN   0
 
#define PLATFORM_SUPPORTS_STACK_SYMBOLS   0
 
#define PLATFORM_RUNTIME_MALLOCPROFILER_SYMBOLICATION   PLATFORM_SUPPORTS_STACK_SYMBOLS
 
#define PLATFORM_HAS_128BIT_ATOMICS   0
 
#define PLATFORM_USES_ANSI_STRING_FOR_EXTERNAL_PROFILING   1
 
#define PLATFORM_IMPLEMENTS_BeginNamedEventStatic   0
 
#define PLATFORM_RHITHREAD_DEFAULT_BYPASS   1
 
#define PLATFORM_HAS_UMA   0
 
#define PLATFORM_NUM_AUDIODECOMPRESSION_PRECACHE_BUFFERS   2
 
#define PLATFORM_SUPPORTS_EARLY_MOVIE_PLAYBACK   0
 
#define PLATFORM_UI_HAS_MOBILE_SCROLLBARS   0
 
#define PLATFORM_UI_NEEDS_TOOLTIPS   1
 
#define PLATFORM_UI_NEEDS_FOCUS_OUTLINES   1
 
#define PLATFORM_LIMIT_MOBILE_BONE_MATRICES   0
 
#define PLATFORM_WEAKLY_CONSISTENT_MEMORY   PLATFORM_CPU_ARM_FAMILY
 
#define PLATFORM_HAS_CRC_INTRINSICS   0
 
#define PLATFORM_NEEDS_RHIRESOURCELIST   1
 
#define PLATFORM_USE_FULL_TASK_GRAPH   1
 
#define PLATFORM_USES_ANSI_MALLOC   1
 
#define PLATFORM_USE_ANSI_POSIX_MALLOC   0
 
#define PLATFORM_USES__ALIGNED_MALLOC   0
 
#define PLATFORM_USE_ANSI_MEMALIGN   0
 
#define PLATFORM_IS_ANSI_MALLOC_THREADSAFE   0
 
#define PLATFORM_SUPPORTS_OPUS_CODEC   1
 
#define PLATFORM_SUPPORTS_VORBIS_CODEC   1
 
#define PLATFORM_USE_MINIMAL_HANG_DETECTION   0
 
#define PLATFORM_USE_GENERIC_STRING_IMPLEMENTATION   1
 
#define PLATFORM_ALLOW_ALLOCATIONS_IN_FASYNCWRITER_SERIALIZEBUFFERTOARCHIVE   1
 
#define PLATFORM_HAS_FPlatformVirtualMemoryBlock   1
 
#define PLATFORM_BYPASS_PAK_PRECACHE   0
 
#define PLATFORM_SUPPORTS_FLIP_TRACKING   0
 
#define PLATFORM_USE_SHOWFLAGS_ALWAYS_BITFIELD   1
 
#define PLATFORM_USE_CACHED_SLACK_MEMORY_IN_MEMORY_STATS   0
 
#define PLATFORM_SUPPORTS_LANDSCAPE_VISUAL_MESH_LOD_STREAMING   0 UE_DEPRECATED_MACRO(5.1, "PLATFORM_SUPPORTS_LANDSCAPE_VISUAL_MESH_LOD_STREAMING has been deprecated and should be replaced with 0.")
 
#define PLATFORM_USE_GENERIC_LAUNCH_IMPLEMENTATION   0
 
#define PLATFORM_USES_FIXED_HDR_SETTING   0
 
#define PLATFORM_MANAGES_HDR_SETTING   0
 
#define PLATFORM_SUPPORTS_COLORIZED_OUTPUT_DEVICE   PLATFORM_DESKTOP
 
#define PLATFORM_USE_PLATFORM_FILE_MANAGED_STORAGE_WRAPPER   0
 
#define PLATFORM_HAS_DIRECT_TEXTURE_MEMORY_ACCESS   0
 
#define PLATFORM_DIRECT_TEXTURE_MEMORY_ACCESS_LOCK_MODE   RLM_ReadOnly
 
#define PLATFORM_USE_REPORT_ENSURE   PLATFORM_DESKTOP
 
#define PLATFORM_USE_FALLBACK_PSO   0
 
#define PLATFORM_USES_UNFAIR_LOCKS   0
 
#define PLATFORM_HAS_FENV_H   1
 
#define PLATFORM_REQUIRES_TYPELESS_RESOURCE_DISCARD_WORKAROUND   0
 
#define PLATFORM_CONSOLE_DYNAMIC_LINK   0
 
#define PLATFORM_MAC_ENABLE_EXPERIMENTAL_NANITE_SUPPORT   0
 
#define PLATFORM_HAS_THREADSAFE_RHIGetRenderQueryResult   #
 
#define PLATFORM_SUPPORTS_RHI_THREAD   #
 
#define PLATFORM_RHI_USES_CONTEXT_OBJECT   #
 
#define PLATFORM_SUPPORTS_PARALLEL_RHI_EXECUTE   #
 
#define CONSOLE   (#)
 
#define MOBILE   (#)
 
#define PLATFORM_CONSOLE   (#)
 
#define PLATFORM_32BITS   (!PLATFORM_64BITS)
 
#define PLATFORM_VTABLE_AT_END_OF_CLASS   0
 
#define VARARGS   /* Functions with variable arguments */
 
#define CDECL   /* Standard C function */
 
#define STDCALL   /* Standard calling convention */
 
#define FORCEINLINE   /* Force code to be inline */
 
#define FORCENOINLINE   /* Force code to NOT be inline */
 
#define RESTRICT   __restrict /* no alias hint */
 
#define UE_NODISCARD
 
#define UE_NODISCARD_CTOR
 
#define UE_NORETURN
 
#define UE_CONSTEVAL   constexpr
 
#define FUNCTION_NON_NULL_RETURN_START
 
#define FUNCTION_NON_NULL_RETURN_END
 
#define UE_LIFETIMEBOUND
 
#define UE_ASSUME(x)
 
#define LIKELY(x)   (!!(x))
 
#define UNLIKELY(x)   (!!(x))
 
#define PRAGMA_DISABLE_OPTIMIZATION_ACTUAL
 
#define PRAGMA_ENABLE_OPTIMIZATION_ACTUAL
 
#define DISABLE_FUNCTION_OPTIMIZATION
 
#define BEGIN_FUNCTION_BUILD_OPTIMIZATION   UE_DISABLE_OPTIMIZATION_SHIP
 
#define END_FUNCTION_BUILD_OPTIMIZATION   UE_ENABLE_OPTIMIZATION_SHIP
 
#define FORCEINLINE_DEBUGGABLE_ACTUAL   inline
 
#define DECLARE_UINT64(x)   x##ULL /* Define a 64 bit immediate int **/
 
#define TYPENAME_OUTSIDE_TEMPLATE   typename
 
#define ABSTRACT
 
#define CONSTEXPR   constexpr
 
#define IN
 
#define OUT
 
#define LINE_TERMINATOR   TEXT("\n")
 
#define LINE_TERMINATOR_ANSI   "\n"
 
#define GCC_PACK(n)
 
#define GCC_ALIGN(n)
 
#define MS_ALIGN(n)
 
#define MSVC_PRAGMA(...)
 
#define PRAGMA_DISABLE_INLINING
 
#define PRAGMA_ENABLE_INLINING
 
#define FLUSH_CACHE_LINE(x)
 
#define PLATFORM_CACHE_LINE_SIZE   64
 
#define GCC_DIAGNOSTIC_HELPER(x)   _Pragma(#x)
 
#define COMPILE_WARNING(x)   GCC_DIAGNOSTIC_HELPER(GCC warning x)
 
#define COMPILE_ERROR(x)   GCC_DIAGNOSTIC_HELPER(GCC error x)
 
#define PLATFORM_CODE_SECTION(Name)
 
#define OPERATOR_NEW_INLINE   FORCEINLINE
 
#define OPERATOR_NEW_THROW_SPEC
 
#define OPERATOR_DELETE_THROW_SPEC
 
#define OPERATOR_NEW_NOTHROW_SPEC   throw()
 
#define OPERATOR_DELETE_NOTHROW_SPEC   throw()
 
#define checkAtCompileTime(expr, msg)
 
#define DLLEXPORT
 
#define DLLIMPORT
 
#define BUILD_EMBEDDED_APP   0
 
#define FAST_BOOT_HACKS   0
 
#define INT32_MAIN_INT32_ARGC_TCHAR_ARGV()
 
#define UTF8TEXT_PASTE(x)   u8 ## x
 
#define UTF16TEXT_PASTE(x)   u ## x
 
#define WIDETEXT_PASTE(x)   L ## x
 
#define TEXT_PASTE(x)   WIDETEXT(x)
 
#define TEXT(x)   TEXT_PASTE(x)
 
#define UTF8TEXT(x)   (UE::Core::Private::ToUTF8Literal(UTF8TEXT_PASTE(x)))
 
#define UTF16TEXT(x)   UTF16TEXT_PASTE(x)
 
#define WIDETEXT(str)   WIDETEXT_PASTE(str)
 

Typedefs

typedef FPlatformTypes::uint8 uint8
 An 8-bit unsigned integer.
 
typedef FPlatformTypes::uint16 uint16
 A 16-bit unsigned integer.
 
typedef FPlatformTypes::uint32 uint32
 A 32-bit unsigned integer.
 
typedef FPlatformTypes::uint64 uint64
 A 64-bit unsigned integer.
 
typedef FPlatformTypes::int8 int8
 An 8-bit signed integer.
 
typedef FPlatformTypes::int16 int16
 A 16-bit signed integer.
 
typedef FPlatformTypes::int32 int32
 A 32-bit signed integer.
 
typedef FPlatformTypes::int64 int64
 A 64-bit signed integer.
 
typedef FPlatformTypes::ANSICHAR ANSICHAR
 An ANSI character. Normally a signed type.
 
typedef FPlatformTypes::WIDECHAR WIDECHAR
 A wide character. Normally a signed type.
 
typedef FPlatformTypes::TCHAR TCHAR
 Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requirements of the licensee.
 
typedef FPlatformTypes::UTF8CHAR UTF8CHAR
 An 8-bit character containing a UTF8 (Unicode, 8-bit, variable-width) code unit.
 
typedef FPlatformTypes::CHAR16 UCS2CHAR
 A 16-bit character containing a UCS2 (Unicode, 16-bit, fixed-width) code unit, used for compatibility with 'Windows TCHAR' across multiple platforms.
 
typedef FPlatformTypes::CHAR16 UTF16CHAR
 A 16-bit character containing a UTF16 (Unicode, 16-bit, variable-width) code unit.
 
typedef FPlatformTypes::CHAR32 UTF32CHAR
 A 32-bit character containing a UTF32 (Unicode, 32-bit, fixed-width) code unit.
 
typedef FPlatformTypes::UPTRINT UPTRINT
 An unsigned integer the same size as a pointer.
 
typedef FPlatformTypes::PTRINT PTRINT
 A signed integer the same size as a pointer.
 
typedef FPlatformTypes::SIZE_T SIZE_T
 An unsigned integer the same size as a pointer, the same as UPTRINT.
 
typedef FPlatformTypes::SSIZE_T SSIZE_T
 An integer the same size as a pointer, the same as PTRINT.
 
typedef FPlatformTypes::TYPE_OF_NULL TYPE_OF_NULL
 The type of the NULL constant.
 
typedef FPlatformTypes::TYPE_OF_NULLPTR TYPE_OF_NULLPTR
 The type of the C++ nullptr keyword.
 

Functions

template<SIZE_T N>
FORCEINLINE auto UE::Core::Private::ToUTF8Literal (const char(&Array)[N]) -> const UTF8CHAR(&)[N]
 
FORCEINLINE constexpr UTF8CHAR UE::Core::Private::ToUTF8Literal (unsigned long long Ch)
 

Variables

template<typename A , typename B >
constexpr bool TypeTests::TAreTypesEqual_V = false
 
template<typename T >
constexpr bool TypeTests::TAreTypesEqual_V< T, T > = true
 

Macro Definition Documentation

◆ ABSTRACT

#define ABSTRACT

Definition at line 768 of file Platform.h.

◆ BEGIN_FUNCTION_BUILD_OPTIMIZATION

#define BEGIN_FUNCTION_BUILD_OPTIMIZATION   UE_DISABLE_OPTIMIZATION_SHIP

Definition at line 750 of file Platform.h.

◆ BUILD_EMBEDDED_APP

#define BUILD_EMBEDDED_APP   0

Definition at line 871 of file Platform.h.

◆ CDECL

#define CDECL   /* Standard C function */

Definition at line 638 of file Platform.h.

◆ checkAtCompileTime

#define checkAtCompileTime ( expr,
msg )
Value:
EMIT_DEPRECATED_WARNING_MESSAGE("checkAtCompileTime is deprecated. Please use static_assert instead.") \

Definition at line 858 of file Platform.h.

◆ COMPILE_ERROR

#define COMPILE_ERROR ( x)    GCC_DIAGNOSTIC_HELPER(GCC error x)

Definition at line 830 of file Platform.h.

◆ COMPILE_WARNING

#define COMPILE_WARNING ( x)    GCC_DIAGNOSTIC_HELPER(GCC warning x)

Definition at line 829 of file Platform.h.

◆ CONSOLE

#define CONSOLE   (#)

Definition at line 624 of file Platform.h.

◆ CONSTEXPR

#define CONSTEXPR   constexpr

Definition at line 771 of file Platform.h.

◆ DECLARE_UINT64

#define DECLARE_UINT64 ( x)    x##ULL /* Define a 64 bit immediate int **/

Definition at line 758 of file Platform.h.

◆ DISABLE_FUNCTION_OPTIMIZATION

#define DISABLE_FUNCTION_OPTIMIZATION

Definition at line 746 of file Platform.h.

◆ DLLEXPORT

#define DLLEXPORT

Definition at line 865 of file Platform.h.

◆ DLLIMPORT

#define DLLIMPORT

Definition at line 866 of file Platform.h.

◆ END_FUNCTION_BUILD_OPTIMIZATION

#define END_FUNCTION_BUILD_OPTIMIZATION   UE_ENABLE_OPTIMIZATION_SHIP

Definition at line 751 of file Platform.h.

◆ FAST_BOOT_HACKS

#define FAST_BOOT_HACKS   0

Definition at line 874 of file Platform.h.

◆ FLUSH_CACHE_LINE

#define FLUSH_CACHE_LINE ( x)

Definition at line 813 of file Platform.h.

◆ FORCEINLINE

#define FORCEINLINE   /* Force code to be inline */

Definition at line 644 of file Platform.h.

◆ FORCEINLINE_DEBUGGABLE_ACTUAL

#define FORCEINLINE_DEBUGGABLE_ACTUAL   inline

Definition at line 754 of file Platform.h.

◆ FORCENOINLINE

#define FORCENOINLINE   /* Force code to NOT be inline */

Definition at line 647 of file Platform.h.

◆ FUNCTION_NON_NULL_RETURN_END

#define FUNCTION_NON_NULL_RETURN_END

Definition at line 700 of file Platform.h.

◆ FUNCTION_NON_NULL_RETURN_START

#define FUNCTION_NON_NULL_RETURN_START

Definition at line 697 of file Platform.h.

◆ GCC_ALIGN

#define GCC_ALIGN ( n)

Definition at line 793 of file Platform.h.

◆ GCC_DIAGNOSTIC_HELPER

#define GCC_DIAGNOSTIC_HELPER ( x)    _Pragma(#x)

Definition at line 828 of file Platform.h.

◆ GCC_PACK

#define GCC_PACK ( n)

Definition at line 790 of file Platform.h.

◆ IN

#define IN

Definition at line 774 of file Platform.h.

◆ INT32_MAIN_INT32_ARGC_TCHAR_ARGV

#define INT32_MAIN_INT32_ARGC_TCHAR_ARGV ( )
Value:
{ \
TCHAR** ArgV = new TCHAR*[ArgC]; \
for (int32 a = 0; a < ArgC; a++) \
{ \
ArgV[a] = new TCHAR[ConvertFromUtf8.Length() + 1]; \
FCString::Strcpy(ArgV[a], ConvertFromUtf8.Length() + 1, ConvertFromUtf8.Get()); \
} \
for (int32 a = 0; a < ArgC; a++) \
{ \
delete[] ArgV[a]; \
} \
delete[] ArgV; \
return Result; \
} \
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:971
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:961

Definition at line 881 of file Platform.h.

◆ LIKELY

#define LIKELY ( x)    (!!(x))

Branch prediction hints

Definition at line 725 of file Platform.h.

◆ LINE_TERMINATOR

#define LINE_TERMINATOR   TEXT("\n")

Definition at line 782 of file Platform.h.

◆ LINE_TERMINATOR_ANSI

#define LINE_TERMINATOR_ANSI   "\n"

Definition at line 785 of file Platform.h.

◆ MOBILE

#define MOBILE   (#)

Definition at line 625 of file Platform.h.

◆ MS_ALIGN

#define MS_ALIGN ( n)

Definition at line 796 of file Platform.h.

◆ MSVC_PRAGMA

#define MSVC_PRAGMA ( ...)

Definition at line 801 of file Platform.h.

◆ OPERATOR_DELETE_NOTHROW_SPEC

#define OPERATOR_DELETE_NOTHROW_SPEC   throw()

Definition at line 854 of file Platform.h.

◆ OPERATOR_DELETE_THROW_SPEC

#define OPERATOR_DELETE_THROW_SPEC

Definition at line 848 of file Platform.h.

◆ OPERATOR_NEW_INLINE

#define OPERATOR_NEW_INLINE   FORCEINLINE

Definition at line 841 of file Platform.h.

◆ OPERATOR_NEW_NOTHROW_SPEC

#define OPERATOR_NEW_NOTHROW_SPEC   throw()

Definition at line 851 of file Platform.h.

◆ OPERATOR_NEW_THROW_SPEC

#define OPERATOR_NEW_THROW_SPEC

Definition at line 845 of file Platform.h.

◆ OUT

#define OUT

Definition at line 777 of file Platform.h.

◆ PLATFORM_32BITS

#define PLATFORM_32BITS   (!PLATFORM_64BITS)

Definition at line 629 of file Platform.h.

◆ PLATFORM_ALLOW_ALLOCATIONS_IN_FASYNCWRITER_SERIALIZEBUFFERTOARCHIVE

#define PLATFORM_ALLOW_ALLOCATIONS_IN_FASYNCWRITER_SERIALIZEBUFFERTOARCHIVE   1

Definition at line 533 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_AESNI

#define PLATFORM_ALWAYS_HAS_AESNI   0

Definition at line 192 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_AVX

#define PLATFORM_ALWAYS_HAS_AVX   0

Definition at line 183 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_AVX_2

#define PLATFORM_ALWAYS_HAS_AVX_2   0

Definition at line 186 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_FMA3

#define PLATFORM_ALWAYS_HAS_FMA3   0

Definition at line 189 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_SHA

#define PLATFORM_ALWAYS_HAS_SHA   0

Definition at line 195 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_SSE4_1

#define PLATFORM_ALWAYS_HAS_SSE4_1   PLATFORM_CPU_X86_FAMILY

Definition at line 173 of file Platform.h.

◆ PLATFORM_ALWAYS_HAS_SSE4_2

#define PLATFORM_ALWAYS_HAS_SSE4_2   PLATFORM_CPU_X86_FAMILY

Definition at line 176 of file Platform.h.

◆ PLATFORM_ANDROID

#define PLATFORM_ANDROID   0

Definition at line 29 of file Platform.h.

◆ PLATFORM_ANDROID_ARM

#define PLATFORM_ANDROID_ARM   0

Definition at line 32 of file Platform.h.

◆ PLATFORM_ANDROID_ARM64

#define PLATFORM_ANDROID_ARM64   0

Definition at line 35 of file Platform.h.

◆ PLATFORM_ANDROID_X64

#define PLATFORM_ANDROID_X64   0

Definition at line 41 of file Platform.h.

◆ PLATFORM_ANDROID_X86

#define PLATFORM_ANDROID_X86   0

Definition at line 38 of file Platform.h.

◆ PLATFORM_APPLE

#define PLATFORM_APPLE   0

Definition at line 44 of file Platform.h.

◆ PLATFORM_BUILTIN_VERTEX_HALF_FLOAT

#define PLATFORM_BUILTIN_VERTEX_HALF_FLOAT   1

Definition at line 373 of file Platform.h.

◆ PLATFORM_BYPASS_PAK_PRECACHE

#define PLATFORM_BYPASS_PAK_PRECACHE   0

Definition at line 541 of file Platform.h.

◆ PLATFORM_CACHE_LINE_SIZE

#define PLATFORM_CACHE_LINE_SIZE   64

Definition at line 818 of file Platform.h.

◆ PLATFORM_CAN_SUPPORT_EDITORONLY_DATA

#define PLATFORM_CAN_SUPPORT_EDITORONLY_DATA   0

Definition at line 401 of file Platform.h.

◆ PLATFORM_CODE_SECTION

#define PLATFORM_CODE_SECTION ( Name)

Definition at line 835 of file Platform.h.

◆ PLATFORM_COMPILER_CLANG

#define PLATFORM_COMPILER_CLANG   0

Definition at line 106 of file Platform.h.

◆ PLATFORM_COMPILER_COMMON_LANGUAGE_RUNTIME_COMPILATION

#define PLATFORM_COMPILER_COMMON_LANGUAGE_RUNTIME_COMPILATION   0

Definition at line 230 of file Platform.h.

◆ PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG

#define PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG   0

Definition at line 224 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_DECLTYPE_AUTO

#define PLATFORM_COMPILER_HAS_DECLTYPE_AUTO   1

Definition at line 236 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_FOLD_EXPRESSIONS

#define PLATFORM_COMPILER_HAS_FOLD_EXPRESSIONS   0

Definition at line 247 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_GENERATED_COMPARISON_OPERATORS

#define PLATFORM_COMPILER_HAS_GENERATED_COMPARISON_OPERATORS   (__cplusplus >= 202002L)

Definition at line 250 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_GENERIC_KEYWORD

#define PLATFORM_COMPILER_HAS_GENERIC_KEYWORD   0

Definition at line 227 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_IF_CONSTEXPR

#define PLATFORM_COMPILER_HAS_IF_CONSTEXPR   1 UE_DEPRECATED_MACRO(5.1, "PLATFORM_COMPILER_HAS_IF_CONSTEXPR has been deprecated and should be replaced with 1.")

Definition at line 244 of file Platform.h.

◆ PLATFORM_COMPILER_HAS_TCHAR_WMAIN

#define PLATFORM_COMPILER_HAS_TCHAR_WMAIN   0

Definition at line 233 of file Platform.h.

◆ PLATFORM_CONSOLE

#define PLATFORM_CONSOLE   (#)

Definition at line 626 of file Platform.h.

◆ PLATFORM_CONSOLE_DYNAMIC_LINK

#define PLATFORM_CONSOLE_DYNAMIC_LINK   0

Definition at line 609 of file Platform.h.

◆ PLATFORM_CPU_ARM_FAMILY

#define PLATFORM_CPU_ARM_FAMILY   0

Definition at line 89 of file Platform.h.

◆ PLATFORM_CPU_X86_FAMILY

#define PLATFORM_CPU_X86_FAMILY   0

Definition at line 80 of file Platform.h.

◆ PLATFORM_DESKTOP

#define PLATFORM_DESKTOP   1

Definition at line 6 of file Platform.h.

◆ PLATFORM_DIRECT_TEXTURE_MEMORY_ACCESS_LOCK_MODE

#define PLATFORM_DIRECT_TEXTURE_MEMORY_ACCESS_LOCK_MODE   RLM_ReadOnly

Definition at line 585 of file Platform.h.

◆ PLATFORM_ENABLE_POPCNT_INTRINSIC

#define PLATFORM_ENABLE_POPCNT_INTRINSIC   0

Definition at line 209 of file Platform.h.

◆ PLATFORM_ENABLE_VECTORINTRINSICS

#define PLATFORM_ENABLE_VECTORINTRINSICS   0

Definition at line 162 of file Platform.h.

◆ PLATFORM_ENABLE_VECTORINTRINSICS_NEON

#define PLATFORM_ENABLE_VECTORINTRINSICS_NEON   0

Definition at line 212 of file Platform.h.

◆ PLATFORM_EXCEPTIONS_DISABLED

#define PLATFORM_EXCEPTIONS_DISABLED   !PLATFORM_DESKTOP

Definition at line 150 of file Platform.h.

◆ PLATFORM_FORCE_SINGLE_SYNC_FILE_HANDLE_PER_GENERIC_ASYNC_FILE_HANDLE

#define PLATFORM_FORCE_SINGLE_SYNC_FILE_HANDLE_PER_GENERIC_ASYNC_FILE_HANDLE   0

Definition at line 389 of file Platform.h.

◆ PLATFORM_FREEBSD

#define PLATFORM_FREEBSD   0

Definition at line 56 of file Platform.h.

◆ PLATFORM_HAS_128BIT_ATOMICS

#define PLATFORM_HAS_128BIT_ATOMICS   0

Definition at line 437 of file Platform.h.

◆ PLATFORM_HAS_ASAN_INCLUDE

#define PLATFORM_HAS_ASAN_INCLUDE   __has_include(<sanitizer/asan_interface.h>)

Definition at line 121 of file Platform.h.

◆ PLATFORM_HAS_BSD_IPV6_SOCKETS

#define PLATFORM_HAS_BSD_IPV6_SOCKETS   0

Definition at line 280 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_CLOSE_ON_EXEC

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_CLOSE_ON_EXEC   0

Definition at line 331 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO   1

Definition at line 325 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME   1

Definition at line 322 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_GETNAMEINFO

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_GETNAMEINFO   1

Definition at line 328 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_IOCTL

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_IOCTL   1

Definition at line 310 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT   0

Definition at line 334 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_NODELAY

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_NODELAY   1

Definition at line 343 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_POLL

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_POLL   0

Definition at line 313 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_RECVMMSG

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_RECVMMSG   0

Definition at line 337 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_SELECT

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_SELECT   1

Definition at line 316 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_TIMESTAMP

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_TIMESTAMP   0

Definition at line 340 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_WINSOCKETS

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_WINSOCKETS   0

Definition at line 319 of file Platform.h.

◆ PLATFORM_HAS_BSD_SOCKETS

#define PLATFORM_HAS_BSD_SOCKETS   1

Definition at line 277 of file Platform.h.

◆ PLATFORM_HAS_BSD_THREAD_CPUTIME

#define PLATFORM_HAS_BSD_THREAD_CPUTIME   0

Definition at line 274 of file Platform.h.

◆ PLATFORM_HAS_BSD_TIME

#define PLATFORM_HAS_BSD_TIME   1

Definition at line 271 of file Platform.h.

◆ PLATFORM_HAS_CPUID

#define PLATFORM_HAS_CPUID   0

Definition at line 203 of file Platform.h.

◆ PLATFORM_HAS_CRC_INTRINSICS

#define PLATFORM_HAS_CRC_INTRINSICS   0

Definition at line 485 of file Platform.h.

◆ PLATFORM_HAS_DIRECT_TEXTURE_MEMORY_ACCESS

#define PLATFORM_HAS_DIRECT_TEXTURE_MEMORY_ACCESS   0

Definition at line 581 of file Platform.h.

◆ PLATFORM_HAS_FENV_H

#define PLATFORM_HAS_FENV_H   1

Definition at line 601 of file Platform.h.

◆ PLATFORM_HAS_FPlatformVirtualMemoryBlock

#define PLATFORM_HAS_FPlatformVirtualMemoryBlock   1

Definition at line 537 of file Platform.h.

◆ PLATFORM_HAS_NO_EPROCLIM

#define PLATFORM_HAS_NO_EPROCLIM   0

Definition at line 346 of file Platform.h.

◆ PLATFORM_HAS_THREADSAFE_RHIGetRenderQueryResult

#define PLATFORM_HAS_THREADSAFE_RHIGetRenderQueryResult   #

Definition at line 617 of file Platform.h.

◆ PLATFORM_HAS_TOUCH_MAIN_SCREEN

#define PLATFORM_HAS_TOUCH_MAIN_SCREEN   0

Definition at line 425 of file Platform.h.

◆ PLATFORM_HAS_UMA

#define PLATFORM_HAS_UMA   0

Definition at line 453 of file Platform.h.

◆ PLATFORM_HOLOLENS

#define PLATFORM_HOLOLENS   0

Definition at line 65 of file Platform.h.

◆ PLATFORM_IMPLEMENTS_BeginNamedEventStatic

#define PLATFORM_IMPLEMENTS_BeginNamedEventStatic   0

Definition at line 445 of file Platform.h.

◆ PLATFORM_IOS

#define PLATFORM_IOS   0

Definition at line 23 of file Platform.h.

◆ PLATFORM_IS_ANSI_MALLOC_THREADSAFE

#define PLATFORM_IS_ANSI_MALLOC_THREADSAFE   0

Definition at line 513 of file Platform.h.

◆ PLATFORM_LIMIT_MOBILE_BONE_MATRICES

#define PLATFORM_LIMIT_MOBILE_BONE_MATRICES   0

Definition at line 477 of file Platform.h.

◆ PLATFORM_LINUX

#define PLATFORM_LINUX   0

Definition at line 47 of file Platform.h.

◆ PLATFORM_LINUXARM64

#define PLATFORM_LINUXARM64   0

Definition at line 50 of file Platform.h.

◆ PLATFORM_LITTLE_ENDIAN

#define PLATFORM_LITTLE_ENDIAN   0

Definition at line 144 of file Platform.h.

◆ PLATFORM_MAC

#define PLATFORM_MAC   0

Definition at line 16 of file Platform.h.

◆ PLATFORM_MAC_ARM64

#define PLATFORM_MAC_ARM64   0

Definition at line 20 of file Platform.h.

◆ PLATFORM_MAC_ENABLE_EXPERIMENTAL_NANITE_SUPPORT

#define PLATFORM_MAC_ENABLE_EXPERIMENTAL_NANITE_SUPPORT   0

Definition at line 613 of file Platform.h.

◆ PLATFORM_MAC_X86

#define PLATFORM_MAC_X86   0

Definition at line 19 of file Platform.h.

◆ PLATFORM_MANAGES_HDR_SETTING

#define PLATFORM_MANAGES_HDR_SETTING   0

Definition at line 569 of file Platform.h.

◆ PLATFORM_MAX_CACHED_SYNC_FILE_HANDLES_PER_GENERIC_ASYNC_FILE_HANDLE

#define PLATFORM_MAX_CACHED_SYNC_FILE_HANDLES_PER_GENERIC_ASYNC_FILE_HANDLE   4

Definition at line 385 of file Platform.h.

◆ PLATFORM_MAX_FILEPATH_LENGTH_DEPRECATED

#define PLATFORM_MAX_FILEPATH_LENGTH_DEPRECATED   128

Definition at line 289 of file Platform.h.

◆ PLATFORM_MAYBE_HAS_AVX

#define PLATFORM_MAYBE_HAS_AVX   0

Definition at line 180 of file Platform.h.

◆ PLATFORM_MAYBE_HAS_SSE4_1

#define PLATFORM_MAYBE_HAS_SSE4_1   PLATFORM_CPU_X86_FAMILY

Definition at line 170 of file Platform.h.

◆ PLATFORM_MICROSOFT

#define PLATFORM_MICROSOFT   0

Definition at line 62 of file Platform.h.

◆ PLATFORM_NEEDS_RHIRESOURCELIST

#define PLATFORM_NEEDS_RHIRESOURCELIST   1

Definition at line 489 of file Platform.h.

◆ PLATFORM_NUM_AUDIODECOMPRESSION_PRECACHE_BUFFERS

#define PLATFORM_NUM_AUDIODECOMPRESSION_PRECACHE_BUFFERS   2

Definition at line 457 of file Platform.h.

◆ PLATFORM_REQUIRES_FILESERVER

#define PLATFORM_REQUIRES_FILESERVER   0

Definition at line 304 of file Platform.h.

◆ PLATFORM_REQUIRES_TYPELESS_RESOURCE_DISCARD_WORKAROUND

#define PLATFORM_REQUIRES_TYPELESS_RESOURCE_DISCARD_WORKAROUND   0

Definition at line 605 of file Platform.h.

◆ PLATFORM_RHI_USES_CONTEXT_OBJECT

#define PLATFORM_RHI_USES_CONTEXT_OBJECT   #

Definition at line 619 of file Platform.h.

◆ PLATFORM_RHITHREAD_DEFAULT_BYPASS

#define PLATFORM_RHITHREAD_DEFAULT_BYPASS   1

Definition at line 449 of file Platform.h.

◆ PLATFORM_RUNTIME_MALLOCPROFILER_SYMBOLICATION

#define PLATFORM_RUNTIME_MALLOCPROFILER_SYMBOLICATION   PLATFORM_SUPPORTS_STACK_SYMBOLS

Definition at line 433 of file Platform.h.

◆ PLATFORM_SEH_EXCEPTIONS_DISABLED

#define PLATFORM_SEH_EXCEPTIONS_DISABLED   0

Definition at line 153 of file Platform.h.

◆ PLATFORM_SUPPORTS_BINDLESS_RENDERING

#define PLATFORM_SUPPORTS_BINDLESS_RENDERING   0

Definition at line 369 of file Platform.h.

◆ PLATFORM_SUPPORTS_BORDERLESS_WINDOW

#define PLATFORM_SUPPORTS_BORDERLESS_WINDOW   0

Definition at line 381 of file Platform.h.

◆ PLATFORM_SUPPORTS_COLORIZED_OUTPUT_DEVICE

#define PLATFORM_SUPPORTS_COLORIZED_OUTPUT_DEVICE   PLATFORM_DESKTOP

Definition at line 573 of file Platform.h.

◆ PLATFORM_SUPPORTS_DRAW_MESH_EVENTS

#define PLATFORM_SUPPORTS_DRAW_MESH_EVENTS   1

Definition at line 353 of file Platform.h.

◆ PLATFORM_SUPPORTS_EARLY_MOVIE_PLAYBACK

#define PLATFORM_SUPPORTS_EARLY_MOVIE_PLAYBACK   0

Definition at line 461 of file Platform.h.

◆ PLATFORM_SUPPORTS_FLIP_TRACKING

#define PLATFORM_SUPPORTS_FLIP_TRACKING   0

Definition at line 545 of file Platform.h.

◆ PLATFORM_SUPPORTS_GEOMETRY_SHADERS

#define PLATFORM_SUPPORTS_GEOMETRY_SHADERS   1

Definition at line 361 of file Platform.h.

◆ PLATFORM_SUPPORTS_JEMALLOC

#define PLATFORM_SUPPORTS_JEMALLOC   0

Definition at line 393 of file Platform.h.

◆ PLATFORM_SUPPORTS_LANDSCAPE_VISUAL_MESH_LOD_STREAMING

#define PLATFORM_SUPPORTS_LANDSCAPE_VISUAL_MESH_LOD_STREAMING   0 UE_DEPRECATED_MACRO(5.1, "PLATFORM_SUPPORTS_LANDSCAPE_VISUAL_MESH_LOD_STREAMING has been deprecated and should be replaced with 0.")

Definition at line 557 of file Platform.h.

◆ PLATFORM_SUPPORTS_MESH_SHADERS

#define PLATFORM_SUPPORTS_MESH_SHADERS   0

Definition at line 365 of file Platform.h.

◆ PLATFORM_SUPPORTS_MIMALLOC

#define PLATFORM_SUPPORTS_MIMALLOC   0

Definition at line 397 of file Platform.h.

◆ PLATFORM_SUPPORTS_MULTIPLE_NATIVE_WINDOWS

#define PLATFORM_SUPPORTS_MULTIPLE_NATIVE_WINDOWS   1

Definition at line 421 of file Platform.h.

◆ PLATFORM_SUPPORTS_MULTITHREADED_GC

#define PLATFORM_SUPPORTS_MULTITHREADED_GC   1

Definition at line 307 of file Platform.h.

◆ PLATFORM_SUPPORTS_NAMED_PIPES

#define PLATFORM_SUPPORTS_NAMED_PIPES   0

Definition at line 405 of file Platform.h.

◆ PLATFORM_SUPPORTS_OPUS_CODEC

#define PLATFORM_SUPPORTS_OPUS_CODEC   1

Definition at line 517 of file Platform.h.

◆ PLATFORM_SUPPORTS_PARALLEL_RHI_EXECUTE

#define PLATFORM_SUPPORTS_PARALLEL_RHI_EXECUTE   #

Definition at line 620 of file Platform.h.

◆ PLATFORM_SUPPORTS_PRAGMA_PACK

#define PLATFORM_SUPPORTS_PRAGMA_PACK   0

Definition at line 156 of file Platform.h.

◆ PLATFORM_SUPPORTS_RHI_THREAD

#define PLATFORM_SUPPORTS_RHI_THREAD   #

Definition at line 618 of file Platform.h.

◆ PLATFORM_SUPPORTS_STACK_SYMBOLS

#define PLATFORM_SUPPORTS_STACK_SYMBOLS   0

Definition at line 429 of file Platform.h.

◆ PLATFORM_SUPPORTS_TBB

#define PLATFORM_SUPPORTS_TBB   0

Definition at line 377 of file Platform.h.

◆ PLATFORM_SUPPORTS_TEXTURE_STREAMING

#define PLATFORM_SUPPORTS_TEXTURE_STREAMING   1

Definition at line 292 of file Platform.h.

◆ PLATFORM_SUPPORTS_UDP_MULTICAST_GROUP

#define PLATFORM_SUPPORTS_UDP_MULTICAST_GROUP   1

Definition at line 283 of file Platform.h.

◆ PLATFORM_SUPPORTS_UNALIGNED_LOADS

#define PLATFORM_SUPPORTS_UNALIGNED_LOADS   0

Definition at line 147 of file Platform.h.

◆ PLATFORM_SUPPORTS_VARIABLE_RATE_SHADING

#define PLATFORM_SUPPORTS_VARIABLE_RATE_SHADING   0

Definition at line 301 of file Platform.h.

◆ PLATFORM_SUPPORTS_VIRTUAL_TEXTURE_STREAMING

#define PLATFORM_SUPPORTS_VIRTUAL_TEXTURE_STREAMING   0

Definition at line 295 of file Platform.h.

◆ PLATFORM_SUPPORTS_VIRTUAL_TEXTURES

#define PLATFORM_SUPPORTS_VIRTUAL_TEXTURES   0

Definition at line 298 of file Platform.h.

◆ PLATFORM_SUPPORTS_VORBIS_CODEC

#define PLATFORM_SUPPORTS_VORBIS_CODEC   1

Definition at line 521 of file Platform.h.

◆ PLATFORM_SWITCH

#define PLATFORM_SWITCH   0

Definition at line 53 of file Platform.h.

◆ PLATFORM_TCHAR_IS_4_BYTES

#define PLATFORM_TCHAR_IS_4_BYTES   0

Definition at line 253 of file Platform.h.

◆ PLATFORM_TCHAR_IS_CHAR16

#define PLATFORM_TCHAR_IS_CHAR16   0

Definition at line 260 of file Platform.h.

◆ PLATFORM_TCHAR_IS_UTF8CHAR

#define PLATFORM_TCHAR_IS_UTF8CHAR   USE_UTF8_TCHARS

Definition at line 264 of file Platform.h.

◆ PLATFORM_TVOS

#define PLATFORM_TVOS   0

Definition at line 26 of file Platform.h.

◆ PLATFORM_UCS2CHAR_IS_UTF16CHAR

#define PLATFORM_UCS2CHAR_IS_UTF16CHAR   1

Definition at line 268 of file Platform.h.

◆ PLATFORM_UI_HAS_MOBILE_SCROLLBARS

#define PLATFORM_UI_HAS_MOBILE_SCROLLBARS   0

Definition at line 465 of file Platform.h.

◆ PLATFORM_UI_NEEDS_FOCUS_OUTLINES

#define PLATFORM_UI_NEEDS_FOCUS_OUTLINES   1

Definition at line 473 of file Platform.h.

◆ PLATFORM_UI_NEEDS_TOOLTIPS

#define PLATFORM_UI_NEEDS_TOOLTIPS   1

Definition at line 469 of file Platform.h.

◆ PLATFORM_UNIX

#define PLATFORM_UNIX   0

Definition at line 59 of file Platform.h.

◆ PLATFORM_USE_ANSI_MEMALIGN

#define PLATFORM_USE_ANSI_MEMALIGN   0

Definition at line 509 of file Platform.h.

◆ PLATFORM_USE_ANSI_POSIX_MALLOC

#define PLATFORM_USE_ANSI_POSIX_MALLOC   0

Definition at line 501 of file Platform.h.

◆ PLATFORM_USE_CACHED_SLACK_MEMORY_IN_MEMORY_STATS

#define PLATFORM_USE_CACHED_SLACK_MEMORY_IN_MEMORY_STATS   0

Definition at line 553 of file Platform.h.

◆ PLATFORM_USE_FALLBACK_PSO

#define PLATFORM_USE_FALLBACK_PSO   0

Definition at line 593 of file Platform.h.

◆ PLATFORM_USE_FULL_TASK_GRAPH

#define PLATFORM_USE_FULL_TASK_GRAPH   1

Definition at line 493 of file Platform.h.

◆ PLATFORM_USE_GENERIC_LAUNCH_IMPLEMENTATION

#define PLATFORM_USE_GENERIC_LAUNCH_IMPLEMENTATION   0

Definition at line 561 of file Platform.h.

◆ PLATFORM_USE_GENERIC_STRING_IMPLEMENTATION

#define PLATFORM_USE_GENERIC_STRING_IMPLEMENTATION   1

Definition at line 529 of file Platform.h.

◆ PLATFORM_USE_LS_SPEC_FOR_WIDECHAR

#define PLATFORM_USE_LS_SPEC_FOR_WIDECHAR   1

Definition at line 218 of file Platform.h.

◆ PLATFORM_USE_MINIMAL_HANG_DETECTION

#define PLATFORM_USE_MINIMAL_HANG_DETECTION   0

Definition at line 525 of file Platform.h.

◆ PLATFORM_USE_PLATFORM_FILE_MANAGED_STORAGE_WRAPPER

#define PLATFORM_USE_PLATFORM_FILE_MANAGED_STORAGE_WRAPPER   0

Definition at line 577 of file Platform.h.

◆ PLATFORM_USE_PTHREADS

#define PLATFORM_USE_PTHREADS   1

Definition at line 286 of file Platform.h.

◆ PLATFORM_USE_REPORT_ENSURE

#define PLATFORM_USE_REPORT_ENSURE   PLATFORM_DESKTOP

Definition at line 589 of file Platform.h.

◆ PLATFORM_USE_SHOWFLAGS_ALWAYS_BITFIELD

#define PLATFORM_USE_SHOWFLAGS_ALWAYS_BITFIELD   1

Definition at line 549 of file Platform.h.

◆ PLATFORM_USE_SYSTEM_VSWPRINTF

#define PLATFORM_USE_SYSTEM_VSWPRINTF   1

Definition at line 221 of file Platform.h.

◆ PLATFORM_USES__ALIGNED_MALLOC

#define PLATFORM_USES__ALIGNED_MALLOC   0

Definition at line 505 of file Platform.h.

◆ PLATFORM_USES_ANSI_MALLOC

#define PLATFORM_USES_ANSI_MALLOC   1

Definition at line 497 of file Platform.h.

◆ PLATFORM_USES_ANSI_STRING_FOR_EXTERNAL_PROFILING

#define PLATFORM_USES_ANSI_STRING_FOR_EXTERNAL_PROFILING   1

Definition at line 441 of file Platform.h.

◆ PLATFORM_USES_FIXED_GMalloc_CLASS

#define PLATFORM_USES_FIXED_GMalloc_CLASS   0

Definition at line 413 of file Platform.h.

◆ PLATFORM_USES_FIXED_HDR_SETTING

#define PLATFORM_USES_FIXED_HDR_SETTING   0

Definition at line 565 of file Platform.h.

◆ PLATFORM_USES_FIXED_RHI_CLASS

#define PLATFORM_USES_FIXED_RHI_CLASS   0

Definition at line 409 of file Platform.h.

◆ PLATFORM_USES_GLES

#define PLATFORM_USES_GLES   0

Definition at line 357 of file Platform.h.

◆ PLATFORM_USES_MICROSOFT_LIBC_FUNCTIONS

#define PLATFORM_USES_MICROSOFT_LIBC_FUNCTIONS   0

Definition at line 349 of file Platform.h.

◆ PLATFORM_USES_STACKBASED_MALLOC_CRASH

#define PLATFORM_USES_STACKBASED_MALLOC_CRASH   0

Definition at line 417 of file Platform.h.

◆ PLATFORM_USES_UNFAIR_LOCKS

#define PLATFORM_USES_UNFAIR_LOCKS   0

Definition at line 597 of file Platform.h.

◆ PLATFORM_VTABLE_AT_END_OF_CLASS

#define PLATFORM_VTABLE_AT_END_OF_CLASS   0

Definition at line 632 of file Platform.h.

◆ PLATFORM_WCHAR_IS_4_BYTES

#define PLATFORM_WCHAR_IS_4_BYTES   0

Definition at line 256 of file Platform.h.

◆ PLATFORM_WEAKLY_CONSISTENT_MEMORY

#define PLATFORM_WEAKLY_CONSISTENT_MEMORY   PLATFORM_CPU_ARM_FAMILY

Definition at line 481 of file Platform.h.

◆ PLATFORM_WIDECHAR_IS_CHAR16

#define PLATFORM_WIDECHAR_IS_CHAR16   PLATFORM_TCHAR_IS_CHAR16

Definition at line 262 of file Platform.h.

◆ PLATFORM_WINDOWS

#define PLATFORM_WINDOWS   1

Definition at line 4 of file Platform.h.

◆ PRAGMA_DISABLE_INLINING

#define PRAGMA_DISABLE_INLINING

Definition at line 807 of file Platform.h.

◆ PRAGMA_DISABLE_OPTIMIZATION_ACTUAL

#define PRAGMA_DISABLE_OPTIMIZATION_ACTUAL

Definition at line 740 of file Platform.h.

◆ PRAGMA_ENABLE_INLINING

#define PRAGMA_ENABLE_INLINING

Definition at line 808 of file Platform.h.

◆ PRAGMA_ENABLE_OPTIMIZATION_ACTUAL

#define PRAGMA_ENABLE_OPTIMIZATION_ACTUAL

Definition at line 741 of file Platform.h.

◆ RESTRICT

#define RESTRICT   __restrict /* no alias hint */

Definition at line 650 of file Platform.h.

◆ STDCALL

#define STDCALL   /* Standard calling convention */

Definition at line 641 of file Platform.h.

◆ TEXT

#define TEXT ( x)    TEXT_PASTE(x)

Definition at line 1108 of file Platform.h.

◆ TEXT_PASTE

#define TEXT_PASTE ( x)    WIDETEXT(x)

Definition at line 1106 of file Platform.h.

◆ TYPENAME_OUTSIDE_TEMPLATE

#define TYPENAME_OUTSIDE_TEMPLATE   typename

Definition at line 763 of file Platform.h.

◆ UE_ASSUME

#define UE_ASSUME ( x)

Promise expression is true. Compiler can optimize accordingly with undefined behavior if wrong. Static analyzers understand this.

Definition at line 715 of file Platform.h.

◆ UE_CONSTEVAL

#define UE_CONSTEVAL   constexpr

Definition at line 692 of file Platform.h.

◆ UE_LIFETIMEBOUND

#define UE_LIFETIMEBOUND

Definition at line 705 of file Platform.h.

◆ UE_NODISCARD

#define UE_NODISCARD

Definition at line 660 of file Platform.h.

◆ UE_NODISCARD_CTOR

#define UE_NODISCARD_CTOR

Definition at line 674 of file Platform.h.

◆ UE_NORETURN

#define UE_NORETURN

Definition at line 684 of file Platform.h.

◆ UE_VALIDATE_FORMAT_STRINGS

#define UE_VALIDATE_FORMAT_STRINGS   0

Definition at line 215 of file Platform.h.

◆ UNLIKELY

#define UNLIKELY ( x)    (!!(x))

Definition at line 734 of file Platform.h.

◆ USING_ADDRESS_SANITISER

#define USING_ADDRESS_SANITISER   0

Definition at line 117 of file Platform.h.

◆ UTF16TEXT

#define UTF16TEXT ( x)    UTF16TEXT_PASTE(x)

Definition at line 1136 of file Platform.h.

◆ UTF16TEXT_PASTE

#define UTF16TEXT_PASTE ( x)    u ## x

Definition at line 1094 of file Platform.h.

◆ UTF8TEXT

Definition at line 1135 of file Platform.h.

◆ UTF8TEXT_PASTE

#define UTF8TEXT_PASTE ( x)    u8 ## x

Definition at line 1093 of file Platform.h.

◆ VARARGS

#define VARARGS   /* Functions with variable arguments */

Definition at line 635 of file Platform.h.

◆ WIDETEXT

#define WIDETEXT ( str)    WIDETEXT_PASTE(str)

Definition at line 1137 of file Platform.h.

◆ WIDETEXT_PASTE

#define WIDETEXT_PASTE ( x)    L ## x

Definition at line 1098 of file Platform.h.

Typedef Documentation

◆ ANSICHAR

An ANSI character. Normally a signed type.

Definition at line 967 of file Platform.h.

◆ int16

A 16-bit signed integer.

Definition at line 959 of file Platform.h.

◆ int32

A 32-bit signed integer.

Definition at line 961 of file Platform.h.

◆ int64

A 64-bit signed integer.

Definition at line 963 of file Platform.h.

◆ int8

An 8-bit signed integer.

Definition at line 957 of file Platform.h.

◆ PTRINT

typedef FPlatformTypes::PTRINT PTRINT

A signed integer the same size as a pointer.

Definition at line 984 of file Platform.h.

◆ SIZE_T

An unsigned integer the same size as a pointer, the same as UPTRINT.

Definition at line 986 of file Platform.h.

◆ SSIZE_T

An integer the same size as a pointer, the same as PTRINT.

Definition at line 988 of file Platform.h.

◆ TCHAR

Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requirements of the licensee.

Definition at line 971 of file Platform.h.

◆ TYPE_OF_NULL

The type of the NULL constant.

Definition at line 991 of file Platform.h.

◆ TYPE_OF_NULLPTR

The type of the C++ nullptr keyword.

Definition at line 993 of file Platform.h.

◆ UCS2CHAR

A 16-bit character containing a UCS2 (Unicode, 16-bit, fixed-width) code unit, used for compatibility with 'Windows TCHAR' across multiple platforms.

Definition at line 975 of file Platform.h.

◆ uint16

A 16-bit unsigned integer.

Definition at line 949 of file Platform.h.

◆ uint32

A 32-bit unsigned integer.

Definition at line 951 of file Platform.h.

◆ uint64

A 64-bit unsigned integer.

Definition at line 953 of file Platform.h.

◆ uint8

An 8-bit unsigned integer.

Definition at line 947 of file Platform.h.

◆ UPTRINT

typedef FPlatformTypes::UPTRINT UPTRINT

An unsigned integer the same size as a pointer.

Definition at line 982 of file Platform.h.

◆ UTF16CHAR

A 16-bit character containing a UTF16 (Unicode, 16-bit, variable-width) code unit.

Definition at line 977 of file Platform.h.

◆ UTF32CHAR

A 32-bit character containing a UTF32 (Unicode, 32-bit, fixed-width) code unit.

Definition at line 979 of file Platform.h.

◆ UTF8CHAR

An 8-bit character containing a UTF8 (Unicode, 8-bit, variable-width) code unit.

Definition at line 973 of file Platform.h.

◆ WIDECHAR

A wide character. Normally a signed type.

Definition at line 969 of file Platform.h.