[][src]Struct offscreen_gl_context::GLFormats

pub struct GLFormats {
    pub color_renderbuffer: GLenum,
    pub texture_internal: GLenum,
    pub texture: GLenum,
    pub texture_type: GLenum,
    pub depth: GLenum,
    pub stencil: GLenum,
    pub packed_depth_stencil: bool,
}

This structure is here to allow cross-platform formatting

Fields

color_renderbuffer: GLenumtexture_internal: GLenumtexture: GLenumtexture_type: GLenumdepth: GLenumstencil: GLenumpacked_depth_stencil: bool

Methods

impl GLFormats[src]

pub fn detect(
    attrs: &GLContextAttributes,
    extensions: &[String],
    api_type: &GlType,
    api_version: GLVersion
) -> GLFormats
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]