Trait gstreamer_gl::prelude::GLBaseFilterExt

source ·
pub trait GLBaseFilterExt: IsA<GLBaseFilter> + Sealed + 'static {
    // Provided methods
    fn find_gl_context(&self) -> bool { ... }
    fn gl_context(&self) -> Option<GLContext> { ... }
    fn context(&self) -> Option<GLContext> { ... }
    fn connect_context_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all GLBaseFilter methods.

§Implementors

GLBaseFilter, GLFilter

Provided Methods§

source

fn find_gl_context(&self) -> bool

§Returns

Whether an OpenGL context could be retrieved or created successfully

source

fn gl_context(&self) -> Option<GLContext>

§Returns

the GLContext found by self

source

fn context(&self) -> Option<GLContext>

source

fn connect_context_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§