FUsdMemoryManager

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealUSDWrapper

Header

/Engine/Plugins/Importers/USDImporter/Source/UnrealUSDWrapper/Public/USDMemory.h

Include

#include "USDMemory.h"

Syntax

class FUsdMemoryManager

Functions

Name Description

Public function Static

void

 

ActivateAllocator

(
    EUsdActiveAllocator Allocator
)

Pushes Allocator on the stack of active allocators

Public function Static

bool

 

DeactivateAllocator

(
    EUsdActiveAllocator Allocator
)

Pops Allocator from the stack of active allocators

Public function Static

void

 

Free

(
    void* Original
)

Redirects the call to free to the currently active allocator.

Public function Static

void

 

Initialize()

Public function Static

void *

 

Malloc

(
    SIZE_T Count
)

Redirects the call to malloc to the currently active allocator.

Public function Static

void

 

Shutdown()

Constants