pub struct GlDisplay { /* private fields */ }Expand description
The native OpenGL display and what every context of it shares: the entry points, the format of the default framebuffer and the objects of the native factory the contexts use.
Implementations§
Source§impl GlDisplay
impl GlDisplay
pub fn gl_interface(&self) -> &Rc<GlInterface>
pub fn sample_count(&self) -> i32
pub fn stencil_size(&self) -> i32
pub fn factory(&self) -> &ComPtr<IFerroNativeFactory>
pub fn memory_helper(&self) -> &ComPtr<IFrnNativeObjectsMemoryManagement>
Sourcepub fn clear_context(&self)
pub fn clear_context(&self)
Makes no context current on this thread.
Auto Trait Implementations§
impl !RefUnwindSafe for GlDisplay
impl !Send for GlDisplay
impl !Sync for GlDisplay
impl !UnwindSafe for GlDisplay
impl Freeze for GlDisplay
impl Unpin for GlDisplay
impl UnsafeUnpin for GlDisplay
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more