FMeshElementCollector::AllocateMesh

Allocates an [FMeshBatch](API\Runtime\Engine\FMeshBatch) that can be safely referenced by the collector (lifetime will be long enough).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

FMeshBatch & AllocateMesh()

Remarks

Allocates an FMeshBatch that can be safely referenced by the collector (lifetime will be long enough). Returns a reference that will not be invalidated due to further AllocateMesh() calls.

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