diff options
author | 2021-07-22 18:27:33 +0700 | |
---|---|---|
committer | 2021-07-22 18:27:33 +0700 | |
commit | 357a8a95c9820651110fe4d80d8d33a2678827c0 (patch) | |
tree | 54f81a25537b793f6a83cda58549a6cb1e1d9eb9 /wgpu | |
parent | 217f5be8272f48a5b043d066ed1788cc127e1164 (diff) | |
download | iced-357a8a95c9820651110fe4d80d8d33a2678827c0.tar.gz iced-357a8a95c9820651110fe4d80d8d33a2678827c0.tar.bz2 iced-357a8a95c9820651110fe4d80d8d33a2678827c0.zip |
Introduce `text_multithreading` to `Settings`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/settings.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wgpu/src/settings.rs b/wgpu/src/settings.rs index b490e54e..9a7eed34 100644 --- a/wgpu/src/settings.rs +++ b/wgpu/src/settings.rs @@ -31,9 +31,13 @@ pub struct Settings { /// If enabled, spread text workload in multiple threads when multiple cores /// are available. + /// + /// By default, it is disabled. pub text_multithreading: bool, /// The antialiasing strategy that will be used for triangle primitives. + /// + /// By default, it is `None`. pub antialiasing: Option<Antialiasing>, } |