[][src]Function vulkano::command_buffer::validity::check_blit_image

pub fn check_blit_image<S: ?Sized, D: ?Sized>(
    device: &Device,
    source: &S,
    source_top_left: [i32; 3],
    source_bottom_right: [i32; 3],
    source_base_array_layer: u32,
    source_mip_level: u32,
    destination: &D,
    destination_top_left: [i32; 3],
    destination_bottom_right: [i32; 3],
    destination_base_array_layer: u32,
    destination_mip_level: u32,
    layer_count: u32,
    filter: Filter
) -> Result<(), CheckBlitImageError> where
    S: ImageAccess,
    D: ImageAccess

Checks whether a blit image command is valid.

Note that this doesn't check whether layer_count is equal to 0. TODO: change that?


  • Panics if the source or the destination was not created with device.