[−][src]Function rendy::factory::blit_image
pub unsafe fn blit_image<B, C, L, impl IntoIterator- >(
encoder: &mut Encoder<B, C, L>,
src_image: &Handle<Image<B>>,
dst_image: &Handle<Image<B>>,
filter: Filter,
regions: impl IntoIterator
) -> Result<(), Error> where
B: Backend,
C: Supports<Graphics>,
L: Level,
impl IntoIterator- : IntoIterator<Item = BlitRegion>,
Blits one or more regions from src_image into dst_image using specified Filter
Safety
src_image
anddst_image
must have been created from the sameDevice
asencoder