How to apply shader to an Bitmap offline with SharpDX
问题 i want to apply a shader to a bitmap (offline processing) with sharpdx. I found a sample on SharpDX homepage to apply an effect to an image with offline processing. Now i want to apply a shader.fx to it but i don't know how to do it. Can anyone help me out? Here are the code snipset: // Effect 1 : BitmapSource - take decoded image data and get a BitmapSource from it var bitmapSourceEffect = new d2.Effects.BitmapSource(d2dContext); bitmapSourceEffect.WicBitmapSource = formatConverter; //