pub trait GLBaseFilterExt: 'static {
    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

Required methods

This is supported on crate feature v1_16 only.
Returns

Whether an OpenGL context could be retrieved or created successfully

This is supported on crate feature v1_18 only.
Returns

the GLContext found by self

Implementors