pub struct GLContextCapabilities {
pub max_samples: GLint,
}
Expand description
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
Implementations§
source§impl GLContextCapabilities
impl GLContextCapabilities
pub fn detect() -> GLContextCapabilities
Trait Implementations§
source§impl Clone for GLContextCapabilities
impl Clone for GLContextCapabilities
source§fn clone(&self) -> GLContextCapabilities
fn clone(&self) -> GLContextCapabilities
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more