pub enum RenderLoop {
RequestDriven,
FreeRunning,
}Expand description
When a render sender’s application renders its frames (QarRenderLoop),
declared through QarRenderSenderRenderLoopExt.
Variants§
RequestDriven
The application renders a frame when the receiver asks: begin-frame waits for the receiver’s render request and renders for the display time it names. The sender chains no extension.
FreeRunning
The application renders from a loop of its own, at its own rate, and
polls RenderSender::try_begin_owned_frame: begin-frame waits only
for the receiver to have a destination ready, and the view poses are
predicted from the newest head pose for when the frame will be shown.
Trait Implementations§
Source§impl Clone for RenderLoop
impl Clone for RenderLoop
impl Copy for RenderLoop
Source§impl Debug for RenderLoop
impl Debug for RenderLoop
Source§impl Default for RenderLoop
impl Default for RenderLoop
impl Eq for RenderLoop
Source§impl Hash for RenderLoop
impl Hash for RenderLoop
Source§impl PartialEq for RenderLoop
impl PartialEq for RenderLoop
impl StructuralPartialEq for RenderLoop
Auto Trait Implementations§
impl Freeze for RenderLoop
impl RefUnwindSafe for RenderLoop
impl Send for RenderLoop
impl Sync for RenderLoop
impl Unpin for RenderLoop
impl UnsafeUnpin for RenderLoop
impl UnwindSafe for RenderLoop
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