Question

I am wondering where the WPF effects such as Blur is defined? They are pixel shaders, right? Is there a way to peek into their implementation?

Was it helpful?

Solution

Look in the PresentationCore.dll assembly, where System.Windows.Media.Effects.Effect and its derivatives are defined. If you take it apart using Reflector you should be able to find the signatures and, hopefully, any implementation details.

It would seem that pixel shaders are effectively used by, well, ShaderEffect...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top