FGrowableMallocChunk::FFreeEntry::CanFit

Determine if the given allocation with this alignment and size will fit

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/GenericGrowableAllocator.h

Include

#include "Misc/GenericGrowableAllocator.h"

Syntax

bool CanFit
(
    uint64 AlignedSize,
    uint32 Alignment
)

Remarks

Determine if the given allocation with this alignment and size will fit

Returns

true if the allocation will fit

Parameters

Parameter

Description

AllocationSize

Already aligned size of an allocation

Alignment

Alignment of the allocation (location may need to increase to match alignment)

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