CreateStructuredBuffer

Creates a structured buffer with initial data by creating an upload pass.

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderGraphUtils.cpp

Syntax

FRDGBufferRef CreateStructuredBuffer
(
    FRDGBuilder & GraphBuilder,
    const TCHAR * Name,
    uint32 BytesPerElement,
    uint32 NumElements,
    const void * InitialData,
    uint64 InitialDataSize,
    ERDGInitialDataFlags InitialDataFlags
)

Remarks

Creates a structured buffer with initial data by creating an upload pass.

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