ColorMatrixEffect
struct · ferroui-base · v0.5.0
struct ColorMatrixEffect
Transforms the colours of its source by a matrix (Win2D
ColorMatrixEffect).
Members
name
name: String
The name of the effect.
color_matrix
color_matrix: crate::media::ColorMatrix
The matrix (default the identity).
alpha_mode
alpha_mode: crate::media::ColorMatrixAlphaMode
Whether the matrix applies to premultiplied or straight colours (default premultiplied).
clamp_output
clamp_output: bool
Whether the output is clamped to 0..1 (default false; the drawing
contexts always clamp).
source
source: Option<GraphicsEffectSource>
The input.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<ColorMatrixEffect>CloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.