VS 2013中的Directx + xaml Windows应用程序示例 [英] Sample Directx + xaml windows apps in VS 2013

查看:57
本文介绍了VS 2013中的Directx + xaml Windows应用程序示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在VS 2013(多维数据集应用程序)中执行示例Directx + xaml Windows应用程序

I execute Sample Directx + xaml windows apps in VS 2013 (Cube apps)

但是,我在此示例源代码中找不到创建directx设备方法。

But, I cannot found create directx device method in this sample source code.

是否自动创建directx设备?然后,我怎样才能更改  创建
设备时CreateDevice.FPUPreserve标志。

Does automatically create directx device? then, how can I change CreateDevice.FPUPreserve flag when creating the device.

我还有一个问题。 

我发现在执行该示例项目(directx + xaml)时,会创建两个directx设备。为什么要创建两个directx
设备?

推荐答案

嗨Yonghyeok Lee,

Hi Yonghyeok Lee,

我不确定你指的是哪个样本,但据我所知
D3D11CreateDevice
是可以创建directx设备的人。有关详细信息,请访问:

DirectX和XAML互操作

I'm not sure which sample you are referring to, but as I know D3D11CreateDevice is the one that can create directx device. For more information you can get from: DirectX and XAML interop

但我不知道您要问哪个样本因此我无法向您解释为什么会创建两个DX设备。

But I don't know which sample you are asking therefore I cannot explain to you why two DX devices are created.

- 詹姆斯


这篇关于VS 2013中的Directx + xaml Windows应用程序示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆