pub fn retire(
        &mut self,
        resource: T,
    ) {
        self.resources_in_flight
            .push_back(VkDropSinkResourceInFlight::<T> {
                resource,
                live_until_frame: self.frame_index + self.max_in_flight_frames + Wrapping(1),
            });
    }
/// Schedule the resource to drop after we complete N frames
Schedule the resource to drop after we complete N frames
Schedule the resource to drop after we complete N frames
pub fn retire(
        &mut self,
        resource: T,
    ) {
        self.resources_in_flight
            .push_back(VkDropSinkResourceInFlight::<T> {
                resource,
                live_until_frame: self.frame_index + self.max_in_flight_frames + Wrapping(1),
            });
    }
pub fn retire ( & mut self , resource : T , ) { self . resources_in_flight . push_back ( VkDropSinkResourceInFlight :: < T > { resource , live_until_frame : self . frame_index + self . max_in_flight_frames + Wrapping ( 1 ) , } ) ; }
Schedule the resource to drop after we complete N frames
Schedule the resource to drop after we complete N frames
&mut self
resource
T
&mut self
resource
T