FRenderTargetPool::FindFreeElement

Windows
MacOS
Linux

References

Module

RenderCore

Header

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

Include

#include "RenderTargetPool.h"

Source

/Engine/Source/Runtime/RenderCore/Private/RenderTargetPool.cpp

Syntax

bool FindFreeElement
(
    FRHICommandList & RHICmdList,
    const FPooledRenderTargetDesc & Desc,
    TRefCountPtr< IPooledRenderTarget > & Out,
    const TCHAR * InDebugName,
    bool bDoWritableBarrier,
    ERenderTargetTransience TransienceHint,
    bool bDeferTextureAllocation
)

Returns

true if the old element was still valid, false if a new one was assigned

Parameters

Parameter

Description

DebugName

must not be 0, we only store the pointer

Out

is not the return argument to avoid double allocation because of wrong reference counting call from RenderThread only

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