Page 1 of 1

How to enumerate possible Resolutio?

Posted: Wed Mar 01, 2006 8:02 am
by Nachtwind
Is it somehow possible to enumerate all possible combinations of resolutions and their corresponding color depth? (C#)

Posted: Wed Mar 01, 2006 11:48 pm
by TSM
you would do this the same way you do any other enumeration.

Posted: Thu Mar 02, 2006 1:20 am
by Braneloc
Not sure if there is a native way to do this with Irrlicht.Net on its own, but if you don't mind using a bit of managed directX, it's relatively straightforward, how-to info is in the MDX devkit somewhere(look in the shared code for "Caps")

In Irrlicht (C++) it is something like irr::video::IVideoModeList or some such rubbish that doesn't seem to be in the Irrlicht.Video namespace.
http://irrlicht.sourceforge.net/phpBB2/ ... erate#5736

Yeah, I know that's not the answer you are looking for, but you could bang out a micro-app / dll to store the info you are looking for, and then pass that out to Irrlicht.Net or whatever if you don't want to use MDX in your main code. (Hint, if you do.. set the MDX DLL to copy to the output directory and don't rely on the user being able to even think about installing it).