pub(crate) fn rebind_resources<E, F: FnOnce()>(
state: &mut BaseState<'_, '_, '_, '_>,
pipeline_layout: &Arc<PipelineLayout>,
late_sized_buffer_groups: &[LateSizedBufferGroup],
f: F,
) -> Result<(), E>where
E: From<DestroyedResourceError>,
Expand description
After a pipeline has been changed, resources must be rebound