| TResourcePool | ||||||
| FTickableObjectRenderThread | ||||||
| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ResourcePool.h |
Include |
#include "ResourcePool.h" |
template<typename ResourceType, class ResourcePoolPolicy, class ResourceCreationArguments>
class TRenderResourcePool :
public TResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >,
public FTickableObjectRenderThread,
public FRenderResource
A resource pool that automatically handles render-thread resources
Name | Description | |
---|---|---|
|
TRenderResourcePool() |
Constructor |
|
TRenderResourcePool ( |
Constructor with policy argument |
Name | Description | |
---|---|---|
|
~TRenderResourcePool() |
Destructor |
Name | Description | ||
---|---|---|---|
|
ResourceType |
CreatePooledResource ( |
Creates a pooled resource. |
|
ReleasePooledResource ( |
Release a resource back into the pool. |
Name | Description | ||
---|---|---|---|
|
IsTickable() |
Pure virtual that must be overloaded by the inheriting class. |
|
|
NeedsRenderingResumedForRenderingThreadTick() |
Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function. |
|
|
Tick ( |
Pure virtual that must be overloaded by the inheriting class. |
Name | Description | ||
---|---|---|---|
|
InitRHI() |
Initializes the RHI resources used by this resource. |
|
|
ReleaseRHI() |
Releases the RHI resources used by this resource. |