Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Attributes | List of all members
box2d::StepStats Struct Reference

Per-step statistics. More...

#include <StepStats.hpp>

Public Attributes

PreStepStats pre
 Pre-phase step statistics. More...
 
RegStepStats reg
 Reg-phase step statistics. More...
 
ToiStepStats toi
 TOI-phase step statistics. More...
 

Detailed Description

Per-step statistics.

These are statistics output from the World::Step method.

Note
Efficient transfer of this data is predicated on compiler support for "return-value-optimization" - a form of "copy-elision".
See also
World::Step.
https://en.wikipedia.org/wiki/Return_value_optimization
http://en.cppreference.com/w/cpp/language/copy_elision

Member Data Documentation

◆ pre

PreStepStats box2d::StepStats::pre

Pre-phase step statistics.

◆ reg

RegStepStats box2d::StepStats::reg

Reg-phase step statistics.

◆ toi

ToiStepStats box2d::StepStats::toi

TOI-phase step statistics.


The documentation for this struct was generated from the following file: