effects
module · ferroui-base · v0.5.0
module effects
The effects of the WinUI composition API (phase 6, scoped): the effect descriptions an effect factory is made from (the FerroUI form of the Win2D effects WinUI takes), the factory, and the loaded graph its brushes draw.
The descriptions are the effects the drawing contexts of FerroUI can
express: a Gaussian blur (the blur effect of the drawing context), an
opacity, a cross-fade of two sources, composites in every mode but
MaskInvert, a colour fill, blends, colour matrices (saturation, tint,
invert, grayscale, sepia, linear transfer, luminance to alpha), an arithmetic composite with a
colour, an alpha mask, a border that tiles a surface, a matrix convolution and scene lighting
(winui-materials.md). A graph with another effect or mode loads with the
status Other, and its brushes draw nothing.
Contents
CompositionEffectFactory— structCompositionEffectFactoryError— enumCompositionEffectFactoryLoadStatus— enumcustom_effect_graph_padding— functionpop_custom_effect_graph— functionpush_custom_effect_graph— functionblur_amount_to_radius— functioneffect_prewarm_names— functionregister_effect_prewarm— functionAlphaMaskEffect— structArithmeticCompositeEffect— structBlendEffect— structBlendEffectMode— enumBorderEffect— structCanvasComposite— enumCanvasEdgeBehavior— enumColorMatrixEffect— structColorSourceEffect— structCompositeEffect— structCompositionEffectSourceParameter— structConvolveMatrixEffect— structCrossFadeEffect— structEffectBorderMode— enumEffectOptimization— enumGaussianBlurEffect— structGraphicsEffect— enumGraphicsEffectSource— enumGrayscaleEffect— structInvertEffect— structLinearTransferEffect— structLuminanceToAlphaEffect— structOpacityEffect— structSaturationEffect— structSceneLightingEffect— structSepiaEffect— structShadowEffect— structTintEffect— struct
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.