pub fn clear_color_image(
        &mut self,
        image: Arc<dyn ImageAccess>,
        color: ClearValue,
    ) -> Result<&mut Self, ClearColorImageError> {
        let layers = image.dimensions().array_layers();
        let levels = image.mipmap_levels();

        self.clear_color_image_dimensions(image, 0, layers, 0, levels, color)
    }
/// Adds a command that clears all the layers and mipmap levels of a color image with a
/// specific value.
///
/// # Panic
///
/// Panics if `color` is not a color value.
///
Adds a command that clears all the layers and mipmap levels of a color image with a
specific value.
Adds a command that clears all the layers and mipmap levels of a color image with a specific value .
pub fn clear_color_image(
        &mut self,
        image: Arc<dyn ImageAccess>,
        color: ClearValue,
    ) -> Result<&mut Self, ClearColorImageError> {
        let layers = image.dimensions().array_layers();
        let levels = image.mipmap_levels();
        self.clear_color_image_dimensions(image, 0, layers, 0, levels, color)
    }
pub fn clear_color_image ( & mut self , image : Arc < dyn ImageAccess > , color : ClearValue , ) -> Result < & mut Self , ClearColorImageError > { let layers = image . dimensions ( ) . array_layers ( ) ; let levels = image . mipmap_levels ( ) ; self . clear_color_image_dimensions ( image , 0 , layers , 0 , levels , color ) }
Adds a command that clears all the layers and mipmap levels of a color image with a
specific value.
Adds a command that clears all the layers and mipmap levels of a color image with a specific value .
&mut self
image
Arc<dyn ImageAccess>
color
ClearValue
&mut self
image
Arc<dyn ImageAccess>
color
ClearValue
panic
Panics if `color` is not a color value.
Panics if ` color ` is not a color value .