Ark Server API (ASA) - Wiki
|
#include "CoreFwd.h"
#include "CoreTypes.h"
#include "HAL/PlatformString.h"
#include <string.h>
#include <wchar.h>
Go to the source code of this file.
Macros | |
#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.
Definition at line 198 of file GenericPlatformMemory.h.
#define FMemory_Alloca | ( | Size | ) | ((Size==0) ? 0 : (void*)(((PTRINT)__FMemory_Alloca_Func(Size + 15) + 15) & ~15)) |
Definition at line 201 of file GenericPlatformMemory.h.
#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)))) |
Definition at line 204 of file GenericPlatformMemory.h.
Definition at line 38 of file GenericPlatformMemory.h.
#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
Definition at line 28 of file GenericPlatformMemory.h.
Definition at line 128 of file GenericPlatformMemory.h.
|
strong |
Enumerator | |
---|---|
StoreCached | |
StoreUncached |
Definition at line 57 of file GenericPlatformMemory.h.
|
strong |
Definition at line 39 of file GenericPlatformMemory.h.
|
inline |
Definition at line 45 of file GenericPlatformMemory.h.