Skip to main content
gamedev.net
🔒 Locked

Adapter format

Started by noatom 0 replies 900+ views
Original Post
noatom
noatom
So I'm converting some old direct3d 9 code to direct3d 11,and I need to retrieve some information like:
the adapter display modes
enumerate the available displays
and list the possible adapter formats

Now,I know how to do the first 2,but the last one...I don't really understand what it means.Don't we setup the format just for the backbuffer? What is the adapter format? Is it the format in which the adapter works with all the data?
cozzie
cozzie
Hi, In d3d9 fullscreen the adapter format is always the same as backbufferformat (surface). Also works windowed, but there you can use other combinations. I'd assume the same goes for d3d11. Don't forget to check if the device supports the format. You can check dx11 sdk docs which function might return the possibilities or use the device caps.
Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.