pub struct MetalDrawingSession { /* private fields */ }Expand description
One frame drawn to the Metal render target of a top-level; releasing the native session presents the frame.
Trait Implementations§
Source§impl IMetalPlatformSurfaceRenderingSession for MetalDrawingSession
impl IMetalPlatformSurfaceRenderingSession for MetalDrawingSession
Source§fn is_y_flipped(&self) -> bool
fn is_y_flipped(&self) -> bool
Whether the texture’s origin is its bottom-left corner.
Auto Trait Implementations§
impl !Freeze for MetalDrawingSession
impl !RefUnwindSafe for MetalDrawingSession
impl !Send for MetalDrawingSession
impl !Sync for MetalDrawingSession
impl Unpin for MetalDrawingSession
impl UnsafeUnpin for MetalDrawingSession
impl UnwindSafe for MetalDrawingSession
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