PDA

View Full Version : [Direct3D9] How do you get the adapter format?


Phlex
01-12-2009, 08:47 AM
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

Goz
01-14-2009, 01:58 PM
IDirect3D9::GetAdapterDisplayMode?

vrnunes
01-14-2009, 03:01 PM
May it be IDirect3D9::CheckDeviceFormat ( http://msdn.microsoft.com/en-us/library/bb174309(VS.85).aspx ) that you're looking for?

Phlex
01-16-2009, 06:08 PM
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