Trait rg3d::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>; }
Expand description

Platform-specific extensions for OpenGL Contexts.

Associated Types

Raw context handle.

Required methods

Returns the raw context handle.

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

Return None if the context doesn’t use EGL.

Implementors