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§
sourcefn get_gl_context(&self) -> GlContext
fn get_gl_context(&self) -> GlContext
Returns the GL context living pointer wrapped by GlContext
sourcefn get_native_display(&self) -> NativeDisplay
fn get_native_display(&self) -> NativeDisplay
Returns the living pointer to the native display structure
wrapped by NativeDisplay
.
sourcefn get_gl_api(&self) -> GlApi
fn get_gl_api(&self) -> GlApi
Returns the GL API of the context