[−][src]Enum beryllium::GLattr
Attributes that you can use to control OpenGL's loading and context creation process.
Variants
RedSize
the minimum number of bits for the red channel of the color buffer; defaults to 3
GreenSize
the minimum number of bits for the green channel of the color buffer; defaults to 3
BlueSize
the minimum number of bits for the blue channel of the color buffer; defaults to 2
AlphaSize
the minimum number of bits for the alpha channel of the color buffer; defaults to 0
BufferSize
the minimum number of bits for frame buffer size; defaults to 0
DoubleBuffer
whether the output is single or double buffered; defaults to double buffering on
DepthSize
the minimum number of bits in the depth buffer; defaults to 16
StencilSize
the minimum number of bits in the stencil buffer; defaults to 0
AccumRedSize
the minimum number of bits for the red channel of the accumulation buffer; defaults to 0
AccumGreenSize
the minimum number of bits for the green channel of the accumulation buffer; defaults to 0
AccumBlueSize
the minimum number of bits for the blue channel of the accumulation buffer; defaults to 0
AccumAlphaSize
the minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0
Stereo
whether the output is stereo 3D; defaults to off
MultisampleBuffers
the number of buffers used for multisample anti-aliasing; defaults to 0; see Remarks for details
MultisampleSamples
the number of samples used around the current pixel used for multisample anti-aliasing; defaults to 0; see Remarks for details
AcceleratedVisuals
set to 1 to require hardware acceleration, set to 0 to force software rendering; defaults to allow either
ContextMajorVersion
OpenGL context major version
ContextMinorVersion
OpenGL context minor version
ContextFlags
some combination of 0 or more of elements of the SDL_GLContextFlag enumeration; defaults to 0
ContextProfileMask
type of GL context (Core, Compatibility, ES), default value depends on platform
OpenGL context sharing; defaults to 0
FramebufferSRGBCapable
requests sRGB capable visual; defaults to 0
ContextReleaseBehavior
sets context the release behavior; defaults to 1
Trait Implementations
impl PartialEq<GLattr> for GLattr
[src]
fn eq(&self, other: &GLattr) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for GLattr
[src]
fn clone(&self) -> GLattr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GLattr
[src]
impl Copy for GLattr
[src]
impl Debug for GLattr
[src]
Auto Trait Implementations
impl Send for GLattr
impl Unpin for GLattr
impl Sync for GLattr
impl UnwindSafe for GLattr
impl RefUnwindSafe for GLattr
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,