pub struct Counters {Show 20 fields
pub body_count: i32,
pub shape_count: i32,
pub contact_count: i32,
pub joint_count: i32,
pub island_count: i32,
pub stack_used: i32,
pub arena_capacity: i32,
pub static_tree_height: i32,
pub tree_height: i32,
pub sat_call_count: i32,
pub sat_cache_hit_count: i32,
pub byte_count: i32,
pub task_count: i32,
pub color_counts: [i32; 24],
pub manifold_counts: [i32; 8],
pub awake_contact_count: i32,
pub recycled_contact_count: i32,
pub distance_iterations: i32,
pub push_back_iterations: i32,
pub root_iterations: i32,
}Expand description
World counters reported by Box3D for diagnostics and tests.
Fields§
§body_count: i32Number of live bodies.
shape_count: i32Number of live shapes.
contact_count: i32Number of live contacts.
joint_count: i32Number of live joints.
island_count: i32Number of solver islands.
stack_used: i32Stack memory used by Box3D.
arena_capacity: i32Arena memory capacity.
static_tree_height: i32Static broad-phase tree height.
tree_height: i32Dynamic broad-phase tree height.
sat_call_count: i32Number of separating-axis test calls.
sat_cache_hit_count: i32Number of separating-axis cache hits.
byte_count: i32Native byte count reported by Box3D.
task_count: i32Number of native tasks scheduled by the last step.
color_counts: [i32; 24]Solver graph color distribution.
manifold_counts: [i32; 8]Contact manifold point-count distribution.
awake_contact_count: i32Number of awake contacts.
recycled_contact_count: i32Number of recycled contacts.
distance_iterations: i32Distance solver iteration count.
push_back_iterations: i32Push-back solver iteration count.
root_iterations: i32Root solver iteration count.
Implementations§
Trait Implementations§
impl Copy for Counters
impl Eq for Counters
impl StructuralPartialEq for Counters
Auto Trait Implementations§
impl Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more