[−][src]Struct rendy_graph::render::SubpassBuilder
Build for rendering sub-pass.
Implementations
impl<B, T> SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
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]
R: RenderGroupBuilder<B, T> + 'static,
Add render group to this subpass.
pub fn with_group<R>(self, group: R) -> Self where
R: RenderGroupBuilder<B, T> + 'static,
[src]
R: RenderGroupBuilder<B, T> + 'static,
Add render group to this subpass.
pub fn add_dyn_group(
&mut self,
group: Box<dyn RenderGroupBuilder<B, T>>
) -> &mut Self
[src]
&mut self,
group: Box<dyn RenderGroupBuilder<B, T>>
) -> &mut Self
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, T> Debug for SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
impl<B, T> Default for SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
Auto Trait Implementations
impl<B, T> !RefUnwindSafe for SubpassBuilder<B, T>
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>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,