Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRDGBuilder > API/Runtime/RenderCore/FRDGBuilder/QueueBufferUpload
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.h |
| Include | #include "RenderGraphBuilder.h" |
| Source | /Engine/Source/Runtime/RenderCore/Public/RenderGraphBuilder.inl |
void QueueBufferUpload
(
FRDGBufferRef Buffer,
FRDGBufferInitialDataCallback && InitialDataCallback,
FRDGBufferInitialDataSizeCallback && InitialDataSizeCallback
)
Remarks
A variant where InitialData and InitialDataSize are supplied through callbacks. This allows queuing an upload with information unknown at creation time. The callbacks are called before RDG pass execution so data must be ready before that.