UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IPooledRenderTarget Struct Referenceabstract

#include <RendererInterface.h>

+ Inheritance diagram for IPooledRenderTarget:

Public Member Functions

virtual ~IPooledRenderTarget ()
 
virtual bool IsFree () const =0
 
virtual const FPooledRenderTargetDescGetDesc () const =0
 
virtual uint32 ComputeMemorySize () const =0
 
virtual bool IsTracked () const =0
 
virtual FRHITransientTextureGetTransientTexture () const
 
virtual uint32 AddRef () const =0
 
virtual uint32 Release ()=0
 
virtual uint32 GetRefCount () const =0
 
FRHITextureGetRHI () const
 

Protected Attributes

FSceneRenderTargetItem RenderTargetItem
 

Detailed Description

Render thread side, use TRefCountPtr<IPooledRenderTarget>, allows sharing and VisualizeTexture

Constructor & Destructor Documentation

◆ ~IPooledRenderTarget()

virtual IPooledRenderTarget::~IPooledRenderTarget ( )
inlinevirtual

Member Function Documentation

◆ AddRef()

virtual uint32 IPooledRenderTarget::AddRef ( ) const
pure virtual

◆ ComputeMemorySize()

virtual uint32 IPooledRenderTarget::ComputeMemorySize ( ) const
pure virtual

Only for debugging purpose

Returns
in bytes

Implemented in FRDGTransientRenderTarget, and FPooledRenderTarget.

◆ GetDesc()

virtual const FPooledRenderTargetDesc & IPooledRenderTarget::GetDesc ( ) const
pure virtual

Get all the data that is needed to create the render target.

Implemented in FRDGTransientRenderTarget, and FPooledRenderTarget.

◆ GetRefCount()

virtual uint32 IPooledRenderTarget::GetRefCount ( ) const
pure virtual

◆ GetRHI()

FRHITexture * IPooledRenderTarget::GetRHI ( ) const
inline

◆ GetTransientTexture()

virtual FRHITransientTexture * IPooledRenderTarget::GetTransientTexture ( ) const
inlinevirtual

Returns a transient texture if this is a container for one.

Reimplemented in FRDGTransientRenderTarget.

◆ IsFree()

virtual bool IPooledRenderTarget::IsFree ( ) const
pure virtual

Checks if the reference count indicated that the rendertarget is unused and can be reused.

Implemented in FRDGTransientRenderTarget, and FPooledRenderTarget.

◆ IsTracked()

virtual bool IPooledRenderTarget::IsTracked ( ) const
pure virtual

Returns if the render target is tracked by a pool.

Implemented in FRDGTransientRenderTarget, and FPooledRenderTarget.

◆ Release()

virtual uint32 IPooledRenderTarget::Release ( )
pure virtual

Member Data Documentation

◆ RenderTargetItem

FSceneRenderTargetItem IPooledRenderTarget::RenderTargetItem
protected

The internal references to the created render target


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