Navigation
API > API/Runtime > API/Runtime/RenderCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder& GraphBuilder, |
Same as the previous function but where the type of the array is automatically inferred, so we can do : TArray |
RenderGraphUtils.h | |
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder& GraphBuilder, |
Helper to create a byte address upload buffer with initial data from a TArray. | RenderGraphUtils.h | |
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder& GraphBuilder, |
A variant where NumElements, InitialData, and InitialDataSize are supplied through callbacks. | RenderGraphUtils.h |
CreateByteAddressUploadBuffer(FRDGBuilder &, const TCHAR *, GetArrayRefCallback &&)
Description
Same as the previous function but where the type of the array is automatically inferred, so we can do : TArray
| Name | CreateByteAddressUploadBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
template<typename GetArrayRefCallback, typename Type>
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder & GraphBuilder,
const TCHAR * Name,
GetArrayRefCallback && ArrayCallback
)
CreateByteAddressUploadBuffer(FRDGBuilder &, const TCHAR *, const TArray< ElementType, AllocatorType > &, ERDGInitialDataFlags)
Description
Helper to create a byte address upload buffer with initial data from a TArray. NOTE: does not provide a 1-size fallback for empty initial data.
| Name | CreateByteAddressUploadBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
template<typename ElementType, typename AllocatorType>
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder & GraphBuilder,
const TCHAR * Name,
const TArray < ElementType, AllocatorType > & InitialData,
ERDGInitialDataFlags InitialDataFlags
)
CreateByteAddressUploadBuffer(FRDGBuilder &, const TCHAR *, FRDGBufferNumElementsCallback &&, FRDGBufferInitialDataCallback &&, FRDGBufferInitialDataSizeCallback &&)
Description
A variant where NumElements, InitialData, and InitialDataSize are supplied through callbacks. This allows creating a buffer with information unknown at creation time. Though, data must be ready before the most recent RDG pass that references the buffer is executed. For byte address buffers, NumElements must be Size / 4.
| Name | CreateByteAddressUploadBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/RenderCore/Public/RenderGraphUtils.h |
| Include Path | #include "RenderGraphUtils.h" |
FRDGBufferRef CreateByteAddressUploadBuffer
(
FRDGBuilder & GraphBuilder,
const TCHAR * Name,
FRDGBufferNumElementsCallback && NumElementsCallback,
FRDGBufferInitialDataCallback && InitialDataCallback,
FRDGBufferInitialDataSizeCallback && InitialDataSizeCallback
)