![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ResourcePool.h>
Inheritance diagram for TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >:A resource pool that automatically handles render-thread resources
|
inline |
Constructor
|
inline |
Constructor with policy argument
| InPolicy | An initialised policy object |
|
inlinevirtual |
Destructor
|
inline |
Creates a pooled resource.
| Args | the argument object for construction. |
|
inline |
|
inlineoverridevirtual |
Initializes the RHI resources used by this resource. Called when entering the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
|
inlineoverridevirtual |
Pure virtual that must be overloaded by the inheriting class. It is used to determine whether an object is ready to be ticked. This is required for example for all UObject derived classes as they might be loaded async and therefore won't be ready immediately.
Implements FTickableObjectRenderThread.
|
inlineoverridevirtual |
Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function.
Reimplemented from FTickableObjectRenderThread.
|
inline |
Release a resource back into the pool.
| Resource | The resource to return to the pool |
|
inlineoverridevirtual |
Releases the RHI resources used by this resource. Called when leaving the state where both the resource and the RHI have been initialized. This is only called by the rendering thread.
Reimplemented from FRenderResource.
|
inlineoverridevirtual |
Pure virtual that must be overloaded by the inheriting class. It will be called from the rendering thread.
| DeltaTime | Game time passed since the last call. |
Implements FTickableObjectRenderThread.