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§
sourcefn get_version(&self) -> &Version
fn get_version(&self) -> &Version
Returns the version of the backend.
sourcefn get_extensions(&self) -> &ExtensionsList
fn get_extensions(&self) -> &ExtensionsList
Returns the list of extensions that are supported.
sourcefn get_capabilities(&self) -> &Capabilities
fn get_capabilities(&self) -> &Capabilities
Returns the capabilities of the backend.