7template <
typename InElementType,
typename InAllocatorType = FDefaultAllocator>
33 return !(*
this == RHS);
121 return !(*
this == RHS);
161 return !(*
this == RHS);
179 template <
typename TFunction>
222template <
typename ElementType,
typename AllocatorType>
225 checkf(
Layout.GetSubresourceCount() > 0,
TEXT(
"Subresource layout has no subresources."));
229template <
typename ElementType,
typename AllocatorType>
232 const uint32 SubresourceCount =
Layout.GetSubresourceCount();
240template <
typename ElementType,
typename AllocatorType>
247template <
typename ElementType,
typename AllocatorType>
254template <
typename ElementType,
typename AllocatorType,
typename FunctionType>
264template <
typename ElementType,
typename AllocatorType,
typename FunctionType>
#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
void EnumerateSubresourceRange(TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, const FRDGTextureSubresourceRange &Range, FunctionType Function)
Definition RenderGraphTextureSubresource.h:255
const ElementType & GetSubresource(const TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, FRDGTextureSubresource Subresource)
Definition RenderGraphTextureSubresource.h:241
void VerifyLayout(const TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout)
Definition RenderGraphTextureSubresource.h:223
void InitTextureSubresources(TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, const ElementType &Element={})
Definition RenderGraphTextureSubresource.h:230
Definition AndroidPlatformMisc.h:14
@ Element
Definition Visu.h:18
U16 Index
Definition radfft.cpp:71
Definition RenderGraphTextureSubresource.h:70
FRDGTextureSubresourceLayout()
Definition RenderGraphTextureSubresource.h:71
uint32 NumMips
Definition RenderGraphTextureSubresource.h:124
uint32 NumArraySlices
Definition RenderGraphTextureSubresource.h:126
FRDGTextureSubresource GetMaxSubresource() const
Definition RenderGraphTextureSubresource.h:107
FRDGTextureSubresourceLayout(uint32 InNumMips, uint32 InNumArraySlices, uint32 InNumPlaneSlices)
Definition RenderGraphTextureSubresource.h:77
FRDGTextureSubresourceLayout(const FRHITextureDesc &Desc)
Definition RenderGraphTextureSubresource.h:83
uint32 GetSubresourceCount() const
Definition RenderGraphTextureSubresource.h:87
uint32 NumPlaneSlices
Definition RenderGraphTextureSubresource.h:125
bool operator!=(FRDGTextureSubresourceLayout const &RHS) const
Definition RenderGraphTextureSubresource.h:119
bool operator==(FRDGTextureSubresourceLayout const &RHS) const
Definition RenderGraphTextureSubresource.h:112
FRDGTextureSubresource GetSubresource(uint32 Index) const
Definition RenderGraphTextureSubresource.h:98
uint32 GetSubresourceIndex(FRDGTextureSubresource Subresource) const
Definition RenderGraphTextureSubresource.h:92
Definition RenderGraphTextureSubresource.h:130
uint32 ArraySlice
Definition RenderGraphTextureSubresource.h:216
bool operator==(FRDGTextureSubresourceRange const &RHS) const
Definition RenderGraphTextureSubresource.h:149
uint32 NumMips
Definition RenderGraphTextureSubresource.h:217
FRDGTextureSubresourceRange(FRDGTextureSubresourceLayout Layout)
Definition RenderGraphTextureSubresource.h:140
uint32 MipIndex
Definition RenderGraphTextureSubresource.h:214
uint32 GetSubresourceCount() const
Definition RenderGraphTextureSubresource.h:164
uint32 NumArraySlices
Definition RenderGraphTextureSubresource.h:219
FRDGTextureSubresource GetMaxSubresource() const
Definition RenderGraphTextureSubresource.h:174
uint32 NumPlaneSlices
Definition RenderGraphTextureSubresource.h:218
FRDGTextureSubresource GetMinSubresource() const
Definition RenderGraphTextureSubresource.h:169
bool IsValid(const FRDGTextureSubresourceLayout &Layout) const
Definition RenderGraphTextureSubresource.h:207
void EnumerateSubresources(TFunction Function) const
Definition RenderGraphTextureSubresource.h:180
bool IsWholeResource(const FRDGTextureSubresourceLayout &Layout) const
Definition RenderGraphTextureSubresource.h:197
FRDGTextureSubresourceRange()
Definition RenderGraphTextureSubresource.h:131
bool operator!=(FRDGTextureSubresourceRange const &RHS) const
Definition RenderGraphTextureSubresource.h:159
uint32 PlaneSlice
Definition RenderGraphTextureSubresource.h:215
Definition RenderGraphTextureSubresource.h:11
FRDGTextureSubresource(uint32 InMipIndex, uint32 InArraySlice, uint32 InPlaneSlice)
Definition RenderGraphTextureSubresource.h:18
uint32 PlaneSlice
Definition RenderGraphTextureSubresource.h:65
bool operator!=(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:31
bool operator>(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:50
FRDGTextureSubresource()
Definition RenderGraphTextureSubresource.h:12
bool operator<=(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:43
bool operator==(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:24
bool operator<(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:36
uint32 MipIndex
Definition RenderGraphTextureSubresource.h:64
bool operator>=(const FRDGTextureSubresource &RHS) const
Definition RenderGraphTextureSubresource.h:57
uint32 ArraySlice
Definition RenderGraphTextureSubresource.h:66
Definition RHIResources.h:1689