Trait gstreamer_gl::context::ContextGLExt

source ·
pub trait ContextGLExt {
    // Required methods
    fn gl_display(&self) -> Option<GLDisplay>;
    fn set_gl_display<'a, T: IsA<GLDisplay>>(
        &self,
        display: impl Into<Option<&'a T>>,
    );
}

Required Methods§

source

fn gl_display(&self) -> Option<GLDisplay>

source

fn set_gl_display<'a, T: IsA<GLDisplay>>( &self, display: impl Into<Option<&'a T>>, )

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ContextGLExt for ContextRef

source§

fn gl_display(&self) -> Option<GLDisplay>

source§

fn set_gl_display<'a, T: IsA<GLDisplay>>( &self, display: impl Into<Option<&'a T>>, )

Implementors§