Function wgpu_core::command::transfer::handle_dst_texture_init

source ·
fn handle_dst_texture_init(
    cmd_buf_data: &mut CommandBufferMutable,
    device: &Device,
    destination: &ImageCopyTexture,
    copy_size: &Extent3d,
    texture: &Arc<Texture>,
    snatch_guard: &SnatchGuard<'_>,
) -> Result<(), TransferError>
Expand description

Prepare a transfer’s destination texture.

Ensure the destination texture of a transfer is in the right initialization state, and record the state for after the transfer operation.