pub struct TrackerCapacity {
pub width: u32,
pub height: u32,
pub levels: usize,
pub window_size: usize,
pub points: usize,
}Expand description
Upper bounds for the work a tracker context will see, used to allocate
every buffer up front with with_capacity or reserve of
TrackerContext and FloatTrackerContext.
Fields§
§width: u32Frame width in pixels.
height: u32Frame height in pixels.
levels: usizePyramid levels passed to prepare / advance.
window_size: usizeLargest window_size passed to track / track_fb.
points: usizeMost points per track / track_fb call.
Trait Implementations§
Source§impl Clone for TrackerCapacity
impl Clone for TrackerCapacity
impl Copy for TrackerCapacity
Source§impl Debug for TrackerCapacity
impl Debug for TrackerCapacity
Source§impl Default for TrackerCapacity
impl Default for TrackerCapacity
impl Eq for TrackerCapacity
Source§impl PartialEq for TrackerCapacity
impl PartialEq for TrackerCapacity
impl StructuralPartialEq for TrackerCapacity
Auto Trait Implementations§
impl Freeze for TrackerCapacity
impl RefUnwindSafe for TrackerCapacity
impl Send for TrackerCapacity
impl Sync for TrackerCapacity
impl Unpin for TrackerCapacity
impl UnsafeUnpin for TrackerCapacity
impl UnwindSafe for TrackerCapacity
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