rendy_factory

Function blit_image

Source
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>,
)
where B: Backend, C: Supports<Graphics>, L: Level,
Expand description

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