pub struct GlPlatformSurfaceRenderingSession { /* private fields */ }Expand description
One frame drawn to the OpenGL render target of a top-level: the native session made the context current and bound the framebuffer of the IOSurface; releasing it presents the frame and restores the context.
Trait Implementations§
Source§impl IGlPlatformSurfaceRenderingSession for GlPlatformSurfaceRenderingSession
impl IGlPlatformSurfaceRenderingSession for GlPlatformSurfaceRenderingSession
Source§fn context(&self) -> Rc<dyn IGlContext>
fn context(&self) -> Rc<dyn IGlContext>
The context the frame is rendered with.
Source§fn is_y_flipped(&self) -> bool
fn is_y_flipped(&self) -> bool
Whether the first row of the framebuffer is its top row.
Auto Trait Implementations§
impl !Freeze for GlPlatformSurfaceRenderingSession
impl !RefUnwindSafe for GlPlatformSurfaceRenderingSession
impl !Send for GlPlatformSurfaceRenderingSession
impl !Sync for GlPlatformSurfaceRenderingSession
impl !UnwindSafe for GlPlatformSurfaceRenderingSession
impl Unpin for GlPlatformSurfaceRenderingSession
impl UnsafeUnpin for GlPlatformSurfaceRenderingSession
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