engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FNullGraphTask类 参考

FNullGraphTask is a task that does nothing. 更多...

#include <TaskGraphInterfaces.h>

+ 类 FNullGraphTask 继承关系图:

Public 成员函数

void DoTask (ENamedThreads::Type CurrentThread, const FGraphEventRef &MyCompletionGraphEvent)
 Actually execute the task. 更多...
 
 FNullGraphTask (const TStatId &StatId, ENamedThreads::Type InDesiredThread)
 Constructor 更多...
 
ENamedThreads::Type GetDesiredThread ()
 Retrieve the thread that this task wants to run on. 更多...
 
- Public 成员函数 继承自 FCustomStatIDGraphTaskBase
 FCustomStatIDGraphTaskBase (const TStatId &StatId)
 Constructor. 更多...
 
FORCEINLINE TStatId GetStatId () const
 Gets stat id for this task. 更多...
 

详细描述

FNullGraphTask is a task that does nothing.

It can be used to "gather" tasks into one prerequisite.

构造及析构函数说明

◆ FNullGraphTask()

FNullGraphTask::FNullGraphTask ( const TStatId &  StatId,
ENamedThreads::Type  InDesiredThread 
)
inline

Constructor

参数
StatIdThe stat id for this task.
InDesiredThread;Thread to run on, can be ENamedThreads::AnyThread

成员函数说明

◆ DoTask()

void FNullGraphTask::DoTask ( ENamedThreads::Type  CurrentThread,
const FGraphEventRef &  MyCompletionGraphEvent 
)
inline

Actually execute the task.

参数
CurrentThread;the thread we are running on
MyCompletionGraphEvent;my completion event. Not always useful since at the end of DoWork, you can assume you are done and hence further tasks do not need you as a prerequisite. However, MyCompletionGraphEvent can be useful for passing to other routines or when it is handy to set up subsequents before you actually do work.

◆ GetDesiredThread()

ENamedThreads::Type FNullGraphTask::GetDesiredThread ( )
inline

Retrieve the thread that this task wants to run on.

返回
the thread that this task should run on.

该类的文档由以下文件生成: