Struct luminance_windowing::WindowOpt [−][src]
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Expand description
Different window options.
Feel free to look at the different methods available to tweak the options. You may want to start
with default()
, though.
Fields
dim: WindowDim
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Dimension of the window.
num_samples: Option<u32>
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Number of samples for multisampling.
None
means no multisampling.
Implementations
👎 Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Set the dimension of the window.
👎 Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Get the dimension of the window.
👎 Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Set the number of samples to use for multisampling.
Pass None
to disable multisampling.
👎 Deprecated: luminance-windowing is not maintained anymore; please directly use the platform crates from now on
luminance-windowing is not maintained anymore; please directly use the platform crates from now on
Get the number of samples to use in multisampling, if any.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WindowOpt
impl UnwindSafe for WindowOpt
Blanket Implementations
Mutably borrows from an owned value. Read more