A list of all available video modes.
More...
#include <nirtcpp/core/engine/IVideoModeList.hpp>
|
void | setDebugName (const c8 *newName) |
| Sets the debug name of the object.
|
|
A list of all available video modes.
You can get a list via NirtcppDevice::getVideoModeList(). You only need the null device (EDT_NULL) to get the video-modes.
◆ getDesktopDepth()
virtual s32 nirt::video::IVideoModeList::getDesktopDepth |
( |
| ) |
const |
|
pure virtual |
Get the pixel depth of a video mode in bits.
- Returns
- Size of each pixel of the current desktop video mode in bits.
◆ getDesktopResolution()
virtual const core::dimension2d< u32 > & nirt::video::IVideoModeList::getDesktopResolution |
( |
| ) |
const |
|
pure virtual |
Get current desktop screen resolution.
- Returns
- Size of screen in pixels of the current desktop video mode.
◆ getVideoModeCount()
virtual s32 nirt::video::IVideoModeList::getVideoModeCount |
( |
| ) |
const |
|
pure virtual |
Gets amount of video modes in the list.
- Returns
- Returns amount of video modes.
◆ getVideoModeDepth()
virtual s32 nirt::video::IVideoModeList::getVideoModeDepth |
( |
s32 |
modeNumber | ) |
const |
|
pure virtual |
Get the pixel depth of a video mode in bits.
- Parameters
-
modeNumber | zero based index of the video mode. |
- Returns
- Size of each pixel of the specified video mode in bits.
◆ getVideoModeResolution() [1/2]
Get a supported screen size with certain constraints.
- Parameters
-
minSize | Minimum dimensions required. |
maxSize | Maximum dimensions allowed. |
- Returns
- Size of screen in pixels which matches the requirements. as good as possible.
◆ getVideoModeResolution() [2/2]
Get the screen size of a video mode in pixels.
- Parameters
-
modeNumber | zero based index of the video mode. |
- Returns
- Size of screen in pixels of the specified video mode.
The documentation for this class was generated from the following file: