ShaderEffectMode
enum · ferroui-base · v0.5.0
enum ShaderEffectMode
What the program of a shader effect computes.
Members
ContentSampling
ContentSampling
The program samples the content (the child content) and its output
replaces the content over the area of the effect (a pixelation, a
distortion). Skia draws it as the runtime shader image filter of the
layer of the content, so the content stays a texture of the GPU.
Overlay
Overlay
The program does not sample the content: its output is drawn over the content with the blend mode of the description (a procedural overlay: scan lines, a spotlight), inside the layer of the content, so it blends with the content only; masked by the alpha of the content when the description is masked.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.