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

Go to the source code of this file.

Classes

class  StateRecorderFilter
 User callbacks that allow determining which parts of the simulation should be saved by a StateRecorder. More...
 
class  StateRecorder
 

Enumerations

enum class  EStateRecorderState : uint8 {
  None = 0 , Global = 1 , Bodies = 2 , Contacts = 4 ,
  Constraints = 8 , All = Global | Bodies | Contacts | Constraints
}
 A bit field that determines which aspects of the simulation to save. More...
 

Functions

JPH_SUPPRESS_WARNING_POP constexpr EStateRecorderState operator| (EStateRecorderState inLHS, EStateRecorderState inRHS)
 Bitwise OR operator for EStateRecorderState.
 
constexpr EStateRecorderState operator& (EStateRecorderState inLHS, EStateRecorderState inRHS)
 Bitwise AND operator for EStateRecorderState.
 
constexpr EStateRecorderState operator^ (EStateRecorderState inLHS, EStateRecorderState inRHS)
 Bitwise XOR operator for EStateRecorderState.
 
constexpr EStateRecorderState operator~ (EStateRecorderState inAllowedDOFs)
 Bitwise NOT operator for EStateRecorderState.
 
constexpr EStateRecorderStateoperator|= (EStateRecorderState &ioLHS, EStateRecorderState inRHS)
 Bitwise OR assignment operator for EStateRecorderState.
 
constexpr EStateRecorderStateoperator&= (EStateRecorderState &ioLHS, EStateRecorderState inRHS)
 Bitwise AND assignment operator for EStateRecorderState.
 
constexpr EStateRecorderStateoperator^= (EStateRecorderState &ioLHS, EStateRecorderState inRHS)
 Bitwise XOR assignment operator for EStateRecorderState.
 

Enumeration Type Documentation

◆ EStateRecorderState

enum class EStateRecorderState : uint8
strong

A bit field that determines which aspects of the simulation to save.

Enumerator
None 

Save nothing.

Global 

Save global physics system state (delta time, gravity, etc.)

Bodies 

Save the state of bodies.

Contacts 

Save the state of contacts.

Constraints 

Save the state of constraints.

All 

Save all state.

Function Documentation

◆ operator&()

constexpr EStateRecorderState operator& ( EStateRecorderState  inLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise AND operator for EStateRecorderState.

◆ operator&=()

constexpr EStateRecorderState & operator&= ( EStateRecorderState ioLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise AND assignment operator for EStateRecorderState.

◆ operator^()

constexpr EStateRecorderState operator^ ( EStateRecorderState  inLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise XOR operator for EStateRecorderState.

◆ operator^=()

constexpr EStateRecorderState & operator^= ( EStateRecorderState ioLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise XOR assignment operator for EStateRecorderState.

◆ operator|()

JPH_SUPPRESS_WARNING_POP constexpr EStateRecorderState operator| ( EStateRecorderState  inLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise OR operator for EStateRecorderState.

◆ operator|=()

constexpr EStateRecorderState & operator|= ( EStateRecorderState ioLHS,
EStateRecorderState  inRHS 
)
constexpr

Bitwise OR assignment operator for EStateRecorderState.

◆ operator~()

constexpr EStateRecorderState operator~ ( EStateRecorderState  inAllowedDOFs)
constexpr

Bitwise NOT operator for EStateRecorderState.