Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/FRenderTargetPool > API/Runtime/RenderCore/FRenderTargetPool/FindFreeElement
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderTargetPool.h |
| Include | #include "RenderTargetPool.h" |
bool FindFreeElement
&40;
FRHICommandList & RHICmdList,
const FPooledRenderTargetDesc & Desc,
TRefCountPtr< IPooledRenderTarget > & Out,
const TCHAR &42; InDebugName
&41;
true if the old element was still valid, false if a new one was assigned
Parameters
| Name | 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 |