Back to Filament

jobSystemThreadCount

docs/android/dokka/filament-android/com.google.android.filament/-engine/-config/job-system-thread-count.md

1.75.0820 B
Original Source

//filament-android/com.google.android.filament/Engine/Config/jobSystemThreadCount

jobSystemThreadCount

[main]
open var jobSystemThreadCount: Long

Number of threads to use in Engine's JobSystem. Engine uses a utils::JobSystem to carry out paralleization of Engine workloads. This value sets the number of threads allocated for JobSystem. Configuring this value can be helpful in CPU-constrained environments where too many threads can cause contention of CPU and reduce performance. The default value is 0, which implies that the Engine will use a heuristic to determine the number of threads to use.