| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/RenderCore/Public/RenderTargetPool.h |
Include |
#include "RenderTargetPool.h" |
class FRenderTargetPool : public FRenderResource
Encapsulates the render targets pools that allows easy sharing (mostly used on the render thread side)
Name | Description | |
---|---|---|
|
FRenderTargetPool() |
Name | Description | ||
---|---|---|---|
|
AddPhaseEvent ( |
||
|
CreateUntrackedElement ( |
||
|
DestructSnapshots() |
Destruct all snapshots, this must be done after all outstanding async tasks are done. |
|
|
DisableEventDisplay() |
||
|
DumpMemoryUsage ( |
Logs out usage information. |
|
|
FindFreeElement ( |
||
|
FindIndex ( |
||
|
FreeUnusedResource ( |
Allows to remove a resource so it cannot be shared and gets released immediately instead a/some frame[s] later. |
|
|
FreeUnusedResources() |
Good to call between levels or before memory intense operations. |
|
|
FPooledRende... |
GetElementById ( |
For debugging purpose, assumes you call FlushRenderingCommands() be |
|
GetElementCount() |
||
|
GetStats |
Only to get statistics on usage and free elements. |
|
|
IsEventRecordingEnabled() |
||
|
IPooledRende... |
MakeSnapshot ( |
Destruct all snapshots, this must be done after all outstanding async tasks are done. |
|
OnRenderTargetUnreferenced ( |
||
|
SetEventRecordingActive ( |
To not have event recording for some time during rendering (e.g. thumbnail rendering) |
|
|
SetObserveTarget |
||
|
TickPoolElements() |
Can release RT, should be called once per frame. call from RenderThread only |
|
|
TransitionTargetsWritable ( |
Transitions all targets in the pool to writable. |
|
|
UpdateElementSize ( |
Name | Description | ||
---|---|---|---|
|
ReleaseDynamicRHI() |
Free renderer resources |