Skip to main content

submit_target_to_surface

Function submit_target_to_surface 

pub fn submit_target_to_surface(
    device: &Device,
    queue: &Queue,
    surface: &RenderSurface<'_>,
    texture: &Texture,
)
Expand description

draw_target_to_surface, submitted on its own. With nothing drawn into the target since, this shows the last frame again: a host that acquired texture for a frame it then skipped presents that frame rather than a cleared texture.