Introduce text_multithreading to Settings

This commit is contained in:
Héctor Ramón Jiménez 2021-07-22 18:27:33 +07:00
parent 217f5be827
commit 357a8a95c9
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 24 additions and 5 deletions

View file

@ -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>,
}