Jump to content
  • Advertisement
Sign in to follow this  
jdub

[SlimDX]EnumerateAdapterModes

This topic is 3501 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have this code:
Format bbFormat = Format.A8B8G8R8;

direct3D.EnumerateAdapterModes ( 0, bbFormat, 0 );


I was wondering, what does the third parameter (modeIndex) mean exactly? I am a bit confused by the documentation on the slimDX site. Also, how do I specify that I want DirectX to use the default adapter on the system?

Share this post


Link to post
Share on other sites
Advertisement
I don't think we have a constant for it but 0 is always the default adapter. The explanation of the ModeIndex parameter is on this page:
Quote:
Mode
[in] Represents the display-mode index which is an unsigned integer between zero and the value returned by IDirect3D9::GetAdapterModeCount minus one.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!