| TResourcePool
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/ResourcePool.h |
Include |
#include "ResourcePool.h" |
template<typename ResourceType, class ResourcePoolPolicy, class ResourceCreationArguments>
class TResourcePool
A templated pool for resources that can only be freed at a 'safe' point in the frame.
Name | Description | |
---|---|---|
|
TResourcePool() |
Constructor |
|
TResourcePool ( |
Constructor with policy argument |
Name | Description | |
---|---|---|
|
~TResourcePool() |
Destructor |
Name | Description | ||
---|---|---|---|
|
ResourceType |
CreatePooledResource ( |
Creates a pooled resource. |
|
DrainPool ( |
Drain the pool of freed resources that need to be culled or prepared for reuse. |
|
|
PooledSizeForCreationArguments ( |
Gets the size a pooled object will use when constructed from the pool. |
|
|
ReleasePooledResource ( |
Release a resource back into the pool. |