pub trait GLAreaExt: 'static {
Show 24 methods
fn attach_buffers(&self);
fn is_auto_render(&self) -> bool;
fn context(&self) -> Option<GLContext>;
fn error(&self) -> Option<Error>;
fn has_depth_buffer(&self) -> bool;
fn has_stencil_buffer(&self) -> bool;
fn required_version(&self) -> (i32, i32);
fn uses_es(&self) -> bool;
fn make_current(&self);
fn queue_render(&self);
fn set_auto_render(&self, auto_render: bool);
fn set_error(&self, error: Option<&Error>);
fn set_has_depth_buffer(&self, has_depth_buffer: bool);
fn set_has_stencil_buffer(&self, has_stencil_buffer: bool);
fn set_required_version(&self, major: i32, minor: i32);
fn set_use_es(&self, use_es: bool);
fn connect_create_context<F: Fn(&Self) -> Option<GLContext> + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_render<F: Fn(&Self, &GLContext) -> Inhibit + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_auto_render_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_context_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_has_depth_buffer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_has_stencil_buffer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_use_es_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods
source
fn attach_buffers(&self)
source
fn is_auto_render(&self) -> bool
source
fn has_depth_buffer(&self) -> bool
source
fn has_stencil_buffer(&self) -> bool
source
fn required_version(&self) -> (i32, i32)
source
fn make_current(&self)
source
fn queue_render(&self)
source
fn set_auto_render(&self, auto_render: bool)
source
fn set_has_depth_buffer(&self, has_depth_buffer: bool)
source
fn set_has_stencil_buffer(&self, has_stencil_buffer: bool)
source
fn set_required_version(&self, major: i32, minor: i32)
source
fn set_use_es(&self, use_es: bool)
sourcefn connect_create_context<F: Fn(&Self) -> Option<GLContext> + 'static>(
fn connect_create_context<F: Fn(&Self) -> Option<GLContext> + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_render<F: Fn(&Self, &GLContext) -> Inhibit + 'static>(
fn connect_render<F: Fn(&Self, &GLContext) -> Inhibit + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
fn connect_resize<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_auto_render_notify<F: Fn(&Self) + 'static>(
fn connect_auto_render_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_context_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_has_depth_buffer_notify<F: Fn(&Self) + 'static>(
fn connect_has_depth_buffer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_has_stencil_buffer_notify<F: Fn(&Self) + 'static>(
fn connect_has_stencil_buffer_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
source