pub trait HasGLContext {
    // Required method
    fn gl_context(&self) -> GLContext;
}Expand description
A trait used for retrieving a GLContext.
Required Methods§
Sourcefn gl_context(&self) -> GLContext
 
fn gl_context(&self) -> GLContext
Gets the GLContext.