FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Win32CompositionMode

    enum · ferroui-win32 · v0.5.0

    enum Win32CompositionMode
    

    Represents the Win32 window composition mode.

    View source

    Members

    WinUIComposition

    WinUIComposition = 1
    

    Render to a texture inside the Windows.UI.Composition tree.

    Supported on Windows 10 build 17134 and above. Ignored on other versions. This is recommended option, as it allows window acrylic effects and high refresh rate rendering. Can only be applied with Win32RenderingMode::AngleEgl.

    Source

    DirectComposition

    DirectComposition = 2
    

    Render to a texture inside the DirectComposition tree.

    Supported on Windows 8 and above. Ignored on other versions. Can only be applied with Win32RenderingMode::AngleEgl.

    Source

    LowLatencyDxgiSwapChain

    LowLatencyDxgiSwapChain = 3
    

    When LowLatencyDxgiSwapChain is active, renders to a swap chain using a DXGI waitable object, which is non blocking, and gives the lowest input latency.

    Requires Windows 8 and above. Can only be applied with Win32RenderingMode::AngleEgl.

    Source

    RedirectionSurface

    RedirectionSurface = 4
    

    The window renders to a redirection surface.

    This option is kept only for compatibility with older systems. Some features (like transparency) might not work.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • IUnknownImpl
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

    Extracted for aarch64-apple-darwin, x86_64-pc-windows-msvc. Cargo features are listed in the crate index.