Struct makepad_widgets::shader::std::os::linux::x11::opengl_x11::OpenglWindow
pub struct OpenglWindow {
pub first_draw: bool,
pub window_id: WindowId,
pub window_geom: WindowGeom,
pub opening_repaint_count: u32,
pub cal_size: DVec2,
pub xlib_window: Box<XlibWindow, Global>,
pub egl_surface: *mut c_void,
}
Fields§
§first_draw: bool
§window_id: WindowId
§window_geom: WindowGeom
§opening_repaint_count: u32
§cal_size: DVec2
§xlib_window: Box<XlibWindow, Global>
§egl_surface: *mut c_void
Implementations§
§impl OpenglWindow
impl OpenglWindow
pub fn new( window_id: WindowId, opengl_cx: &OpenglCx, inner_size: DVec2, position: Option<DVec2>, title: &str ) -> OpenglWindow
pub fn resize_buffers(&mut self) -> bool
Trait Implementations§
§impl Clone for OpenglWindow
impl Clone for OpenglWindow
§fn clone(&self) -> OpenglWindow
fn clone(&self) -> OpenglWindow
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for OpenglWindow
impl !Send for OpenglWindow
impl !Sync for OpenglWindow
impl Unpin for OpenglWindow
impl UnwindSafe for OpenglWindow
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more