Exemplo n.º 1
0
 /// <summary>
 /// Checks whether the application should run multi-threaded for performance critical features.
 ///
 /// This method is used for performance based threads (like rendering, task graph).
 /// This will not disable async IO or similar threads needed to disable hitching
 /// </summary>
 /// <returns>true if this isn't a server, has more than one core, does not have a -onethread command line options, etc.</returns>
 public static bool ShouldUseThreadingForPerformance()
 {
     return(Native_FApp.ShouldUseThreadingForPerformance());
 }