Struct glutin::PixelFormat [−][src]
pub struct PixelFormat {
pub hardware_accelerated: bool,
pub color_bits: u8,
pub alpha_bits: u8,
pub depth_bits: u8,
pub stencil_bits: u8,
pub stereoscopy: bool,
pub double_buffer: bool,
pub multisampling: Option<u16>,
pub srgb: bool,
}
Expand description
Describes a possible format.
Fields
hardware_accelerated: bool
color_bits: u8
The number of color bits. Does not include alpha bits.
alpha_bits: u8
depth_bits: u8
stencil_bits: u8
stereoscopy: bool
double_buffer: bool
multisampling: Option<u16>
None
if multisampling is disabled, otherwise Some(N)
where N
is
the multisampling level.
srgb: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
Blanket Implementations
Mutably borrows from an owned value. Read more