This class provides common registration for render thread tickable objects. 更多...
#include <TickableObjectRenderThread.h>
类 FTickableObjectRenderThread 继承关系图:类 | |
| struct | FRenderingThreadTickableObjectsArray |
| Static array of tickable objects that are ticked from rendering thread 更多... | |
Public 成员函数 | |
| FTickableObjectRenderThread (bool bRegisterImmediately=true, bool bInHighFrequency=false) | |
| Registers this instance with the static array of tickable objects. 更多... | |
| virtual TStatId | GetStatId () const =0 |
| return the stat id to use for this tickable | |
| virtual bool | IsTickable () const =0 |
| Pure virtual that must be overloaded by the inheriting class. 更多... | |
| virtual bool | NeedsRenderingResumedForRenderingThreadTick () const |
| Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function. 更多... | |
| void | Register (bool bIsRenderingThreadObject=false) |
| Registers the object for ticking. 更多... | |
| virtual void | Tick (float DeltaTime)=0 |
| Pure virtual that must be overloaded by the inheriting class. 更多... | |
| virtual | ~FTickableObjectRenderThread () |
| Removes this instance from the static array of tickable objects. | |
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. |
|
pure virtual |
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.
在 FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.
|
inlinevirtual |
Used to determine if a rendering thread tickable object must have rendering in a non-suspended state during it's Tick function.
被 FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments > , 以及 TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments > 重载.
|
inline |
Registers the object for ticking.
| bIsRenderingThreadObject | true if this object is owned by the rendering thread. |
|
pure virtual |
Pure virtual that must be overloaded by the inheriting class.
It will be called from within LevelTick.cpp after ticking all actors or from the rendering thread (depending on bIsRenderingThreadObject)
| DeltaTime | Game time passed since the last call. |
在 FShaderPipelineCache, TRenderResourcePool< ResourceType, ResourcePoolPolicy, ResourceCreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FBoneBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TRenderResourcePool< FVertexBufferAndSRV, FClothBufferPoolPolicy, FSharedPoolPolicyData::CreationArguments >, TXRLoadingScreenBase< SplashType > , 以及 TXRLoadingScreenBase< FSplashData > 内被实现.