Trait media::PlayerGLContext

source ·
pub trait PlayerGLContext {
    // Required methods
    fn get_gl_context(&self) -> GlContext;
    fn get_native_display(&self) -> NativeDisplay;
    fn get_gl_api(&self) -> GlApi;
}

Required Methods§

source

fn get_gl_context(&self) -> GlContext

Returns the GL context living pointer wrapped by GlContext

source

fn get_native_display(&self) -> NativeDisplay

Returns the living pointer to the native display structure wrapped by NativeDisplay.

source

fn get_gl_api(&self) -> GlApi

Returns the GL API of the context

Implementors§