Struct wgpu::SurfaceFrame [−][src]
pub struct SurfaceFrame {
pub output: SurfaceTexture,
pub suboptimal: bool,
}Expand description
Result of a successful call to Surface::get_current_frame.
Fields
output: SurfaceTextureThe texture into which the next frame should be rendered.
suboptimal: booltrue if the acquired buffer can still be used for rendering,
but should be recreated for maximum performance.