pub fn clear_depth_stencil_image(
        &mut self,
        image: Arc<dyn ImageAccess>,
        clear_value: ClearValue,
    ) -> Result<&mut Self, ClearDepthStencilImageError> {
        let layers = image.dimensions().array_layers();

        self.clear_depth_stencil_image_dimensions(image, 0, layers, clear_value)
    }
/// Adds a command that clears all the layers of a depth / stencil image with a
/// specific value.
///
/// # Panic
///
/// Panics if `clear_value` is not a depth / stencil value.
///
Adds a command that clears all the layers of a depth / stencil image with a
specific value.
Adds a command that clears all the layers of a depth / stencil image with a specific value .
pub fn clear_depth_stencil_image(
        &mut self,
        image: Arc<dyn ImageAccess>,
        clear_value: ClearValue,
    ) -> Result<&mut Self, ClearDepthStencilImageError> {
        let layers = image.dimensions().array_layers();
        self.clear_depth_stencil_image_dimensions(image, 0, layers, clear_value)
    }
pub fn clear_depth_stencil_image ( & mut self , image : Arc < dyn ImageAccess > , clear_value : ClearValue , ) -> Result < & mut Self , ClearDepthStencilImageError > { let layers = image . dimensions ( ) . array_layers ( ) ; self . clear_depth_stencil_image_dimensions ( image , 0 , layers , clear_value ) }
Adds a command that clears all the layers of a depth / stencil image with a
specific value.
Adds a command that clears all the layers of a depth / stencil image with a specific value .
&mut self
image
Arc<dyn ImageAccess>
clear_value
ClearValue
&mut self
image
Arc<dyn ImageAccess>
clear_value
ClearValue
panic
Panics if `clear_value` is not a depth / stencil value.
Panics if ` clear_value ` is not a depth / stencil value .