[−][src]Struct rendy::graph::render::SubpassBuilder
Build for rendering sub-pass.
Methods
impl<B, T> SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
pub fn new() -> SubpassBuilder<B, T>
[src]
Create new empty subpass builder.
pub fn add_group<R>(&mut self, group: R) -> &mut SubpassBuilder<B, T> 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) -> SubpassBuilder<B, T> 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> + 'static>
) -> &mut SubpassBuilder<B, T>
[src]
&mut self,
group: Box<dyn RenderGroupBuilder<B, T> + 'static>
) -> &mut SubpassBuilder<B, T>
Add render group of dynamic type to this subpass.
pub fn with_dyn_group(
self,
group: Box<dyn RenderGroupBuilder<B, T> + 'static>
) -> SubpassBuilder<B, T>
[src]
self,
group: Box<dyn RenderGroupBuilder<B, T> + 'static>
) -> SubpassBuilder<B, T>
Add render group of dynamic type to this subpass.
pub fn add_input(&mut self, input: ImageId) -> &mut SubpassBuilder<B, T>
[src]
Add input attachment to the subpass.
pub fn with_input(self, input: ImageId) -> SubpassBuilder<B, T>
[src]
Add input attachment to the subpass.
pub fn add_color(&mut self, color: ImageId) -> &mut SubpassBuilder<B, T>
[src]
Add color attachment to the subpass.
pub fn with_color(self, color: ImageId) -> SubpassBuilder<B, T>
[src]
Add color attachment to the subpass.
pub fn add_color_surface(&mut self) -> &mut SubpassBuilder<B, T>
[src]
Add surface as color attachment to the subpass.
pub fn with_color_surface(self) -> SubpassBuilder<B, T>
[src]
Add surface as color attachment to the subpass.
pub fn set_depth_stencil(
&mut self,
depth_stencil: ImageId
) -> &mut SubpassBuilder<B, T>
[src]
&mut self,
depth_stencil: ImageId
) -> &mut SubpassBuilder<B, T>
Set depth-stencil attachment to the subpass.
pub fn with_depth_stencil(self, depth_stencil: ImageId) -> SubpassBuilder<B, T>
[src]
Set depth-stencil attachment to the subpass.
pub fn set_depth_stencil_surface(&mut self) -> &mut SubpassBuilder<B, T>
[src]
Set surface as depth-stencil attachment to the subpass.
pub fn with_depth_stencil_surface(self) -> SubpassBuilder<B, T>
[src]
Set surface as depth-stencil attachment to the subpass.
pub fn add_dependency(
&mut self,
dependency: NodeId
) -> &mut SubpassBuilder<B, T>
[src]
&mut self,
dependency: NodeId
) -> &mut SubpassBuilder<B, T>
Add dependency.
RenderPassNode
will be placed after its dependencies.
pub fn with_dependency(self, dependency: NodeId) -> SubpassBuilder<B, T>
[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> Default for SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
fn default() -> SubpassBuilder<B, T>
[src]
impl<B, T> Debug for SubpassBuilder<B, T> where
B: Backend,
T: ?Sized,
[src]
B: Backend,
T: ?Sized,
Auto Trait Implementations
impl<B, T: ?Sized> Unpin for SubpassBuilder<B, T>
impl<B, T> !Sync for SubpassBuilder<B, T>
impl<B, T> !Send for SubpassBuilder<B, T>
impl<B, T> !UnwindSafe for SubpassBuilder<B, T>
impl<B, T> !RefUnwindSafe for SubpassBuilder<B, T>
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Supports<T> for T
[src]
impl<T> SetParameter for T
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
Convert the source color to the destination color using the bradford method by default Read more