How to enumerate possible Resolutio?

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Nachtwind
Posts: 8
Joined: Tue Feb 07, 2006 11:37 am

How to enumerate possible Resolutio?

Post by Nachtwind »

Is it somehow possible to enumerate all possible combinations of resolutions and their corresponding color depth? (C#)
Quite obviously, our problems do not come from what we invent, but from how we use our sophisticated toys. The difficulties stem not from our hardware or software, but from ourselves.
TSM

Post by TSM »

you would do this the same way you do any other enumeration.
Braneloc
Posts: 68
Joined: Fri Jan 20, 2006 5:12 am
Location: England
Contact:

Post 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).
Sometimes you've just gotta say, the laws of time and space, who gives a smeg ?!

Irrlicht.Net Information - http://www.irrforge.org/index.php/.net
Irrlicht# (aka the C# port) - http://irrlichtsharp.sourceforge.net
Locked