Struct gfx_device_gl::Info
[−]
[src]
pub struct Info { pub platform_name: PlatformName, pub version: Version, pub shading_language: Version, pub extensions: HashSet<&'static str>, }
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
Methods
impl Info
[src]
fn is_version_supported(&self, major: u32, minor: u32) -> bool
fn is_extension_supported(&self, s: &'static str) -> bool
Returns true
if the implementation supports the extension