FPooledRenderTarget

The reference to a pooled render target, use like this: [TRefCountPtr](API\Runtime\Core\Templates\TRefCountPtr)

Windows
MacOS
Linux

Inheritance Hierarchy

IPooledRenderTarget

FPooledRenderTarget

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RenderTargetPool.h

Include

#include "RenderTargetPool.h"

Syntax

struct FPooledRenderTarget : public IPooledRenderTarget

Remarks

The reference to a pooled render target, use like this: TRefCountPtr<IPooledRenderTarget>

Variables

Name Description

Public variable

FVRamAllocation

 

VRamAllocation

Todo private:

Constructors

Name Description

Public function

FPooledRenderTarget

(
    const FPooledRenderTarget& Snaphot...
)

Constructor that makes a snapshot

Public function

FPooledRenderTarget

(
    const FPooledRenderTargetDesc& InD...,
    FRenderTargetPool* InRenderTar...
)

Destructors

Name Description

Public function Virtual

~FPooledRenderTarget()

Functions

Overridden from IPooledRenderTarget

Name Description

Public function Virtual Const

uint32

 

AddRef()

Refcounting.

Public function Virtual Const

uint32

 

ComputeMemorySize()

Only for debugging purpose

Public function Virtual Const

const FPoole...

 

GetDesc()

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

Public function Virtual Const

uint32

 

GetRefCount()

Public function Virtual Const

bool

 

IsFree()

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

Public function Virtual Const

bool

 

IsTracked()

Returns if the render target is tracked by a pool.

Public function Virtual

uint32

 

Release()

Public function Virtual

void

 

SetDebugName

(
    const TCHAR* InName
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss