Skip to main content
gamedev.net
🔒 Locked

enumerating hardware

Started by Sephirox 1 reply 300+ views
Original Post
Sephirox
Sephirox
hi, can anyone point me at a tutorial or article or anything that will explain how to enumerate hardware with direct3d? i want to allow the user to pick which adpater, what resolution, and all that stuff thx
Saandman
Saandman
Selecting a device MSDN

[google]

The accompaning SDK docs are life-savers..

Check IDirect3D9::EnumAdapterModes() for example
IDirect3D9::GetAdapterDisplayMode()

[Edited by - Saandman on July 12, 2004 1:12:43 AM]
________pro.gram.mer - an organism that turns caffeine into code
circlesoft
circlesoft
Great examples of doing this can be found in the source code to the sample framework. All of the following things are enumerated, and displayed in a GUI so the user can choose their options:
AdapterRender Device (ie HAL, REF)Adapter Format (ie D3DFMT_X8R8G8B8 )ResolutionsRefresh RatesBackbuffer Format (ie D3DFMT_X8R8G8B8 )Depth/Stencil Buffer Format (ie D3DFMT_D16)Multisample Type (ie D3DMULTISAMPLE_NONE)Multisample QualityVertex Processing ModePresent Interval

Topic Locked

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

Sign in to reply to this topic.