Skip to main content

BlitRenderPass

Trait BlitRenderPass 

Source
pub trait BlitRenderPass {
    // Required methods
    fn set_blit_pipeline(&mut self, pipeline: &RenderPipeline);
    fn set_blit_bind_group(
        &mut self,
        index: u32,
        bind_group: &BindGroup,
        offsets: &[u32],
    );
    fn draw_blit_triangle(&mut self);
}

Required Methods§

Source

fn set_blit_pipeline(&mut self, pipeline: &RenderPipeline)

Source

fn set_blit_bind_group( &mut self, index: u32, bind_group: &BindGroup, offsets: &[u32], )

Source

fn draw_blit_triangle(&mut self)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl BlitRenderPass for RenderPass<'_>

Source§

fn set_blit_pipeline(&mut self, pipeline: &RenderPipeline)

Source§

fn set_blit_bind_group( &mut self, index: u32, bind_group: &BindGroup, offsets: &[u32], )

Source§

fn draw_blit_triangle(&mut self)

Implementors§