Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder
Description
Allocates a C++ array where both the array and the data are tied to the lifetime of the graph. The array itself is safe to pass into an RDG lambda.
| Name | AllocArray |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include Path | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl |
template<typename ObjectType>
TArray < ObjectType, SceneRenderingAllocator > & AllocArray()