UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RenderGraphResources.h File Reference

Go to the source code of this file.

Classes

struct  FRDGProducerState
 
struct  FRDGSubresourceState
 
class  FRDGResource
 
class  FRDGUniformBuffer
 
class  TRDGUniformBuffer< ParameterStructType >
 
class  FRDGViewableResource
 
struct  FRDGViewableResource::FAccessModeState
 
class  FRDGView
 
class  FRDGPooledTexture
 
class  FRDGTexture
 
class  FRDGShaderResourceView
 
class  FRDGUnorderedAccessView
 
class  FRDGTextureSRVDesc
 
class  FRDGTextureSRV
 
class  FRDGTextureUAVDesc
 
class  FRDGTextureUAV
 
struct  FRDGBufferDesc
 
struct  FRDGBufferSRVDesc
 
struct  FRDGBufferUAVDesc
 
class  FRDGPooledBuffer
 
class  FRDGBuffer
 
class  FRDGBufferSRV
 
class  FRDGBufferUAV
 

Typedefs

using FRDGProducerStatesByPipeline = TRHIPipelineArray< FRDGProducerState >
 
using FRDGTextureSubresourceState = TRDGTextureSubresourceArray< FRDGSubresourceState *, FRDGArrayAllocator >
 

Enumerations

enum class  ERDGBarrierLocation : uint8 { Prologue , Epilogue }
 

Functions

FRDGTextureDesc Translate (const FPooledRenderTargetDesc &InDesc)
 
FPooledRenderTargetDesc Translate (const FRHITextureDesc &InDesc)
 
FRHIBufferCreateInfo Translate (const FRDGBufferDesc &InDesc)
 
template<typename ViewableResourceType >
ViewableResourceTypeGetAs (FRDGViewableResource *Resource)
 
template<typename ViewType >
ViewType * GetAs (FRDGView *View)
 
FRDGBufferGetAsBuffer (FRDGViewableResource *Resource)
 
FRDGTextureGetAsTexture (FRDGViewableResource *Resource)
 
FRDGBufferUAVGetAsBufferUAV (FRDGView *View)
 
FRDGBufferSRVGetAsBufferSRV (FRDGView *View)
 
FRDGTextureUAVGetAsTextureUAV (FRDGView *View)
 
FRDGTextureSRVGetAsTextureSRV (FRDGView *View)
 
FGraphicsPipelineRenderTargetsInfo ExtractRenderTargetsInfo (const FRDGParameterStruct &ParameterStruct)
 
FGraphicsPipelineRenderTargetsInfo ExtractRenderTargetsInfo (const FRenderTargetBindingSlots &RenderTargets)
 

Typedef Documentation

◆ FRDGProducerStatesByPipeline

◆ FRDGTextureSubresourceState

Enumeration Type Documentation

◆ ERDGBarrierLocation

enum class ERDGBarrierLocation : uint8
strong

Barrier location controls where the barrier is 'Ended' relative to the pass lambda being executed. Most barrier locations are done in the prologue prior to the executing lambda. But certain cases like an aliasing discard operation need to be done after the pass being invoked. Therefore, when adding a transition the user can specify where to place the barrier.

Enumerator
Prologue 

The barrier occurs in the prologue of the pass (before execution).

Epilogue 

The barrier occurs in the epilogue of the pass (after execution).

Function Documentation

◆ ExtractRenderTargetsInfo() [1/2]

FGraphicsPipelineRenderTargetsInfo ExtractRenderTargetsInfo ( const FRDGParameterStruct ParameterStruct)
inline

◆ ExtractRenderTargetsInfo() [2/2]

FGraphicsPipelineRenderTargetsInfo ExtractRenderTargetsInfo ( const FRenderTargetBindingSlots RenderTargets)
inline

◆ GetAs() [1/2]

template<typename ViewType >
ViewType * GetAs ( FRDGView View)
inline

◆ GetAs() [2/2]

ViewableResourceType * GetAs ( FRDGViewableResource Resource)
inline

◆ GetAsBuffer()

FRDGBuffer * GetAsBuffer ( FRDGViewableResource Resource)
inline

◆ GetAsBufferSRV()

FRDGBufferSRV * GetAsBufferSRV ( FRDGView View)
inline

◆ GetAsBufferUAV()

FRDGBufferUAV * GetAsBufferUAV ( FRDGView View)
inline

◆ GetAsTexture()

FRDGTexture * GetAsTexture ( FRDGViewableResource Resource)
inline

◆ GetAsTextureSRV()

FRDGTextureSRV * GetAsTextureSRV ( FRDGView View)
inline

◆ GetAsTextureUAV()

FRDGTextureUAV * GetAsTextureUAV ( FRDGView View)
inline

◆ Translate() [1/3]

FRDGTextureDesc Translate ( const FPooledRenderTargetDesc InDesc)
inline

Translates from a pooled render target descriptor to an RDG texture descriptor.

◆ Translate() [2/3]

FRHIBufferCreateInfo Translate ( const FRDGBufferDesc InDesc)
inline

Translates from a RDG buffer descriptor to a RHI buffer creation info

◆ Translate() [3/3]

FPooledRenderTargetDesc Translate ( const FRHITextureDesc InDesc)
inline

Translates from an RHI/RDG texture descriptor to a pooled render target descriptor.