[][src]Function rendy_factory::blit_image

pub unsafe fn blit_image<B, C, L>(
    encoder: &mut Encoder<B, C, L>,
    src_image: &Handle<Image<B>>,
    dst_image: &Handle<Image<B>>,
    filter: Filter,
    regions: impl IntoIterator<Item = BlitRegion>
) -> Result<(), Error> where
    B: Backend,
    C: Supports<Graphics>,
    L: Level

Blits one or more regions from src_image into dst_image using specified Filter

Safety

  • src_image and dst_image must have been created from the same Device as encoder