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

pub fn check_clear_color_image<I>(
    device: &Device,
    image: &I,
    first_layer: u32,
    num_layers: u32,
    first_mipmap: u32,
    num_mipmaps: u32
) -> Result<(), CheckClearColorImageError> where
    I: ImageAccess + ?Sized

Checks whether a clear color image command is valid.

Panic

  • Panics if the destination was not created with device.