pub fn retire_pool(
        &mut self,
        pool: T,
    ) {
        self.in_flight_pools.push_back(VkPoolResourceInFlight {
            pool,
            live_until_frame: self.frame_index + self.max_in_flight_frames + Wrapping(1),
        });
    }
/// Schedule the pool to reset after we complete N frames
Schedule the pool to reset after we complete N frames
Schedule the pool to reset after we complete N frames
pub fn retire_pool(
        &mut self,
        pool: T,
    ) {
        self.in_flight_pools.push_back(VkPoolResourceInFlight {
            pool,
            live_until_frame: self.frame_index + self.max_in_flight_frames + Wrapping(1),
        });
    }
pub fn retire_pool ( & mut self , pool : T , ) { self . in_flight_pools . push_back ( VkPoolResourceInFlight { pool , live_until_frame : self . frame_index + self . max_in_flight_frames + Wrapping ( 1 ) , } ) ; }
Schedule the pool to reset after we complete N frames
Schedule the pool to reset after we complete N frames
&mut self
pool
T
&mut self
pool
T