向 RenderTargetBitmap 添加可选硬件加速

发布于 2024-10-10 09:43:44 字数 466 浏览 0 评论 0原文

是否有 RenderTargetBitmap 的替代方案可以生成与 Image.Source & 一起使用的图像? .NET 3.5 sp1 中是否有硬件加速? .NET 4.0 的答案很好,但我可能无法使用它们。

如果人们发现它有帮助,就应该投票支持它……就像我一样。

http:// /dotnet.uservoice.com/forums/40583-wpf-feature-suggestions/suggestions/1303525-add-optional-hardware-acceleration-to-rendertarget

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.

http://dotnet.uservoice.com/forums/40583-wpf-feature-suggestions/suggestions/1303525-add-optional-hardware-acceleration-to-rendertarget

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

逆光飞翔i 2024-10-17 09:43:44

您是否看过 BitmapCacheBrush

该类是硬件加速(在 GPU 上运行)并且可以像任何其他画笔一样使用(只需创建一个矩形并将其 Fill 属性设置为画笔)。

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文