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

AssemblyBinarymission.WPF.Shaders.Library.dll
Root namespaceBinarymission.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"&gt;

    <bm:BandsEffect />

</Window>

API reference

Binarymission.WPF.Shaders.Library.CustomEffects

class BandsEffectA pixel shader effect that lays horizontal bands over its input. The density and strength of the banding are settable.
class ColorBlendEffectA simple color blending shader for WPF.
class ColorToBlackAndWhiteEffectA pixel shader effect that drains color from its input. The desaturation factor controls how far towards grayscale it goes.
class NegativeToPositiveEffectA pixel shader effect that inverts its input, turning a negative image into a positive one.
class PixellatingEffectA simple pixellating shader for WPF.
class PositiveEffectA pixel shader effect that tints its input with a settable color filter.
class RainFloorEffectA 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 TwirlEffectA 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 WaterRippleEffectA pixel shader effect that ripples its input outwards from a settable center point.
class WaterWaveEffectA 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.