XNA - 在表单中嵌入 DirectX 控件? [英] XNA - Embed DirectX control in a form?
本文介绍了XNA - 在表单中嵌入 DirectX 控件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将 DirectX(好吧,XNA)的东西渲染到 system.windows.forms 控件而不是整个窗口(这样我就可以将它与按钮和东西配对).
这可能吗?我会使用哪个控件?我该怎么做?我已经搜索了文档,但我不知道我打算使用哪些术语!
解决方案
是的,这是可能的.有一个 sample 就是这样做的.>
I want to render DirectX (well, XNA) stuff to a system.windows.forms control rather than the whole window (so I can pair it with buttons and stuff).
Is this possible? Which control would I use? How would I do it? I've searched the documentation but I don't know which terms I'm meant to use!
解决方案
Yes, it's possible. There's a sample that does just this.
这篇关于XNA - 在表单中嵌入 DirectX 控件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文