/// Adds a command that enters a render pass.
///
/// C must contain exactly one clear value for each attachment in the framebuffer.
///
/// You must call this before you can add draw commands.
///
/// [*Documentation adapted from the corresponding vulkano method.*](https://docs.rs/vulkano/latest/vulkano/command_buffer/struct.AutoCommandBufferBuilder.html)
Adds a command that enters a render pass.
C must contain exactly one clear value for each attachment in the framebuffer.

You must call this before you can add draw commands.

[*Documentation adapted from the corresponding vulkano method.*]
Adds a command that enters a render pass . C must contain exactly one clear value for each attachment in the framebuffer . You must call this before you can add draw commands . [ * Documentation adapted from the corresponding vulkano method . * ]
pub fn begin_render_pass<F, C>(
        self,
        framebuffer: F,
        clear_values: C,
    ) -> Result<Self, BeginRenderPassError>
    where
        F: vk::FramebufferAbstract
            + vk::RenderPassDescClearValues<C>
            + Clone
            + Send
            + Sync
            + 'static,
    {
        self.map_cb(move |cb| cb.begin_render_pass(framebuffer, false, clear_values))
    }
pub fn begin_render_pass < F , C > ( self , framebuffer : F , clear_values : C , ) -> Result < Self , BeginRenderPassError > where F : vk :: FramebufferAbstract + vk :: RenderPassDescClearValues < C > + Clone + Send + Sync + ' static , { self . map_cb ( move | cb | cb . begin_render_pass ( framebuffer , false , clear_values ) ) }
Adds a command that enters a render pass.
Adds a command that enters a render pass .
self
framebuffer
F
clear_values
C