Document glow-only fields in NativeOptions (#8104)

This commit is contained in:
Emil Ernerfeldt
2026-04-14 13:00:35 +02:00
committed by lucasmerlin
parent 9bad77e68a
commit be30588107
+4
View File
@@ -317,6 +317,8 @@ pub struct NativeOptions {
/// Turn on vertical syncing, limiting the FPS to the display refresh rate.
///
/// The default is `true`.
///
/// Only affects the `glow` backend.
pub vsync: bool,
/// Set the level of the multisampling anti-aliasing (MSAA).
@@ -343,6 +345,8 @@ pub struct NativeOptions {
/// Specify whether or not hardware acceleration is preferred, required, or not.
///
/// Default: [`HardwareAcceleration::Preferred`].
///
/// Only affects the `glow` backend.
pub hardware_acceleration: HardwareAcceleration,
/// What rendering backend to use.