pub struct SimPresentFrame { /* private fields */ }Expand description
Per-present execution outcome emitted by FixedTimestep3DSession separating fixed simulation steps from presentation interpolation.
Implementations§
Source§impl SimPresentFrame
impl SimPresentFrame
pub fn get_fixed_steps_run(&self) -> u32
pub fn get_mut_fixed_steps_run(&mut self) -> &mut u32
pub fn set_fixed_steps_run(&mut self, val: u32) -> &mut Self
pub fn get_render_alpha(&self) -> f32
pub fn get_mut_render_alpha(&mut self) -> &mut f32
pub fn set_render_alpha(&mut self, val: f32) -> &mut Self
pub fn get_fixed_dt_secs(&self) -> f32
pub fn get_mut_fixed_dt_secs(&mut self) -> &mut f32
pub fn set_fixed_dt_secs(&mut self, val: f32) -> &mut Self
pub fn get_present_dt_secs(&self) -> f32
pub fn get_mut_present_dt_secs(&mut self) -> &mut f32
pub fn set_present_dt_secs(&mut self, val: f32) -> &mut Self
pub fn get_interpolated_only(&self) -> bool
pub fn get_mut_interpolated_only(&mut self) -> &mut bool
pub fn set_interpolated_only(&mut self, val: bool) -> &mut Self
pub fn get_clamped_substeps(&self) -> bool
pub fn get_mut_clamped_substeps(&mut self) -> &mut bool
pub fn set_clamped_substeps(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for SimPresentFrame
impl Clone for SimPresentFrame
impl Copy for SimPresentFrame
Source§impl Debug for SimPresentFrame
impl Debug for SimPresentFrame
Source§impl Default for SimPresentFrame
impl Default for SimPresentFrame
Source§impl PartialEq for SimPresentFrame
impl PartialEq for SimPresentFrame
impl StructuralPartialEq for SimPresentFrame
Auto Trait Implementations§
impl Forget for SimPresentFrame
impl Freeze for SimPresentFrame
impl Move for SimPresentFrame
impl RefUnwindSafe for SimPresentFrame
impl Send for SimPresentFrame
impl Sync for SimPresentFrame
impl Unpin for SimPresentFrame
impl UnsafeUnpin for SimPresentFrame
impl UnwindSafe for SimPresentFrame
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