UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRDGUploadData< InElementType > Struct Template Reference

#include <RenderGraphUtils.h>

+ Inheritance diagram for FRDGUploadData< InElementType >:

Public Member Functions

 FRDGUploadData ()=delete
 
 FRDGUploadData (FRDGBuilder &GraphBuilder, uint32 InCount)
 
int32 GetTotalSize () const
 
- Public Member Functions inherited from TArrayView< InElementType, int32 >
constexpr TArrayView (const TArrayView &)=default
 
constexpr TArrayView ()
 
constexpr TArrayView (OtherRangeType &&Other)
 
constexpr TArrayView (OtherRangeType &&Other UE_LIFETIMEBOUND)
 
constexpr TArrayView (OtherElementType *InData UE_LIFETIMEBOUND, SizeType InCount)
 
constexpr TArrayView (std::initializer_list< ElementType > List UE_LIFETIMEBOUND)
 
constexpr TArrayView (FIntrusiveUnsetOptionalState)
 
TArrayViewoperator= (const TArrayView &)=default
 
 ~TArrayView ()=default
 
constexpr bool UEOpEquals (FIntrusiveUnsetOptionalState) const
 
bool UEOpEquals (TArrayView< OtherElementType, OtherSizeType >) const=delete
 
bool UEOpEquals (RangeType &&Rhs) const
 
UE_FORCEINLINE_HINT constexpr ElementTypeGetData () const
 
UE_FORCEINLINE_HINT constexpr void CheckInvariants () const
 
constexpr void RangeCheck (SizeType Index) const
 
constexpr void SliceRangeCheck (SizeType Index, SizeType InNum) const
 
UE_FORCEINLINE_HINT constexpr bool IsValidIndex (SizeType Index) const
 
constexpr bool IsEmpty () const
 
UE_FORCEINLINE_HINT constexpr SizeType Num () const
 
UE_FORCEINLINE_HINT constexpr SIZE_T NumBytes () const
 
constexpr ElementTypeoperator[] (SizeType Index) const
 
constexpr ElementTypeLast (SizeType IndexFromTheEnd=0) const
 
constexpr TArrayView Slice (SizeType Index, SizeType InNum) const
 
constexpr TArrayView Left (SizeType Count) const
 
constexpr TArrayView LeftChop (SizeType Count) const
 
constexpr TArrayView Right (SizeType Count) const
 
constexpr TArrayView RightChop (SizeType Count) const
 
constexpr TArrayView Mid (SizeType Index, SizeType Count=TNumericLimits< SizeType >::Max()) const
 
constexpr void LeftInline (SizeType CharCount)
 
constexpr void LeftChopInline (SizeType CharCount)
 
constexpr void RightInline (SizeType CharCount)
 
constexpr void RightChopInline (SizeType CharCount)
 
constexpr void MidInline (SizeType Position, SizeType CharCount=TNumericLimits< SizeType >::Max())
 
constexpr bool Find (const ElementType &Item, SizeType &Index) const
 
constexpr SizeType Find (const ElementType &Item) const
 
constexpr bool FindLast (const ElementType &Item, SizeType &Index) const
 
constexpr SizeType FindLast (const ElementType &Item) const
 
constexpr SizeType FindLastByPredicate (Predicate Pred, SizeType StartIndex) const
 
UE_FORCEINLINE_HINT constexpr SizeType FindLastByPredicate (Predicate Pred) const
 
constexpr SizeType IndexOfByKey (const KeyType &Key) const
 
constexpr SizeType IndexOfByPredicate (Predicate Pred) const
 
constexpr ElementTypeFindByKey (const KeyType &Key) const
 
constexpr ElementTypeFindByPredicate (Predicate Pred) const
 
constexpr TArray< std::remove_const_t< ElementType > > FilterByPredicate (Predicate Pred) const
 
constexpr bool Contains (const ComparisonType &Item) const
 
UE_FORCEINLINE_HINT constexpr bool ContainsByPredicate (Predicate Pred) const
 
UE_FORCEINLINE_HINT constexpr ElementTypebegin () const
 
UE_FORCEINLINE_HINT constexpr ElementTypeend () const
 
UE_FORCEINLINE_HINT constexpr TReversePointerIterator< ElementTyperbegin () const
 
UE_FORCEINLINE_HINT constexpr TReversePointerIterator< ElementTyperend () const
 
constexpr void Sort ()
 
constexpr void Sort (const PREDICATE_CLASS &Predicate)
 
constexpr void StableSort ()
 
constexpr void StableSort (const PREDICATE_CLASS &Predicate)
 

Additional Inherited Members

- Public Types inherited from TArrayView< InElementType, int32 >
using ElementType = InElementType
 
using SizeType = int32
 
using IntrusiveUnsetOptionalStateType = TArrayView
 
- Static Public Member Functions inherited from TArrayView< InElementType, int32 >
static UE_FORCEINLINE_HINT constexpr size_t GetTypeSize ()
 
static UE_FORCEINLINE_HINT constexpr size_t GetTypeAlignment ()
 
- Static Public Attributes inherited from TArrayView< InElementType, int32 >
static constexpr bool bHasIntrusiveUnsetOptionalState
 

Detailed Description

template<typename InElementType>
struct FRDGUploadData< InElementType >

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.

Constructor & Destructor Documentation

◆ FRDGUploadData() [1/2]

◆ FRDGUploadData() [2/2]

template<typename InElementType >
FRDGUploadData< InElementType >::FRDGUploadData ( FRDGBuilder GraphBuilder,
uint32  InCount 
)
inline

Member Function Documentation

◆ GetTotalSize()

template<typename InElementType >
int32 FRDGUploadData< InElementType >::GetTotalSize ( ) const
inline

The documentation for this struct was generated from the following file: