![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
Functions | |
bool | RejectDisplayMode (const DXGI_MODE_DESC &desc) noexcept |
std::size_t | ConvertResolution (const DXGI_MODE_DESC &desc) noexcept |
std::size_t | ConvertRefreshRate (const DXGI_MODE_DESC &desc) noexcept |
|
noexcept |
Converts the refresh rate of the given display format descriptor to a std::size_t
.
[in] | desc | A reference to the display format descriptor. |
std::size_t
value corresponding to the refresh rate of the given display format descriptor.
|
noexcept |
Converts the resolution of the given display format descriptor to a std::size_t
.
[in] | desc | A reference to the display format descriptor. |
std::size_t
value corresponding to the resolution of the given display format descriptor.
|
noexcept |
Checks whether the given display mode needs to be rejected.
[in] | desc | A reference to a display mode descriptor. |
true
if the given display mode needs to be rejected. false
otherwise.