Struct fui_system::ApplicationOptions
source · pub struct ApplicationOptions {
pub title: String,
pub opengl_share_contexts: bool,
pub opengl_stencil_bits: i32,
}
Expand description
Global application options.
Fields§
§title: String
§opengl_stencil_bits: i32
Implementations§
source§impl ApplicationOptions
impl ApplicationOptions
sourcepub fn with_title(self, title: &str) -> Self
pub fn with_title(self, title: &str) -> Self
Sets the application title.
Enables automatically created shared contexts between windows.
sourcepub fn with_opengl_stencil_bits(self, bits: i32) -> Self
pub fn with_opengl_stencil_bits(self, bits: i32) -> Self
Sets bits of the the stencil buffer. 0 - disables stencil buffer, 8 - standard stencil buffer.