Struct webrender::render_task_graph::RenderPass
source · pub struct RenderPass {
pub alpha: RenderTargetList<AlphaRenderTarget>,
pub color: RenderTargetList<ColorRenderTarget>,
pub texture_cache: FastHashMap<CacheTextureId, TextureCacheRenderTarget>,
pub picture_cache: Vec<PictureCacheTarget>,
pub textures_to_invalidate: Vec<CacheTextureId>,
}
Expand description
A render pass represents a set of rendering operations that don’t depend on one another.
A render pass can have several render targets if there wasn’t enough space in one
target to do all of the rendering for that pass. See RenderTargetList
.
Fields§
§alpha: RenderTargetList<AlphaRenderTarget>
The subpasses that describe targets being rendered to in this pass
color: RenderTargetList<ColorRenderTarget>
§texture_cache: FastHashMap<CacheTextureId, TextureCacheRenderTarget>
§picture_cache: Vec<PictureCacheTarget>
§textures_to_invalidate: Vec<CacheTextureId>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RenderPass
impl RefUnwindSafe for RenderPass
impl Send for RenderPass
impl Sync for RenderPass
impl Unpin for RenderPass
impl UnwindSafe for RenderPass
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