Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- FRenderResource
- FRenderTargetPool
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/RenderTargetPool.h |
| Include | #include "RenderTargetPool.h" |
Syntax
class FRenderTargetPool : public FRenderResource
Remarks
Encapsulates the render targets pools that allows easy sharing (mostly used on the render thread side)
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CreateUntrackedElement
(
const FPooledRenderTargetDesc& Desc, |
||
| void | DumpMemoryUsage
(
FOutputDevice& OutputDevice |
Logs out usage information. | |
| TRefCountPtr< IPooledRenderTarget > | FindFreeElement
(
FRHITextureCreateInfo Desc, |
||
| bool | FindFreeElement
(
const FRHITextureCreateInfo& Desc, |
||
| bool | FindFreeElement
(
FRHICommandList& RHICmdList, |
||
| int32 | FindIndex
(
IPooledRenderTarget* In |
||
| void | FreeUnusedResource
(
TRefCountPtr< IPooledRenderTarget >& In |
Allows to remove a resource so it cannot be shared and gets released immediately instead a/some frame[s] later. | |
| void | Good to call between levels or before memory intense operations. | ||
| FPooledRenderTarget * | GetElementById
(
uint32 Id |
For debugging purpose, assumes you call FlushRenderingCommands() be | |
| uint32 | |||
| void | GetStats
(
uint32& OutWholeCount, |
Only to get statistics on usage and free elements. | |
| void | Can release RT, should be called once per frame. call from RenderThread only |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseRHI () |
Free renderer resources |