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: SurfaceTexture
The texture into which the next frame should be rendered.
suboptimal: bool
true
if the acquired buffer can still be used for rendering,
but should be recreated for maximum performance.