Add optional hardware acceleration to RenderTargetBitmap
-
14-10-2019 - |
Question
Is there an alternative to RenderTargetBitmap that can produce an image to be used with Image.Source & is hardware accelerated in .NET 3.5 sp1? Answers for .NET 4.0 are fine but I may not be able to use them.
People should vote for this if they find it would be helpful... like me.
Solution
Have you looked at BitmapCacheBrush
That class is hardware accelerated (runs on the GPU) and can be used like any other brush (just create a Rectangle and set its Fill property to the brush).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow