Struct surfman::GLVersion [−][src]
Expand description
Describes the OpenGL version that is requested when a context is created.
Since OpenGL and OpenGL ES have different version numbering schemes, the valid values here
depend on the value of Device::gl_api()
.
Fields
major: u8
The major OpenGL version (e.g. 4 in 4.2).
minor: u8
The minor OpenGL version (e.g. 2 in 4.2).
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GLVersion
impl UnwindSafe for GLVersion
Blanket Implementations
Mutably borrows from an owned value. Read more