pub struct FrameRender<I = RenderedTexture> {
pub report: RenderReport,
pub texture: Option<I>,
}Expand description
Result of attempting to render one evaluated timeline frame.
Fields§
§report: RenderReportAvailability information collected before anything is drawn.
texture: Option<I>Rendered output, absent when one or more source frames are unavailable.
Implementations§
Source§impl<I> FrameRender<I>
impl<I> FrameRender<I>
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Returns whether a texture was rendered from a complete source set.
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for FrameRender<I>
impl<I> RefUnwindSafe for FrameRender<I>where
Option<I>: RefUnwindSafe,
impl<I> Send for FrameRender<I>
impl<I> Sync for FrameRender<I>
impl<I> Unpin for FrameRender<I>
impl<I> UnsafeUnpin for FrameRender<I>where
Option<I>: UnsafeUnpin,
impl<I> UnwindSafe for FrameRender<I>where
Option<I>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more