D3DImage using DX10

后端 未结 3 1496
终归单人心
终归单人心 2021-01-12 00:35

Is it possible to use DirectX 10 (I am using SlimDX) with WPF\'s D3DImage? The only examples and docs I can find only show using DX9 surfaces.

3条回答
  •  盖世英雄少女心
    2021-01-12 01:22

    Not out of the box as far as I know. WPF is based on DirectX, but as WPF is also supported on Windows XP it's based on DirectX 9.

    I do know that it's possible to use DirectX 10 with WPF, but then your application won't be able to run on XP.

    There's a library for WPF called Bling which supports DirectX 10 (on Vista and Windows 7) which might be of interest to you. You can find it here. I don't know how mature it is though.

    Also, I ran into this blog (mostly in french) who speaks about using DirectX 10 with WPF.

    Lastly there's a good introduction to using D3DImage with DirectX over at CodeProject

    I know this doesn't exactly answer your question, but I thought I'd share it with you anyways. Best of luck.

提交回复
热议问题