Function flush_bindings_helper

Source
pub(super) fn flush_bindings_helper<F>(
    state: &mut PassState<'_, '_, '_>,
    f: F,
) -> Result<(), DestroyedResourceError>
where F: FnMut(&Arc<BindGroup>),
Expand description

Helper for flush_bindings implementing the portions that are the same for compute and render passes.