Skip to content

Commit

Permalink
add samples doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Oct 28, 2021
1 parent d493562 commit 71dcc67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pipelined/bevy_render2/src/view/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ impl Plugin for ViewPlugin {

#[derive(Clone)]
pub struct Msaa {
/// The number of samples to run for Multi-Sample Anti-Aliasing. Higher numbers result in
/// smoother edges. Note that WGPU currently only supports 1 or 4 samples.
/// Ultimately we plan on supporting whatever is natively supported on a given device.
/// Check out this issue for more info: https://github.com/gfx-rs/wgpu/issues/1832
pub samples: u32,
}

Expand Down

0 comments on commit 71dcc67

Please sign in to comment.