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

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

Checks whether a clear color image command is valid.

Panic

  • Panics if the destination was not created with device.