Trait glutin::platform::ContextTraitExt[][src]

pub trait ContextTraitExt {
    type Handle;
    unsafe fn raw_handle(&self) -> Self::Handle;
unsafe fn get_egl_display(&self) -> Option<*const c_void>; }

Platform-specific extensions for OpenGL Contexts.

Associated Types

type Handle[src]

Raw context handle.

Loading content...

Required methods

unsafe fn raw_handle(&self) -> Self::Handle[src]

Returns the raw context handle.

unsafe fn get_egl_display(&self) -> Option<*const c_void>[src]

Returns a pointer to the EGLDisplay object of EGL that is used by this context.

Return None if the context doesn’t use EGL.

Loading content...

Implementors

impl<T: ContextCurrentState> ContextTraitExt for Context<T>[src]

type Handle = RawHandle

Loading content...