Struct gfx_backend_gl::Info[][src]

pub struct Info {
    pub platform_name: PlatformName,
    pub version: Version,
    pub shading_language: Version,
    pub extensions: HashSet<String>,
}
Expand description

OpenGL implementation information

Fields

platform_name: PlatformName

The platform identifier

version: Version

The OpenGL API version number

shading_language: Version

The GLSL version number

extensions: HashSet<String>

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

Performs the conversion.

Performs the conversion.

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.