Function rutabaga_gfx::rutabaga_2d::transfer_2d
source · fn transfer_2d(
resource_w: u32,
resource_h: u32,
rect_x: u32,
rect_y: u32,
rect_w: u32,
rect_h: u32,
dst_stride: u32,
dst_offset: u64,
dst: IoSliceMut<'_>,
src_stride: u32,
src_offset: u64,
srcs: &[&[u8]]
) -> RutabagaResult<()>
Expand description
Transfers a resource from potentially many chunked src slices to a dst slice.