Struct offscreen_gl_context::GLContextCapabilities
[−]
[src]
pub struct GLContextCapabilities { pub max_samples: GLint, }
This is a cross-platform struct, that every GLContext implementation
should have under the field capabilities
, as a public field
This should allow us to know the capabilities of a given
GLContext without repeating the same code over and over
Fields
max_samples: GLint
Methods
impl GLContextCapabilities
[src]
fn detect() -> GLContextCapabilities
Trait Implementations
impl Copy for GLContextCapabilities
[src]
impl Clone for GLContextCapabilities
[src]
fn clone(&self) -> GLContextCapabilities
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more