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

Namespaces

namespace  Chaos
 
namespace  Chaos::CVars
 
namespace  Chaos::Private
 

Functions

 DECLARE_CYCLE_STAT (TEXT("Chaos::SolveConstraints"), STAT_SolveConstraints, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Gather"), STAT_Evolution_Gather, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Scatter"), STAT_Evolution_Scatter, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase1"), STAT_Evolution_ApplyConstraintsPhase1, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase2"), STAT_Evolution_ApplyConstraintsPhase2, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase3"), STAT_Evolution_ApplyConstraintsPhase3, STATGROUP_ChaosConstraintSolver)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Gather::Prepare"), STAT_Evolution_Gather_Prepare, STATGROUP_ChaosConstraintDetails)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Gather::Bodies"), STAT_Evolution_Gather_Bodies, STATGROUP_ChaosConstraintDetails)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Gather::Constraints"), STAT_Evolution_Gather_Constraints, STATGROUP_ChaosConstraintDetails)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Scatter::Bodies"), STAT_Evolution_Scatter_Bodies, STATGROUP_ChaosConstraintDetails)
 
 DECLARE_CYCLE_STAT (TEXT("FPBDRigidsEvolutionGBF::Scatter::Constraints"), STAT_Evolution_Scatter_Constraints, STATGROUP_ChaosConstraintDetails)
 

Variables

int32 Chaos::CVars::GIslandGroupsParallelMode = 2
 
FAutoConsoleVariableRef Chaos::CVars::GCVarIslandGroupsParallelMode (TEXT("p.Chaos.Solver.IslandGroups.ParallelMode"), GIslandGroupsParallelMode, TEXT("0: Single-Threaded; 1: Parallel-For; 2: Tasks"))
 
FRealSingle Chaos::CVars::GIslandGroupsWorkerMultiplier = 1
 
FAutoConsoleVariableRef Chaos::CVars::GCVarIslandGroupsWorkerThreadMultiplier (TEXT("p.Chaos.Solver.IslandGroups.WorkerMultiplier"), GIslandGroupsWorkerMultiplier, TEXT("Total number of island groups in the solver will be NumWorkerThreads * WorkerThreadMultiplier. [def:1]"))
 
int32 Chaos::CVars::GIslandGroupsMaxWorkers = 0
 
FAutoConsoleVariableRef Chaos::CVars::GCVarIslandGroupsMaxWorkers (TEXT("p.Chaos.Solver.IslandGroups.MaxWorkers"), GIslandGroupsMaxWorkers, TEXT("The maximum number of worker threads to use (0 means unlimited)"))
 
int32 Chaos::CVars::GIslandGroupsMinConstraintsPerWorker = 50
 
FAutoConsoleVariableRef Chaos::CVars::GCVarIslandGroupsMinConstraintsPerWorker (TEXT("p.Chaos.Solver.IslandGroups.MinConstraintsPerWorker"), GIslandGroupsMinConstraintsPerWorker, TEXT("The minimum number of constraints we want per worker thread"))
 
int32 Chaos::CVars::GIslandGroupsMinBodiesPerWorker = 50
 
FAutoConsoleVariableRef Chaos::CVars::GCVarIslandGroupsMinBodiesPerWorker (TEXT("p.Chaos.Solver.IslandGroups.MinBodiesPerWorker"), GIslandGroupsMinBodiesPerWorker, TEXT("The minimum number of bodies we want per worker thread"))
 

Function Documentation

◆ DECLARE_CYCLE_STAT() [1/11]

DECLARE_CYCLE_STAT ( TEXT("Chaos::SolveConstraints")  ,
STAT_SolveConstraints  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [2/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase1")  ,
STAT_Evolution_ApplyConstraintsPhase1  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [3/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase2")  ,
STAT_Evolution_ApplyConstraintsPhase2  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [4/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::ApplyConstraintsPhase3")  ,
STAT_Evolution_ApplyConstraintsPhase3  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [5/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Gather")  ,
STAT_Evolution_Gather  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [6/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Gather::Bodies")  ,
STAT_Evolution_Gather_Bodies  ,
STATGROUP_ChaosConstraintDetails   
)

◆ DECLARE_CYCLE_STAT() [7/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Gather::Constraints")  ,
STAT_Evolution_Gather_Constraints  ,
STATGROUP_ChaosConstraintDetails   
)

◆ DECLARE_CYCLE_STAT() [8/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Gather::Prepare")  ,
STAT_Evolution_Gather_Prepare  ,
STATGROUP_ChaosConstraintDetails   
)

◆ DECLARE_CYCLE_STAT() [9/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Scatter")  ,
STAT_Evolution_Scatter  ,
STATGROUP_ChaosConstraintSolver   
)

◆ DECLARE_CYCLE_STAT() [10/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Scatter::Bodies")  ,
STAT_Evolution_Scatter_Bodies  ,
STATGROUP_ChaosConstraintDetails   
)

◆ DECLARE_CYCLE_STAT() [11/11]

DECLARE_CYCLE_STAT ( TEXT("FPBDRigidsEvolutionGBF::Scatter::Constraints")  ,
STAT_Evolution_Scatter_Constraints  ,
STATGROUP_ChaosConstraintDetails   
)