UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Parallel.cpp File Reference

Namespaces

namespace  Chaos
 

Variables

CHAOS_API int32 Chaos::GSingleThreadedPhysics = 0
 
CHAOS_API int32 Chaos::InnerParallelForBatchSize = 0
 
CHAOS_API int32 Chaos::MinRangeBatchSize = 0
 
CHAOS_API int32 Chaos::MaxNumWorkers = 100
 
CHAOS_API int32 Chaos::SmallBatchSize = 10
 
CHAOS_API int32 Chaos::LargeBatchSize = 100
 
CHAOS_API int32 Chaos::MinParallelTaskSize = 0
 
CHAOS_API bool Chaos::bDisablePhysicsParallelFor = false
 
CHAOS_API bool Chaos::bDisableParticleParallelFor = false
 
CHAOS_API bool Chaos::bDisableCollisionParallelFor = false
 
FAutoConsoleVariableRef Chaos::CVarDisablePhysicsParallelFor (TEXT("p.Chaos.DisablePhysicsParallelFor"), bDisablePhysicsParallelFor, TEXT("Disable parallel execution in Chaos Evolution"))
 
FAutoConsoleVariableRef Chaos::CVarDisableParticleParallelFor (TEXT("p.Chaos.DisableParticleParallelFor"), bDisableParticleParallelFor, TEXT("Disable parallel execution for Chaos Particles (Collisions, "))
 
FAutoConsoleVariableRef Chaos::CVarDisableCollisionParallelFor (TEXT("p.Chaos.DisableCollisionParallelFor"), bDisableCollisionParallelFor, TEXT("Disable parallel execution for Chaos Collisions (also disabled by DisableParticleParallelFor)"))
 
FAutoConsoleVariableRef Chaos::CVarInnerPhysicsBatchSize (TEXT("p.Chaos.InnerParallelForBatchSize"), InnerParallelForBatchSize, TEXT("Set the batch size threshold for inner parallel fors"))
 
FAutoConsoleVariableRef Chaos::CVarMinRangeBatchSize (TEXT("p.Chaos.MinRangeBatchSize"), MinRangeBatchSize, TEXT("Set the min range batch size for parallel for"))
 
FAutoConsoleVariableRef Chaos::CVarMaxRangeBatchWorkers (TEXT("p.Chaos.MaxNumWorkers"), MaxNumWorkers, TEXT("Set the max number of workers for physics"))
 
FAutoConsoleVariableRef Chaos::CVarSmallBatchSize (TEXT("p.Chaos.SmallBatchSize"), SmallBatchSize, TEXT("Small batch size for chaos parallel loops"))
 
FAutoConsoleVariableRef Chaos::CVarLargeBatchSize (TEXT("p.Chaos.LargeBatchSize"), LargeBatchSize, TEXT("Large batch size for chaos parallel loops"))
 
FAutoConsoleVariableRef Chaos::CVarMinParallelTaskSize (TEXT("p.Chaos.MinParallelTaskSize"), MinParallelTaskSize, TEXT("Minimum number of tasks required to start parallel task execution on worker threads, set this higher to encourage single threaded execution"))