wgpu_core::command::transfer

Function extract_texture_selector

source
pub(crate) fn extract_texture_selector<T>(
    copy_texture: &TexelCopyTextureInfo<T>,
    copy_size: &Extent3d,
    texture: &Texture,
) -> Result<(TextureSelector, TextureCopyBase), TransferError>