Jump to content


[Direct3D9] How do you get the adapter format?


3 replies to this topic

#1 Phlex

    Member

  • Members
  • PipPip
  • 53 posts

Posted 12 January 2009 - 04:47 PM

How do you get the adapter format, is there a function in the device or object or something that will return the D3DFORMAT that I'm looking for? I know DXUT can do it, but I don't want to use DXUT.

Thanks

#2 Goz

    Senior Member

  • Members
  • PipPipPipPip
  • 575 posts

Posted 14 January 2009 - 09:58 PM

IDirect3D9::GetAdapterDisplayMode?

#3 imerso

    Senior Member

  • Members
  • PipPipPipPip
  • 431 posts
  • LocationBrasil

Posted 14 January 2009 - 11:01 PM

May it be IDirect3D9::CheckDeviceFormat ( http://msdn.microsof...309(VS.85).aspx ) that you're looking for?

#4 Phlex

    Member

  • Members
  • PipPip
  • 53 posts

Posted 17 January 2009 - 02:08 AM

Goz, I think that's right, I'll try it out, vrnunes, I'm not sure that is what I'm looking for as it checks if you can support a format for a surface it looks like.

Thanks guys





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users