UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRDGPooledTexture Class Referencefinal

#include <RenderGraphResources.h>

+ Inheritance diagram for FRDGPooledTexture:

Public Member Functions

 FRDGPooledTexture (FRHITexture *InTexture)
 
FRHIUnorderedAccessViewGetOrCreateUAV (FRHICommandListBase &RHICmdList, const FRHITextureUAVCreateInfo &UAVDesc)
 
FRHIShaderResourceViewGetOrCreateSRV (FRHICommandListBase &RHICmdList, const FRHITextureSRVCreateInfo &SRVDesc)
 
FRHIUnorderedAccessViewGetOrCreateUAV (const FRHITextureUAVCreateInfo &UAVDesc)
 
FRHIShaderResourceViewGetOrCreateSRV (const FRHITextureSRVCreateInfo &SRVDesc)
 
FRHITextureGetRHI () const
 
- Public Member Functions inherited from FRefCountBase
 FRefCountBase ()=default
 
virtual ~FRefCountBase ()=default
 
 FRefCountBase (const FRefCountBase &Rhs)=delete
 
FRefCountBaseoperator= (const FRefCountBase &Rhs)=delete
 
FReturnedRefCountValue AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 

Constructor & Destructor Documentation

◆ FRDGPooledTexture()

FRDGPooledTexture::FRDGPooledTexture ( FRHITexture InTexture)
inline

Member Function Documentation

◆ GetOrCreateSRV() [1/2]

FRHIShaderResourceView * FRDGPooledTexture::GetOrCreateSRV ( const FRHITextureSRVCreateInfo SRVDesc)
inline

◆ GetOrCreateSRV() [2/2]

FRHIShaderResourceView * FRDGPooledTexture::GetOrCreateSRV ( FRHICommandListBase RHICmdList,
const FRHITextureSRVCreateInfo SRVDesc 
)
inline

Finds a SRV matching the descriptor in the cache or creates a new one and updates the cache.

◆ GetOrCreateUAV() [1/2]

FRHIUnorderedAccessView * FRDGPooledTexture::GetOrCreateUAV ( const FRHITextureUAVCreateInfo UAVDesc)
inline

◆ GetOrCreateUAV() [2/2]

FRHIUnorderedAccessView * FRDGPooledTexture::GetOrCreateUAV ( FRHICommandListBase RHICmdList,
const FRHITextureUAVCreateInfo UAVDesc 
)
inline

Finds a UAV matching the descriptor in the cache or creates a new one and updates the cache.

◆ GetRHI()

FRHITexture * FRDGPooledTexture::GetRHI ( ) const
inline

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