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?
Asked
Active
Viewed 304 times
2

Joan Venge
- 315,713
- 212
- 479
- 689
-
1Well, [`System.Windows.Media.Effects.Effect`](http://msdn.microsoft.com/en-us/library/system.windows.media.effects.effect.aspx) lives in the PresentationCore.dll assembly. Maybe if you decompiled that... – BoltClock Jul 01 '12 at 21:43
-
Thanks Bolt, yes. I wasn't sure where they were. Just wanted to take a look in the reflector :O – Joan Venge Jul 01 '12 at 21:50
-
It looks like it's an unmanaged/unsafe effect. I guess they did it for performance reasons. – Joan Venge Jul 01 '12 at 21:55
-
I posted my comment as answer. – BoltClock Jul 02 '12 at 03:00
1 Answers
3
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
...

BoltClock
- 700,868
- 160
- 1,392
- 1,356