locked
How to know the driver type?

    Question

  • Hi all,

    After get Texture2D from IMFDXGIBuffer, then I got the ID3D11Device by this texture2D,

    Could I know the driver type ( D3D_DRIVER_TYPE ) from the ID3D11Device?

    Thanks!

    Monday, January 6, 2014 12:03 PM

Answers

  • I don't see any functions on that object that would return this, but you can check the driver features according to the documentation:

    http://msdn.microsoft.com/en-us/library/windows/desktop/ff476497(v=vs.85).aspx

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, January 7, 2014 1:28 PM
    Moderator