UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RenderGraphTextureSubresource.h File Reference
#include "RHI.h"

Go to the source code of this file.

Classes

struct  FRDGTextureSubresource
 
struct  FRDGTextureSubresourceLayout
 
struct  FRDGTextureSubresourceRange
 

Typedefs

template<typename InElementType , typename InAllocatorType = FDefaultAllocator>
using TRDGTextureSubresourceArray = TArray< InElementType, InAllocatorType >
 

Functions

template<typename ElementType , typename AllocatorType >
void VerifyLayout (const TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout)
 
template<typename ElementType , typename AllocatorType >
void InitTextureSubresources (TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, const ElementType &Element={})
 
template<typename ElementType , typename AllocatorType >
const ElementType & GetSubresource (const TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, FRDGTextureSubresource Subresource)
 
template<typename ElementType , typename AllocatorType >
ElementType & GetSubresource (TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, FRDGTextureSubresource Subresource)
 
template<typename ElementType , typename AllocatorType , typename FunctionType >
void EnumerateSubresourceRange (TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, const FRDGTextureSubresourceRange &Range, FunctionType Function)
 
template<typename ElementType , typename AllocatorType , typename FunctionType >
void EnumerateSubresourceRange (const TRDGTextureSubresourceArray< ElementType, AllocatorType > &SubresourceArray, const FRDGTextureSubresourceLayout &Layout, const FRDGTextureSubresourceRange &Range, FunctionType Function)
 

Typedef Documentation

◆ TRDGTextureSubresourceArray

Function Documentation

◆ EnumerateSubresourceRange() [1/2]

template<typename ElementType , typename AllocatorType , typename FunctionType >
void EnumerateSubresourceRange ( const TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout,
const FRDGTextureSubresourceRange Range,
FunctionType  Function 
)
inline

◆ EnumerateSubresourceRange() [2/2]

template<typename ElementType , typename AllocatorType , typename FunctionType >
void EnumerateSubresourceRange ( TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout,
const FRDGTextureSubresourceRange Range,
FunctionType  Function 
)
inline

◆ GetSubresource() [1/2]

template<typename ElementType , typename AllocatorType >
const ElementType & GetSubresource ( const TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout,
FRDGTextureSubresource  Subresource 
)
inline

◆ GetSubresource() [2/2]

template<typename ElementType , typename AllocatorType >
ElementType & GetSubresource ( TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout,
FRDGTextureSubresource  Subresource 
)
inline

◆ InitTextureSubresources()

template<typename ElementType , typename AllocatorType >
void InitTextureSubresources ( TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout,
const ElementType &  Element = {} 
)
inline

◆ VerifyLayout()

template<typename ElementType , typename AllocatorType >
void VerifyLayout ( const TRDGTextureSubresourceArray< ElementType, AllocatorType > &  SubresourceArray,
const FRDGTextureSubresourceLayout Layout 
)
inline