FRDGUploadData

Helper class to allocate data from a GraphBuilder in order to upload said data to an RDG resource.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TArrayView

FRDGUploadData

References

Module

RenderCore

Header

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

Include

#include "RenderGraphUtils.h"

Syntax

template<typename InElementType>
struct FRDGUploadData : public TArrayView< InElementType, int32 >

Remarks

Helper class to allocate data from a GraphBuilder in order to upload said data to an RDG resource. Allocating from the GraphBuilder makes it so we don't have to copy the data before deferring the upload.

Constructors

Name Description

Public function

FRDGUploadData()

Public function

FRDGUploadData

(
    FRDGBuilder& GraphBuilder,
    uint32 InCount
)

Functions

Name Description

Public function Const

int32

 

GetTotalSize()