Currently, It is impossible in irrlicht to find out what video modes are supported by a machine explicitly. The only available data in getVideoModeList are things pertaining to depth and resolution. There is no information available as to the Device Type.
Feature Request:
add irr::video::E_DRIVER_TYPE irr::video::IVideoList::getVideoModeType( u32 modeNumber ) const;
and irr::video::E_DRIVER_TYPE irr::video::CVideoList::getVideoModeType( u32 modeNumber )const;
and irr::video::E_DRIVER_TYPE irr::video::CVideoList::SVideoList::DriverType;
as well as explicitly declaring the values for irr::video::E_DRIVER_TYPE enumerations.
*EDIT*
Feature Request: Dynamic Video Mode Enumeration
-
- Posts: 224
- Joined: Tue Oct 25, 2005 4:32 pm
- Location: Louisiana, USA, backwater country
- Contact:
Feature Request: Dynamic Video Mode Enumeration
Last edited by rooly on Sat Apr 25, 2009 12:44 am, edited 1 time in total.
When banks compete, you win.
When ISPs compete, you win.
When electronics retailers compete, you win.
When governments compete...you get drafted.
When ISPs compete, you win.
When electronics retailers compete, you win.
When governments compete...you get drafted.
-
- Posts: 368
- Joined: Tue Aug 21, 2007 1:43 am
- Location: The Middle of Nowhere
-
- Posts: 224
- Joined: Tue Oct 25, 2005 4:32 pm
- Location: Louisiana, USA, backwater country
- Contact:
thinking about it real hard, i realize that getVideoModeList is doing exactly what its meant to do.
The problem is the actual explanation of what it does:
"Gets a list with all video modes available."
for getVideoModeList()
I suppose changing the documentation to more obviously
"Gets a list of desktop resolutions and bit depths available to the engine and hardware."
would make the use of this operation a bit more obvious.
I apologize, I was asked a question about using this feature, and was misled in interpreting the function's usage.
The problem is the actual explanation of what it does:
"Gets a list with all video modes available."
for getVideoModeList()
I suppose changing the documentation to more obviously
"Gets a list of desktop resolutions and bit depths available to the engine and hardware."
would make the use of this operation a bit more obvious.
I apologize, I was asked a question about using this feature, and was misled in interpreting the function's usage.
When banks compete, you win.
When ISPs compete, you win.
When electronics retailers compete, you win.
When governments compete...you get drafted.
When ISPs compete, you win.
When electronics retailers compete, you win.
When governments compete...you get drafted.