pub struct FrameGraph<'a> {
pub report: RenderReport,
pub graph: Option<RenderGraph<'a>>,
pub pending: Vec<&'a PendingSourceWork>,
}Expand description
One evaluated frame compiled into a render graph, not yet submitted.
Fields§
§report: RenderReportAvailability information collected before the graph was built.
graph: Option<RenderGraph<'a>>The frame’s graph, absent when source frames are unavailable.
pending: Vec<&'a PendingSourceWork>Unsubmitted presentation work behind the source textures, folded into the submission.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FrameGraph<'a>
impl<'a> !UnwindSafe for FrameGraph<'a>
impl<'a> Forget for FrameGraph<'a>
impl<'a> Freeze for FrameGraph<'a>where
*const u8 is !null: Freeze,
PhantomData<SourceId>: Freeze,
PhantomData<RenderNode<'a>>: Freeze,
PhantomData<RenderCacheKey>: Freeze,
PhantomData<bool>: Freeze,
PhantomData<Option<CacheIntent>>: Freeze,
PhantomData<&'a PendingSourceWork>: Freeze,
impl<'a> Move for FrameGraph<'a>
impl<'a> Send for FrameGraph<'a>
impl<'a> Sync for FrameGraph<'a>where
RawVecInner: Sync,
Arc<CoreTextureView>: Sync,
Arc<CoreTexture>: Sync,
InternalBitFlags: Sync,
Arc<SourceInner>: Sync,
Arc<str>: Sync,
String: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
Arc<VectorScene>: Sync,
Mutex<Option<SourceWork>>: Sync,
Atomic<bool>: Sync,
impl<'a> Unpin for FrameGraph<'a>
impl<'a> UnsafeUnpin for FrameGraph<'a>where
*const u8 is !null: UnsafeUnpin,
PhantomData<SourceId>: UnsafeUnpin,
PhantomData<RenderNode<'a>>: UnsafeUnpin,
PhantomData<RenderCacheKey>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<Option<CacheIntent>>: UnsafeUnpin,
PhantomData<&'a PendingSourceWork>: UnsafeUnpin,
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