WPF BlurEffect Sluggish Performance and FPS -


in code have multiple blureffects applied multiple borders code similar following in onrender method:

        var blureffect = new blureffect();         blureffect.radius = 5;         blureffect.renderingbias = renderingbias.performance;         blureffect.kerneltype = kerneltype.gaussian;         blureffect.freeze();          mainborder.effect = blureffect; 

however, when apply kind of effects multiple elements have noticed sluggish performance , drop of fps under 50. adding more borders effects makes worse.

are there performance tricks can or alternative drawing method can use same blur effect on border, better performance?


Comments

Popular posts from this blog

c# - Attribute value in root node of xml Linq to XML -

android - Retrieve value from radioButtons in alertDialog -

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -