The code documentation of ENamedThreads specifies:
// CAUTION ThreadedRenderingThread must be the last named thread, insert new named threads before it
However, there’s no
ThreadedRenderingThread, just an
ActualRenderingThread. Is that the enumerant the comment refers to?
Really? Nobody knows about this code?
Followup: This appears to be a typo in the comment, which should indeed refer to
ActualRenderingThread. The task graph system uses the value of
ActualRenderingThread to determine where named threads end and unnamed task graph threads begin. Note, however, that the value for
GameThread+1; so if you add another named thread (which seems to not be a good idea), put it before before GameThread.