FMeshElementCollector::AllocateOneFrameResource

Allocates a temporary resource that is safe to be referenced by an [FMeshBatch](API\Runtime\Engine\FMeshBatch) added to the collector.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "SceneManagement.h"

Syntax

template<typename T, typename... ARGS>
T & AllocateOneFrameResource
(
    ARGS &&... Args
)

Remarks

Allocates a temporary resource that is safe to be referenced by an FMeshBatch added to the collector.

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