Struct webrender::render_task_graph::Pass
source · pub struct Pass {
pub task_ids: Vec<RenderTaskId>,
pub sub_passes: Vec<SubPass>,
pub textures_to_invalidate: Vec<CacheTextureId>,
}
Expand description
A pass expresses dependencies between tasks. Each pass consists of a number of subpasses.
Fields§
§task_ids: Vec<RenderTaskId>
The tasks assigned to this render pass
sub_passes: Vec<SubPass>
The subpasses that make up this dependency pass
textures_to_invalidate: Vec<CacheTextureId>
A list of intermediate surfaces that can be invalidated after this pass completes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pass
impl RefUnwindSafe for Pass
impl Send for Pass
impl Sync for Pass
impl Unpin for Pass
impl UnwindSafe for Pass
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
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