glium

Trait CapabilitiesSource

source
pub trait CapabilitiesSource {
    // Required methods
    fn get_version(&self) -> &Version;
    fn get_extensions(&self) -> &ExtensionsList;
    fn get_capabilities(&self) -> &Capabilities;
}
Expand description

Trait for objects that describe the capabilities of an OpenGL backend.

Required Methods§

source

fn get_version(&self) -> &Version

Returns the version of the backend.

source

fn get_extensions(&self) -> &ExtensionsList

Returns the list of extensions that are supported.

source

fn get_capabilities(&self) -> &Capabilities

Returns the capabilities of the backend.

Implementors§