FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BlendEffect

    struct · ferroui-base · v0.5.0

    struct BlendEffect
    

    Mixes a foreground into a background (Win2D BlendEffect).

    View source

    Members

    name

    name: String
    

    The name of the effect.

    Source

    mode

    mode: BlendEffectMode
    

    How the two are mixed (default Multiply).

    Source

    background

    background: Option<GraphicsEffectSource>
    

    The input under the foreground (Direct2D's destination).

    Source

    foreground

    foreground: Option<GraphicsEffectSource>
    

    The input mixed into the background (Direct2D's source).

    Source

    Trait implementations

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

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.