namespace ENamedThreads { enum Type { UnusedAnchor = -1, RHIThread, GameThread, ActualRenderingThread = GameThread + 1, AnyThread = 0xff, MainQueue = 0x000, LocalQueue = 0x100, NumQueues = 2, ThreadIndexMask = 0xff, QueueIndexMask = 0x100, QueueIndexShift = 8, NormalTaskPriority = 0x000, HighTaskPriority = 0x200, NumTaskPriorities = 2, TaskPriorityMask = 0x200, TaskPriorityShift = 9, NormalThreadPriority = 0x000, HighThreadPriority = 0x400, BackgroundThreadPriority = 0x800, NumThreadPriorities = 3, ThreadPriorityMask = 0xC00, ThreadPriorityShift = 10, GameThread_Local = GameThread | LocalQueue, ActualRenderingThread_Local = ActualRenderingThread | LocalQueue, AnyHiPriThreadNormalTask = AnyThread | HighThreadPriority | NormalTaskPriority, AnyHiPriThreadHiPriTask = AnyThread | HighThreadPriority | HighTaskPriority, AnyNormalThreadNormalTask = AnyThread | NormalThreadPriority | NormalTaskPriority, AnyNormalThreadHiPriTask = AnyThread | NormalThreadPriority | HighTaskPriority, AnyBackgroundThreadNormalTask = AnyThread | BackgroundThreadPriority | NormalTaskPriority, AnyBackgroundHiPriTask = AnyThread | BackgroundThreadPriority | HighTaskPriority, } }