This class provides a framework for loading and unloading the texture/mesh LODs.
更多...
|
| virtual void | Abort () |
| | Cancel the current update. 更多...
|
| |
|
ETaskState | DoLock () |
| | Perform a lock on the object, preventing any other thread from processing a pending task in Tick().
|
| |
|
void | DoUnlock (ETaskState PreviousTaskState) |
| | Release any lock on the object, allowing other thread to modify it.
|
| |
|
virtual EThreadType | GetRelevantThread () const =0 |
| | Return the thread relevant to the next step of execution.
|
| |
| bool | IsCancelled () const |
| | Returns whether the task was aborted through Abort() or cancelled. 更多...
|
| |
|
bool | IsCompleted () const |
| | Returns whether the task has finished executing and there is no other thread possibly accessing it.
|
| |
| ENGINE_API void | Tick (EThreadType InCurrentThread) |
| | Do or schedule any pending work for a given texture. 更多...
|
| |
|
|
bool | bDeferExecution |
| | Defer execution even if a task pushes a new task on the same thread.
|
| |
|
bool | bIsCancelled |
| | Whether the task has been cancelled because the update could not proceed or because the user called Abort().
|
| |
|
FCriticalSection | CS |
| | Critical Section.
|
| |
|
const FStreamableRenderResourceState | ResourceState |
| | The streamable state requested.
|
| |
|
int32 | ScheduledAsyncTasks |
| | Number of Ticks scheduled on async tasks.
|
| |
|
int32 | ScheduledGTTasks |
| | Number of Ticks scheduled on the game thread.
|
| |
|
int32 | ScheduledRenderTasks |
| | Number of Ticks scheduled on the render thread.
|
| |
|
const UStreamableRenderAsset * | StreamableAsset = nullptr |
| | The asset updated
|
| |
|
volatile ETaskState | TaskState |
| | The state of the work yet to be performed to complete the update or cancelation.
|
| |
|
FThreadSafeCounter | TaskSynchronization |
| | Synchronization used for trigger the task next step execution.
|
| |
This class provides a framework for loading and unloading the texture/mesh LODs.
Each thread essentially calls Tick() until the job is done. The object can be safely deleted when IsCompleted() returns true.