获取 Direct3d 渲染流的图像数据

发布于 2024-09-04 10:03:10 字数 150 浏览 1 评论 0原文

我想获取来自 direct3d 应用程序的图像输出的原始图像数据,例如指向字节数组或类似的数据,而不实际将其渲染到监视器。

我需要这样做,以便我可以将 direct3d 渲染为 directshow 源过滤器

Visual studio 2008 c++

I would like to get at the raw image data, as in a pointed to a byte array or something like that, of the image output from a direct3d app without actually rendering it to the monitor.

I need to do this so that I can render direct3d as a directshow source filter

Visual studio 2008 c++

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

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

发布评论

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

评论(2

差↓一点笑了 2024-09-11 10:03:10

Create a surface to which you're going to render as an instance of IDirect3DSurface9. Set it as the target for your rendering with IDirect3DDevice9::SetRenderTarget.

凉世弥音 2024-09-11 10:03:10

您还可以锁定后台缓冲区。

You can also lock the back buffer.

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