logo
pub fn check_clear_color_image<I>(
    device: &Device,
    image: &I,
    base_array_layer: u32,
    layer_count: u32,
    base_mip_level: u32,
    level_count: 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.