ForAnyElementType

Windows
MacOS
Linux

Inheritance Hierarchy

TMaybeMappedAllocator::ForAnyElementType

TMaybeMappedAllocator::ForElementType

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Animation/AnimCompressionTypes.h

Include

#include "Animation/AnimCompressionTypes.h"

Syntax

class ForAnyElementType

Constructors

Name Description

Public function

ForAnyElementType()

Default constructor.

Destructors

Name Description

Public function

~ForAnyElementType()

Destructor.

Functions

Name Description

Public function

void

 

AcceptFileMapping

(
    IMappedFileHandle* InMappedHan...,
    IMappedFileRegion* InMappedReg...,
    void* MallocPtr
)

Public function Const

SizeType

 

CalculateSlackGrow

(
    SizeType NumElements,
    SizeType NumAllocatedElements,
    SIZE_T NumBytesPerElement
)

Public function Const

SizeType

 

CalculateSlackReserve

(
    SizeType NumElements,
    SIZE_T NumBytesPerElement
)

Public function Const

SizeType

 

CalculateSlackShrink

(
    SizeType NumElements,
    SizeType NumAllocatedElements,
    SIZE_T NumBytesPerElement
)

Public function Const

SIZE_T

 

GetAllocatedSize

(
    SizeType NumAllocatedElements,
    SIZE_T NumBytesPerElement
)

Public function Const

FScriptConta...

 

GetAllocation()

Public function Const

SizeType

 

GetInitialCapacity()

Public function Const

bool

 

HasAllocation()

Public function Const

bool

 

IsMapped()

Public function

void

 

MoveToEmpty

(
    ForAnyElementType& Other
)

Moves the state of another allocator into this one.

Public function

void

 

ResizeAllocation

(
    SizeType PreviousNumElements,
    SizeType NumElements,
    SIZE_T NumBytesPerElement
)

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