Struct gfx_device_gl::Info

source ·
pub struct Info {
    pub platform_name: PlatformName,
    pub version: Version,
    pub shading_language: Version,
    pub extensions: HashSet<&'static str>,
}
Expand description

OpenGL implementation information

Fields

platform_name: PlatformName

The platform identifier

version: Version

The OpenGL API vesion number

shading_language: Version

The GLSL vesion number

extensions: HashSet<&'static str>

The extensions supported by the implementation

Implementations

Returns true if the implementation supports the extension

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.