FRDGBuilder::CreateBuffer

Create graph tracked buffer from a descriptor.

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

FRDGBufferRef CreateBuffer
(
    const FRDGBufferDesc & Desc,
    const TCHAR * Name,
    ERDGBufferFlags Flags
)

Remarks

Create graph tracked buffer from a descriptor. The CPU memory is guaranteed to be valid through execution of the graph, at which point it is released. The underlying RHI buffer lifetime is only guaranteed for passes which declare the buffer in the pass parameter struct. The name is the name used for GPU debugging tools.

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