Navigation
API > API/Plugins > API/Plugins/UnrealUSDWrapper
| Name | FUsdMemoryManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/UnrealUSDWrapper/Public/USDMemory.h |
| Include Path | #include "USDMemory.h" |
Syntax
class FUsdMemoryManager
Structs
| Name | Remarks |
|---|---|
| FThreadSafeSet |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ActiveAllocatorsStackTLS | TOptional< FTlsSlot > | USDMemory.h | |
| CriticalSection | FCriticalSection | USDMemory.h | |
| SystemAllocedPtrs | FThreadSafeSet | USDMemory.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ActivateAllocator
(
EUsdActiveAllocator Allocator |
Pushes Allocator on the stack of active allocators | USDMemory.h | |
static bool DeactivateAllocator
(
EUsdActiveAllocator Allocator |
Pops Allocator from the stack of active allocators | USDMemory.h | |
static void Free
(
void* Original |
Redirects the call to free to the currently active allocator. | USDMemory.h | |
static FActiveAllocatorsStack & GetActiveAllocatorsStackForThread() |
USDMemory.h | ||
static void Initialize() |
USDMemory.h | ||
static bool IsUsingSystemMalloc() |
Returns if the current active allocator is EActiveAllocator::System | USDMemory.h | |
static void * Malloc
(
SIZE_T Count |
Redirects the call to malloc to the currently active allocator. | USDMemory.h | |
static void Shutdown() |
USDMemory.h |