WPF › Shaders Library › ColorBlendEffect
ColorBlendEffect
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Shaders.Library.CustomEffects
A simple color blending shader for WPF.
public class ColorBlendEffect : System.Windows.Media.Effects.ShaderEffect
Inherits from / implements: System.Windows.Media.Effects.ShaderEffect
Members at a glance
ColorBlendEffect | Initializes a new instance of the ColorBlendEffect class. |
BlendColor | The brightness offset. |
Input | The implicit input sampler passed into the pixel shader by WPF. |
BlendColorProperty | The brightness offset. |
InputProperty | The implicit input sampler passed into the pixel shader by WPF. |
Constructors
ColorBlendEffect
public ColorBlendEffect()
Initializes a new instance of the ColorBlendEffect class.
Properties
BlendColor
public virtual System.Windows.Media.Color BlendColor
The brightness offset.
Input
public virtual System.Windows.Media.Brush Input
The implicit input sampler passed into the pixel shader by WPF.
Fields
BlendColorProperty
public static readonly DependencyProperty BlendColorProperty
The brightness offset.
InputProperty
public static readonly DependencyProperty InputProperty
The implicit input sampler passed into the pixel shader by WPF.