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: ?Sized + ImageAccess,
Expand description

Checks whether a clear color image command is valid.

Panic

  • Panics if the destination was not created with device.