Implement MSAA for triangle pipeline in iced_wgpu
This commit is contained in:
parent
4969bfdb66
commit
dadae12253
15 changed files with 539 additions and 73 deletions
|
|
@ -286,7 +286,10 @@ use iced::{
|
|||
};
|
||||
|
||||
pub fn main() {
|
||||
Example::run(Settings::default())
|
||||
Example::run(Settings {
|
||||
antialiasing: true,
|
||||
..Settings::default()
|
||||
});
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,10 @@ use iced::{
|
|||
};
|
||||
|
||||
pub fn main() {
|
||||
Clock::run(Settings::default())
|
||||
Clock::run(Settings {
|
||||
antialiasing: true,
|
||||
..Settings::default()
|
||||
})
|
||||
}
|
||||
|
||||
struct Clock {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue