hi,大家好
我现在在制作一个3D DirectX 应用程序,里面涉及到一些画线、画面、纹理的操作
之前我看到Direct2D中看到一些api用起来比较简便
例如:
D2dContext->CreateSolidColorBrush
D2dContext->DrawLine
D2dContext->DrawRectangle
...
可是在Direct3D中,没有这种方式
所以我想咨询能否将Direct2D 糅合在 Direct3D中使用呢?
本人刚开始接触DirectX开发
谢谢解答!
当然是支持的,D2D可以与D3D整合,Direct2D and Direct3D Interoperability Overview
参考这个例子:Direct3D-Direct2D interop sample
Bob Bao [MSFT] MSDN Community Support | Feedback to us
这里人气较差,没有多少回复,我已把你的问题放到这里了。可能会有你想要的答案:
http://ask.metrofeng.com/?/question/32
做一个WPer!