WPF › Shaders Library
Shaders Library
.NET Framework 4.8.NET 6 / 8 / 10WPF
Binarymission's custom Shaders library used in Binarymission Controls for WPF
10public types
57public members
1namespaces
Assembly
| Assembly | Binarymission.WPF.Shaders.Library.dll |
| Root namespace | Binarymission.WPF.Shaders.Library |
| Target frameworks | .NET Framework 4.8, .NET 6 / 8 / 10 |
Getting started
<Window x:Class="MyApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:bm="clr-namespace:Binarymission.WPF.Shaders.Library;assembly=Binarymission.WPF.Shaders.Library">
<bm:BandsEffect />
</Window>
API reference
Binarymission.WPF.Shaders.Library.CustomEffects
class BandsEffect | A pixel shader effect that lays horizontal bands over its input. The density and strength of the banding are settable. |
class ColorBlendEffect | A simple color blending shader for WPF. |
class ColorToBlackAndWhiteEffect | A pixel shader effect that drains color from its input. The desaturation factor controls how far towards grayscale it goes. |
class NegativeToPositiveEffect | A pixel shader effect that inverts its input, turning a negative image into a positive one. |
class PixellatingEffect | A simple pixellating shader for WPF. |
class PositiveEffect | A pixel shader effect that tints its input with a settable color filter. |
class RainFloorEffect | A pixel shader effect that puts a rain-on-a-wet-floor distortion over its input. The activity factor drives it, so animating that property animates the rain. |
class TwirlEffect | A pixel shader effect that twists its input around its center. The radius sets how much of the image is caught up in the twist and the angle sets how far it turns. |
class WaterRippleEffect | A pixel shader effect that ripples its input outwards from a settable center point. |
class WaterWaveEffect | A pixel shader effect that rolls a wave across its input and tints it. The wave factor drives the motion, so animating it animates the wave. |