[][src]Function nannou::vk::command_buffer::validity::check_blit_image

pub fn check_blit_image<S, D>(
    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
    D: ImageAccess + ?Sized,
    S: ImageAccess + ?Sized

Checks whether a blit image command is valid.

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

Panic

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