HypernovaDesktop Components · docs
Binarymission
WPFShaders 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

ColorBlendEffectInitializes a new instance of the ColorBlendEffect class.
BlendColorThe brightness offset.
InputThe implicit input sampler passed into the pixel shader by WPF.
BlendColorPropertyThe brightness offset.
InputPropertyThe 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.