pub fn new(max_in_flight_frames: u32) -> Self {
        VkResourceDropSink {
            resources_in_flight: Default::default(),
            max_in_flight_frames: Wrapping(max_in_flight_frames),
            frame_index: Wrapping(0),
        }
    }
/// Create a drop sink that will destroy resources after N frames. Keep in mind that if for
/// example you want to push a single resource per frame, up to N+1 resources will exist
/// in the sink. If max_in_flight_frames is 2, then you would have a resource that has
/// likely not been submitted to the GPU yet, plus a resource per the N frames that have
/// been submitted
Create a drop sink that will destroy resources after N frames. Keep in mind that if for
example you want to push a single resource per frame, up to N+1 resources will exist
in the sink. If max_in_flight_frames is 2, then you would have a resource that has
likely not been submitted to the GPU yet, plus a resource per the N frames that have
been submitted
Create a drop sink that will destroy resources after N frames . Keep in mind that if for example you want to push a single resource per frame up to N + 1 resources will exist in the sink . If max_in_flight_frames is 2 then you would have a resource that has likely not been submitted to the GPU yet plus a resource per the N frames that have been submitted
pub fn new(max_in_flight_frames: u32) -> Self {
        VkResourceDropSink {
            resources_in_flight: Default::default(),
            max_in_flight_frames: Wrapping(max_in_flight_frames),
            frame_index: Wrapping(0),
        }
    }
pub fn new ( max_in_flight_frames : u32 ) -> Self { VkResourceDropSink { resources_in_flight : Default :: default ( ) , max_in_flight_frames : Wrapping ( max_in_flight_frames ) , frame_index : Wrapping ( 0 ) , } }
Create a drop sink that will destroy resources after N frames.
Create a drop sink that will destroy resources after N frames .
max_in_flight_frames
u32
max_in_flight_frames
u32