[][src]Struct rendy_graph::render::SubpassBuilder

pub struct SubpassBuilder<B: Backend, T: ?Sized> { /* fields omitted */ }

Build for rendering sub-pass.

Methods

impl<B, T> SubpassBuilder<B, T> where
    B: Backend,
    T: ?Sized
[src]

pub fn new() -> Self[src]

Create new empty subpass builder.

pub fn add_group<R>(&mut self, group: R) -> &mut Self where
    R: RenderGroupBuilder<B, T> + 'static, 
[src]

Add render group to this subpass.

pub fn with_group<R>(self, group: R) -> Self where
    R: RenderGroupBuilder<B, T> + 'static, 
[src]

Add render group to this subpass.

pub fn add_dyn_group(
    &mut self,
    group: Box<dyn RenderGroupBuilder<B, T>>
) -> &mut Self
[src]

Add render group of dynamic type to this subpass.

pub fn with_dyn_group(self, group: Box<dyn RenderGroupBuilder<B, T>>) -> Self[src]

Add render group of dynamic type to this subpass.

pub fn add_input(&mut self, input: ImageId) -> &mut Self[src]

Add input attachment to the subpass.

pub fn with_input(self, input: ImageId) -> Self[src]

Add input attachment to the subpass.

pub fn add_color(&mut self, color: ImageId) -> &mut Self[src]

Add color attachment to the subpass.

pub fn with_color(self, color: ImageId) -> Self[src]

Add color attachment to the subpass.

pub fn add_color_surface(&mut self) -> &mut Self[src]

Add surface as color attachment to the subpass.

pub fn with_color_surface(self) -> Self[src]

Add surface as color attachment to the subpass.

pub fn set_depth_stencil(&mut self, depth_stencil: ImageId) -> &mut Self[src]

Set depth-stencil attachment to the subpass.

pub fn with_depth_stencil(self, depth_stencil: ImageId) -> Self[src]

Set depth-stencil attachment to the subpass.

pub fn set_depth_stencil_surface(&mut self) -> &mut Self[src]

Set surface as depth-stencil attachment to the subpass.

pub fn with_depth_stencil_surface(self) -> Self[src]

Set surface as depth-stencil attachment to the subpass.

pub fn add_dependency(&mut self, dependency: NodeId) -> &mut Self[src]

Add dependency. RenderPassNode will be placed after its dependencies.

pub fn with_dependency(self, dependency: NodeId) -> Self[src]

Add dependency. RenderPassNode will be placed after its dependencies.

pub fn into_pass(self) -> RenderPassNodeBuilder<B, T>[src]

Make render pass from subpass.

Trait Implementations

impl<B: Backend, T: ?Sized> Default for SubpassBuilder<B, T>[src]

impl<B: Backend, T: ?Sized> Debug for SubpassBuilder<B, T>[src]

Auto Trait Implementations

impl<B, T> !Send for SubpassBuilder<B, T>

impl<B, T> !Sync for SubpassBuilder<B, T>

impl<B, T: ?Sized> Unpin for SubpassBuilder<B, T>

impl<B, T> !UnwindSafe for SubpassBuilder<B, T>

impl<B, T> !RefUnwindSafe for SubpassBuilder<B, T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Supports<T> for T[src]