Implement MSAA for triangle pipeline in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2020-02-15 10:08:27 +01:00
parent 4969bfdb66
commit dadae12253
15 changed files with 539 additions and 73 deletions

View file

@ -286,7 +286,10 @@ use iced::{
};
pub fn main() {
Example::run(Settings::default())
Example::run(Settings {
antialiasing: true,
..Settings::default()
});
}
#[derive(Default)]

View file

@ -4,7 +4,10 @@ use iced::{
};
pub fn main() {
Clock::run(Settings::default())
Clock::run(Settings {
antialiasing: true,
..Settings::default()
})
}
struct Clock {

View file

@ -14,7 +14,10 @@ use iced::{
use std::time::Instant;
pub fn main() {
SolarSystem::run(Settings::default())
SolarSystem::run(Settings {
antialiasing: true,
..Settings::default()
})
}
struct SolarSystem {