![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "CoreFwd.h"#include "CoreTypes.h"#include "HAL/PlatformString.h"#include <string.h>#include <wchar.h>Go to the source code of this file.
Classes | |
| struct | FGenericPlatformMemoryConstants |
| struct | FGenericPlatformMemoryStats |
| struct | FGenericPlatformMemoryStats::FPlatformSpecificStat |
| struct | FForkedPageAllocation |
| struct | FGenericPlatformMemory |
| struct | FGenericPlatformMemory::FSharedMemoryRegion |
| class | FGenericPlatformMemory::FBasicVirtualMemoryBlock |
Macros | |
| #define | UE_CHECK_LARGE_ALLOCATIONS 0 |
| #define | PLATFORM_MEMORY_SIZE_BUCKET_LIST(XBUCKET) |
| #define | PLATFORM_MEMORY_SIZE_BUCKET_ENUM(Name) Name, |
| #define | PLATFORM_MEMORY_SIZE_BUCKET_LEXTOSTRING(Name) case EPlatformMemorySizeBucket::Name: return TEXT(#Name); |
| #define | __FMemory_Alloca_Func alloca |
| #define | FMemory_Alloca(Size) ((Size==0) ? 0 : (void*)(((PTRINT)__FMemory_Alloca_Func(Size + 15) + 15) & ~15)) |
| #define | FMemory_Alloca_Aligned(Size, Alignment) ((Size==0) ? 0 : ((Alignment <= 16) ? FMemory_Alloca(Size) : (void*)(((PTRINT)__FMemory_Alloca_Func(Size + Alignment-1) + Alignment-1) & ~(Alignment-1)))) |
Typedefs | |
| typedef FGenericPlatformMemoryConstants | FPlatformMemoryConstants |
Enumerations | |
| enum class | EPlatformMemorySizeBucket |
| enum class | EMemcpyCachePolicy : uint8 { StoreCached , StoreUncached } |
Functions | |
| const TCHAR * | LexToString (EPlatformMemorySizeBucket Bucket) |
FMemory_Alloca/alloca implementation. This can't be a function, even FORCEINLINE'd because there's no guarantee that the memory returned in a function will stick around for the caller to use.
| #define FMemory_Alloca | ( | Size | ) | ((Size==0) ? 0 : (void*)(((PTRINT)__FMemory_Alloca_Func(Size + 15) + 15) & ~15)) |
| #define FMemory_Alloca_Aligned | ( | Size, | |
| Alignment | |||
| ) | ((Size==0) ? 0 : ((Alignment <= 16) ? FMemory_Alloca(Size) : (void*)(((PTRINT)__FMemory_Alloca_Func(Size + Alignment-1) + Alignment-1) & ~(Alignment-1)))) |
| #define PLATFORM_MEMORY_SIZE_BUCKET_LEXTOSTRING | ( | Name | ) | case EPlatformMemorySizeBucket::Name: return TEXT(#Name); |
Platform-dependent "bucket" for memory size, where Default is the normal, or possibly the largest. This is generally used for texture LOD settings for how to fit in smaller memory devices
| #define UE_CHECK_LARGE_ALLOCATIONS 0 |
|
strong |
|
strong |
|
inline |