Enum glutin::GlRequest
[−]
[src]
pub enum GlRequest { Latest, Specific(Api, (u8, u8)), GlThenGles { opengl_version: (u8, u8), opengles_version: (u8, u8), }, }
Describes the OpenGL API and version that are being requested when a context is created.
Variants
Latest | Request the latest version of the "best" API of this platform. On desktop, will try OpenGL. | |||||
Specific | Request a specific version of a specific API. Example: | |||||
GlThenGles | If OpenGL is available, create an OpenGL context with the specified Fields
|