logo
pub fn check_clear_depth_stencil_image<I>(
    device: &Device,
    image: &I,
    first_layer: u32,
    num_layers: u32
) -> Result<(), CheckClearDepthStencilImageError> where
    I: ?Sized + ImageAccess
Expand description

Checks whether a clear depth / stencil image command is valid.

Panic

  • Panics if the destination was not created with device.