Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderTargetPool.h |
Include |
#include "RenderTargetPool.h" |
Source |
/Engine/Source/Runtime/RenderCore/Private/RenderTargetPool.cpp |
bool FindFreeElement
(
FRHICommandList & RHICmdList,
const FPooledRenderTargetDesc & Desc,
TRefCountPtr< IPooledRenderTarget > & Out,
const TCHAR * InDebugName,
bool bDoWritableBarrier,
ERenderTargetTransience TransienceHint,
bool bDeferTextureAllocation
)
true if the old element was still valid, false if a new one was assigned
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 |