Function wgpu_core::command::clear::clear_texture

source ยท
pub(crate) fn clear_texture<T: TextureTrackerSetSingle>(
    dst_texture: &Arc<Texture>,
    range: TextureInitRange,
    encoder: &mut dyn DynCommandEncoder,
    texture_tracker: &mut T,
    alignments: &Alignments,
    zero_buffer: &dyn DynBuffer,
    snatch_guard: &SnatchGuard<'_>,
) -> Result<(), ClearError>