![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TickableObjectRenderThread.h>
Inheritance diagram for FTickableObjectRenderThread:Classes | |
| struct | FRenderingThreadTickableObjectsArray |
Public Member Functions | |
| FTickableObjectRenderThread (bool bRegisterImmediately=true, bool bInHighFrequency=false) | |
| virtual | ~FTickableObjectRenderThread () |
| void | Unregister () |
| void | Register () |
| void | Register (bool bIsRenderingThreadObject) |
| virtual void | Tick (FRHICommandListImmediate &RHICmdList, float DeltaTime)=0 |
| virtual TStatId | GetStatId () const =0 |
| virtual bool | IsTickable () const =0 |
| virtual bool | NeedsRenderingResumedForRenderingThreadTick () const |
This class provides common registration for render thread tickable objects. It is an abstract base class requiring you to implement the Tick() method.
|
inline |
Registers this instance with the static array of tickable objects.
| bRegisterImmediately | true if the object should be registered immediately. |
|
inlinevirtual |
Removes this instance from the static array of tickable objects.
return the stat id to use for this tickable
Implemented in FShaderPipelineCache, FGlobalDynamicMeshIndexPool, FGlobalDynamicMeshVertexPool, FBoneBufferPool, FClothBufferPool, and FDefaultGameMoviePlayer.
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.
Implemented in FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshIndexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshVertexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, and FDefaultGameMoviePlayer.
|
inlinevirtual |
Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function.
Reimplemented in FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshIndexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshVertexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, and TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >.
|
inline |
Registers the object for ticking.
|
pure virtual |
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. |
Implemented in FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshIndexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FBufferRHIRef, FGlobalDynamicMeshVertexPolicy, FGlobalDynamicMeshPoolPolicy::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, and FDefaultGameMoviePlayer.
|
inline |
|
static |
|
static |
Static array of tickable objects that are ticked from rendering thread