/// 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.
///
/// [*Documentation taken from the corresponding vulkano method.*](https://docs.rs/vulkano/latest/vulkano/command_buffer/struct.AutoCommandBufferBuilder.html)
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<I>(
        self,
        image: I,
        color: vk::ClearValue,
    ) -> Result<Self, ClearColorImageError>
    where
        I: vk::ImageAccess + Send + Sync + 'static,
    {
        self.map_cb(move |cb| cb.clear_color_image(image, color))
    }
pub fn clear_color_image < I > ( self , image : I , color : vk :: ClearValue , ) -> Result < Self , ClearColorImageError > where I : vk :: ImageAccess + Send + Sync + ' static , { self . map_cb ( move | cb | cb . clear_color_image ( image , 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 .
self
image
I
color
vk::ClearValue
panic
Panics if `color` is not a color value.

[*Documentation taken from the corresponding vulkano method.*]
Panics if ` color ` is not a color value . [ * Documentation taken from the corresponding vulkano method . * ]