Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
EPhysicsUpdateError.h File Reference

Go to the source code of this file.

Enumerations

enum class  EPhysicsUpdateError : uint32 { None = 0 , ManifoldCacheFull = 1 << 0 , BodyPairCacheFull = 1 << 1 , ContactConstraintsFull = 1 << 2 }
 Enum used by PhysicsSystem to report error conditions during the PhysicsSystem::Update call. This is a bit field, multiple errors can trigger in the same update. More...
 

Functions

EPhysicsUpdateError operator| (EPhysicsUpdateError inA, EPhysicsUpdateError inB)
 OR operator for EPhysicsUpdateError. More...
 
EPhysicsUpdateError operator|= (EPhysicsUpdateError &ioA, EPhysicsUpdateError inB)
 OR operator for EPhysicsUpdateError. More...
 
EPhysicsUpdateError operator& (EPhysicsUpdateError inA, EPhysicsUpdateError inB)
 AND operator for EPhysicsUpdateError. More...
 

Enumeration Type Documentation

◆ EPhysicsUpdateError

enum class EPhysicsUpdateError : uint32
strong

Enum used by PhysicsSystem to report error conditions during the PhysicsSystem::Update call. This is a bit field, multiple errors can trigger in the same update.

Enumerator
None 

No errors.

ManifoldCacheFull 

The manifold cache is full, this means that the total number of contacts between bodies is too high. Some contacts were ignored. Increase inMaxContactConstraints in PhysicsSystem::Init.

BodyPairCacheFull 

The body pair cache is full, this means that too many bodies contacted. Some contacts were ignored. Increase inMaxBodyPairs in PhysicsSystem::Init.

ContactConstraintsFull 

The contact constraints buffer is full. Some contacts were ignored. Increase inMaxContactConstraints in PhysicsSystem::Init.

Function Documentation

◆ operator&()

EPhysicsUpdateError operator& ( EPhysicsUpdateError  inA,
EPhysicsUpdateError  inB 
)
inline

AND operator for EPhysicsUpdateError.

◆ operator|()

EPhysicsUpdateError operator| ( EPhysicsUpdateError  inA,
EPhysicsUpdateError  inB 
)
inline

OR operator for EPhysicsUpdateError.

◆ operator|=()

EPhysicsUpdateError operator|= ( EPhysicsUpdateError ioA,
EPhysicsUpdateError  inB 
)
inline

OR operator for EPhysicsUpdateError.