WPF › Shaders Library › PixellatingEffect
PixellatingEffect
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Shaders.Library.CustomEffects
A simple pixellating shader for WPF.
public class PixellatingEffect : System.Windows.Media.Effects.ShaderEffect
Inherits from / implements: System.Windows.Media.Effects.ShaderEffect
Members at a glance
PixellatingEffect | Initializes a new instance of the PixellatingEffect class. |
HorizontalPixelCounts | The X axis pixel count. |
ImplicitInputSampler | The implicit input sampler passed into the pixel shader by WPF. |
VerticalPixelCounts | The Y axis pixel count. |
HorizontalPixelCountsProperty | The X axis pixel count. |
ImplicitInputSamplerProperty | The implicit input sampler passed into the pixel shader by WPF. |
VerticalPixelCountsProperty | The Y axis pixel count. |
Constructors
PixellatingEffect
public PixellatingEffect()
Initializes a new instance of the PixellatingEffect class.
Properties
HorizontalPixelCounts
public virtual float HorizontalPixelCounts
The X axis pixel count.
ImplicitInputSampler
public virtual System.Windows.Media.Brush ImplicitInputSampler
The implicit input sampler passed into the pixel shader by WPF.
VerticalPixelCounts
public virtual float VerticalPixelCounts
The Y axis pixel count.
Fields
HorizontalPixelCountsProperty
public static readonly DependencyProperty HorizontalPixelCountsProperty
The X axis pixel count.
ImplicitInputSamplerProperty
public static readonly DependencyProperty ImplicitInputSamplerProperty
The implicit input sampler passed into the pixel shader by WPF.
VerticalPixelCountsProperty
public static readonly DependencyProperty VerticalPixelCountsProperty
The Y axis pixel count.