Add multi-threaded scene rendering with Job System
This commit is contained in:
@@ -369,3 +369,12 @@ void JobSystem::SetJobStartingOnDispatch(bool value)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int32 JobSystem::GetThreadsCount()
|
||||
{
|
||||
#if JOB_SYSTEM_ENABLED
|
||||
return ThreadsCount;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user