pub enum RenderMode {
Auto,
Software,
Hardware,
Hybrid,
}Expand description
Top-level rendering strategy selectable at startup or dynamically at runtime.
Variants§
Auto
Automatically chooses Hardware GPU when available, falling back to Hybrid then Software.
Software
Pure CPU tile/dirty-rect analytical SDF software rasterizer with zero GPU requirement.
Hardware
Full hardware GPU instanced quad/SDF/glyph batch rendering.
Hybrid
CPU-rasterized dirty texture tiles composited via GPU textured quads.
Trait Implementations§
Source§impl Clone for RenderMode
impl Clone for RenderMode
impl Copy for RenderMode
Source§impl Debug for RenderMode
impl Debug for RenderMode
Source§impl Default for RenderMode
impl Default for RenderMode
impl Eq for RenderMode
Source§impl Hash for RenderMode
impl Hash for RenderMode
Source§impl Ord for RenderMode
impl Ord for RenderMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RenderMode
impl PartialEq for RenderMode
Source§impl PartialOrd for RenderMode
impl PartialOrd for RenderMode
impl StructuralPartialEq for RenderMode
Auto Trait Implementations§
impl Forget for RenderMode
impl Freeze for RenderMode
impl Move for RenderMode
impl RefUnwindSafe for RenderMode
impl Send for RenderMode
impl Sync for RenderMode
impl Unpin for RenderMode
impl UnsafeUnpin for RenderMode
impl UnwindSafe for RenderMode
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