5#include "Containers/Array.h"
15#define RDG_REGISTER_BLACKBOARD_STRUCT(StructType) \
17 inline FString FRDGBlackboard::GetTypeName<StructType>() \
19 return GetTypeName(TEXT(#StructType), TEXT(__FILE__), __LINE__); \
60 template <
typename StructType,
typename...
ArgsType>
79 template <
typename StructType>
89 return &Element->Struct;
96 template <
typename StructType>
97 const StructType*
Get()
const
102 template <
typename StructType,
typename...
ArgsType>
113 template <
typename StructType>
122 template <
typename StructType>
140 virtual ~FStruct() =
default;
143 template <
typename StructType>
144 struct TStruct final :
public FStruct
146 template <
typename...
TArgs>
147 inline TStruct(
TArgs&&... Args)
154 template <
typename StructType>
155 static FString GetTypeName()
158 static_assert(
sizeof(StructType) == 0,
"Struct has not been registered with the RDG blackboard. Use RDG_REGISTER_BLACKBOARD_STRUCT to do this.");
165 template <
typename StructType>
166 static uint32 GetStructIndex()
#define check(expr)
Definition AssertionMacros.h:314
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition RenderGraphAllocator.h:24
void * Alloc(uint64 SizeInBytes, uint32 AlignInBytes)
Definition RenderGraphAllocator.h:53
Definition RenderGraphBlackboard.h:57
const StructType * Get() const
Definition RenderGraphBlackboard.h:97
StructType & GetMutableChecked() const
Definition RenderGraphBlackboard.h:114
const StructType & GetChecked() const
Definition RenderGraphBlackboard.h:123
StructType * GetMutable() const
Definition RenderGraphBlackboard.h:80
StructType & GetOrCreate(ArgsType &&... Args)
Definition RenderGraphBlackboard.h:103
StructType & Create(ArgsType &&... Args)
Definition RenderGraphBlackboard.h:61
Definition RenderGraphBuilder.h:49
U16 Index
Definition radfft.cpp:71