Enum glutin_window::OpenGL
[−]
[src]
pub enum OpenGL { _2_0, _2_1, _3_0, _3_1, _3_2, _3_3, _4_0, _4_1, _4_2, _4_3, _4_4, _4_5, }
Variants
_2_0 | |
_2_1 | |
_3_0 | |
_3_1 | |
_3_2 | |
_3_3 | |
_4_0 | |
_4_1 | |
_4_2 | |
_4_3 | |
_4_4 | |
_4_5 |
Methods
impl OpenGL
fn get_major_minor(&self) -> (isize, isize)
[−]
Gets the minor version of OpenGL.
fn to_GLSL(&self) -> GLSL
[−]
Gets GLSL version associated with OpenGL.