ArenaMemoryResource::ArenaMemoryResource

Constructor.

Windows
MacOS
Linux

References

Module

RigLogicLib

Header

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/pma/resources/ArenaMemoryResource.h

Include

#include "pma/resources/ArenaMemoryResource.h"

Source

/Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/pma/resources/ArenaMemoryResource.cpp

Syntax

ArenaMemoryResource
(
    std::size_t regionSize,
    MemoryResource * upstream
)

Remarks

Constructor.

Parameters

Parameter

Description

regionSize

When a memory region backing allocation requests has not enough free space to serve an allocation, an additional region is allocated for both the current and all subsequent allocations. This parameter denotes the size of the initial and all subsequently allocated regions. @note The growth factor in this case will be 1.0, i.e. no growth.

upstream

The backing memory region will be allocated using the given upstream MemoryResource.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss