Navigation
API > API/Runtime > API/Runtime/Engine
Used to specify how many times work should be executed as part of a sync point
| Name | UE::Tick::ESyncWorkRepetition |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/TaskSyncManager.h |
| Include Path | #include "TaskSyncManager.h" |
Syntax
namespace UE
{
namespace Tick
{
enum ESyncWorkRepetition
{
Never,
Once,
EveryFrame,
}
}
}
Values
| Name | Remarks |
|---|---|
| Never | Do not perform this work, used to cancel previous requests |
| Once | Work will be reserved or requested once per call to this function, and will reset for the next frame |
| EveryFrame | Work will be reserved or requested once every frame until it is abandoned, including the current frame if possible |