Struct physx::foundation::TrackingAllocator
source · pub struct TrackingAllocator {
pub allocated: AtomicUsize,
pub deallocated: AtomicUsize,
}
Expand description
A simple tracking allocator that calls through to Rust’s GlobalAllocator. Note that it tracks the amount of space needed for storing the allocation sizes as well as the actual data.
Fields§
§allocated: AtomicUsize
§deallocated: AtomicUsize