FRDGBuilder::AllocObject

Allocates a C++ object using an allocator tied to the lifetime of the graph.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h

Include

#include "RenderGraphBuilder.h"

Source

/Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl

Syntax

template<typename ObjectType, typename... TArgs>
ObjectType * AllocObject
(
    TArgs &&... Args
)

Remarks

Allocates a C++ object using an allocator tied to the lifetime of the graph. Will destruct the object.

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