Is there a way to determine in run-time the possible resolutions a computer supports for full-screen mode?
I'm making a video settings menu and I want to populate it only with the right options...
I would also like to know how I determine if certain features are supported, e.g. parallax mapping (my laptop doesn't like it, but I still want to enable it for people with proper video cards)...
Determine legal resolution for full screen mode
Re: Determine legal resolution for full screen mode
IrrlichtDevice::getVideoModeList returns the supported resolutions. You can create a dummy device to get them.
Some example where I used it in the InitVideoModes function: https://bitbucket.org/mzeilfelder/trunk ... at=default
Some example where I used it in the InitVideoModes function: https://bitbucket.org/mzeilfelder/trunk ... at=default
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Determine legal resolution for full screen mode
To determine whether certain features are supported, you can use IVideoDriver::queryFeature().
Re: Determine legal resolution for full screen mode
Thank you very much!