NewtonGetParallelSolverOnLargeIsland

From Newton Wiki
Jump to: navigation, search

NewtonGetMultiThreadSolverOnSingleIsland

 int NewtonGetMultiThreadSolverOnSingleIsland (const NewtonWorld* newtonWorld);

Usage

Returns whether multithreading for single collision island is enabled or disabled.

Parameters

  • const NewtonWorld* newtonWorld - pointer to the Newton world.

Return

  • The current setting for multithreading on single collision island:
            0 = disabled
            1 = enabled

Description

Returns whether multithreading for single collision island is enabled or disabled.

Newton groups collision primitives into so called collision islands to increase the efficiency of the broadphase collision detection. These collision islands represent disjunct sets of possibly colliding objects.

Remarks

Added in Newton 2.0

See also

NewtonSetMultiThreadSolverOnSingleIsland