LoadNameBatchAsync

Load names and precalculated hashes from an archive using multiple workers

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/UObject/NameBatchSerialization.h

Include

#include "UObject/NameBatchSerialization.h"

Source

/Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp

Syntax

TFunction< TArray< FNameEntryId >)> LoadNameBatchAsync
(
    FArchive & Ar,
    uint32 MaxWorkers
)

Remarks

Load names and precalculated hashes from an archive using multiple workers

May load synchronously in some cases, like small batches.

Names are rehashed if hash algorithm version doesn't match.

Returns

function that waits before returning result, like a simple future.

Parameters

Parameter

Description

Ar

is drained synchronously

MaxWorkers

0

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