“启用图形捕获”在使用DirectX组件的C#项目中

编程入门 行业动态 更新时间:2024-10-14 12:20:57
本文介绍了“启用图形捕获”在使用DirectX组件的C#项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果您使用DirectX C ++ dll进行渲染,是否有任何方法可以在C#metri应用的VS Developer Preview中启用新的DirectX调试功能? (就我而言,这是SharpDX包装库 - code.google / p / sharpdx / )。

Is there any way to enable the new DirectX debugging features in the VS Developer Previewfrom a C# metriapp if you're using a DirectX C++ dllfor rendering? (In my case, that's the SharpDX wrapper library - code.google/p/sharpdx/).

推荐答案

VS Express开发人员预览版中没有该选项,因此您必须手动添加该选项到你的vcproj文件。

The option is not available from the VS Express developer preview, so you have to add it manually to your vcproj file.

只需添加正确的Debug | AnyCpu PropertyGroup:

Just add inside the correct Debug|AnyCpu PropertyGroup:

< PropertyGroup Condition ="'

<PropertyGroup Condition="'

(配置)|

(平台)'=='调试| AnyCpu'"> ... ... < EnableUnmanagedDebugging> true< / EnableUnmanagedDebugging> < / PropertyGroup> (Platform)' == 'Debug|AnyCpu'"> ... <EnableUnmanagedDebugging>true</EnableUnmanagedDebugging> </PropertyGroup>

您应该能够查看非托管调试消息。

You should be able to view unmanaged debugging messages.

更多推荐

“启用图形捕获”在使用DirectX组件的C#项目中

本文发布于:2023-11-07 23:39:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1567747.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:组件   图形   项目   DirectX

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!