Enum sdl2::video::GLProfile [] [src]

pub enum GLProfile {
    Core,
    Compatibility,
    GLES,
    Unknown(i32),
}

Variants

OpenGL core profile - deprecated functions are disabled

OpenGL compatibility profile - deprecated functions are allowed

OpenGL ES profile - only a subset of the base OpenGL functionality is available

Unknown profile - SDL will tend to return 0 if you ask when no particular profile has been defined or requested.

Trait Implementations

impl Copy for GLProfile
[src]

impl Clone for GLProfile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for GLProfile
[src]

impl PartialEq for GLProfile
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for GLProfile
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for GLProfile
[src]

Formats the value using the given formatter.