私のコードでは、OnRender メソッドで次のようなコードを使用して、複数の境界線に複数の BlurEffects を適用しています。
var blurEffect = new BlurEffect();
blurEffect.Radius = 5;
blurEffect.RenderingBias = RenderingBias.Performance;
blurEffect.KernelType = KernelType.Gaussian;
blurEffect.Freeze();
MainBorder.Effect = blurEffect;
ただし、この種の効果を複数の要素に適用すると、パフォーマンスが低下し、FPS が 50 未満に低下することに気付きました。効果のある境界線を追加すると、さらに悪化します。
私ができるパフォーマンスのトリックや、境界線で同じぼかし効果を得るために使用できる別の描画方法はありますが、パフォーマンスは向上しますか?