[][src]Trait glium::CapabilitiesSource

pub trait CapabilitiesSource {
    fn get_version(&self) -> &Version;
fn get_extensions(&self) -> &ExtensionsList;
fn get_capabilities(&self) -> &Capabilities; }

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

Required methods

fn get_version(&self) -> &Version

Returns the version of the backend.

fn get_extensions(&self) -> &ExtensionsList

Returns the list of extensions that are supported.

fn get_capabilities(&self) -> &Capabilities

Returns the capabilities of the backend.

Loading content...

Implementors

impl CapabilitiesSource for Context[src]

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

Loading content...