Struct smaa::SmaaTarget [−][src]
pub struct SmaaTarget { /* fields omitted */ }
Expand description
Wraps a color buffer, which it can resolve into an antialiased image using the Subpixel Morphological Antialiasing (SMAA) algorithm.
Implementations
Create a new SmaaTarget
.
pub fn start_frame<'a>(
&'a mut self,
device: &'a Device,
queue: &'a Queue,
output_view: &'a TextureView
) -> SmaaFrame<'a>
pub fn start_frame<'a>(
&'a mut self,
device: &'a Device,
queue: &'a Queue,
output_view: &'a TextureView
) -> SmaaFrame<'a>
Start rendering a frame. Dropping the returned frame object will resolve the scene into the provided output_view.