pub struct RenderPassNodeBuilder<B: Backend, T: ?Sized> { /* private fields */ }
Expand description
Builder for render-pass node.
Implementations§
Source§impl<B, T> RenderPassNodeBuilder<B, T>
impl<B, T> RenderPassNodeBuilder<B, T>
Sourcepub fn add_subpass(&mut self, subpass: SubpassBuilder<B, T>) -> &mut Self
pub fn add_subpass(&mut self, subpass: SubpassBuilder<B, T>) -> &mut Self
Add sub-pass to the render-pass.
Sourcepub fn with_subpass(self, subpass: SubpassBuilder<B, T>) -> Self
pub fn with_subpass(self, subpass: SubpassBuilder<B, T>) -> Self
Add sub-pass to the render-pass.
Sourcepub fn add_surface(
&mut self,
surface: Surface<B>,
suggested_extent: Extent2D,
clear: Option<ClearValue>,
) -> &mut Self
pub fn add_surface( &mut self, surface: Surface<B>, suggested_extent: Extent2D, clear: Option<ClearValue>, ) -> &mut Self
Add surface to the render pass.
Sourcepub fn with_surface(
self,
surface: Surface<B>,
suggested_extent: Extent2D,
clear: Option<ClearValue>,
) -> Self
pub fn with_surface( self, surface: Surface<B>, suggested_extent: Extent2D, clear: Option<ClearValue>, ) -> Self
Add surface to the render pass.
Trait Implementations§
Source§impl<B, T> Debug for RenderPassNodeBuilder<B, T>
impl<B, T> Debug for RenderPassNodeBuilder<B, T>
Source§impl<B, T> Default for RenderPassNodeBuilder<B, T>
impl<B, T> Default for RenderPassNodeBuilder<B, T>
Auto Trait Implementations§
impl<B, T> Freeze for RenderPassNodeBuilder<B, T>
impl<B, T> !RefUnwindSafe for RenderPassNodeBuilder<B, T>
impl<B, T> !Send for RenderPassNodeBuilder<B, T>
impl<B, T> !Sync for RenderPassNodeBuilder<B, T>
impl<B, T> Unpin for RenderPassNodeBuilder<B, T>
impl<B, T> !UnwindSafe for RenderPassNodeBuilder<B, T>
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