![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <display_configurator.hpp>
Classes | |
class | Impl |
Public Member Functions | |
DisplayConfigurator (DXGI_FORMAT pixel_format=DXGI_FORMAT_R8G8B8A8_UNORM) | |
DisplayConfigurator (ComPtr< DXGIAdapter > adapter, ComPtr< DXGIOutput > output, DXGI_FORMAT pixel_format=DXGI_FORMAT_R8G8B8A8_UNORM) | |
DisplayConfigurator (const DisplayConfigurator &configurator)=delete | |
DisplayConfigurator (DisplayConfigurator &&configurator) noexcept | |
~DisplayConfigurator () | |
DisplayConfigurator & | operator= (const DisplayConfigurator &configurator)=delete |
DisplayConfigurator & | operator= (DisplayConfigurator &&configurator)=delete |
HRESULT | Configure () const |
const DisplayConfiguration * | GetDisplayConfiguration () const noexcept |
Private Attributes | |
UniquePtr< Impl > | m_impl |
A class of display configurators.
|
explicit |
Constructs a display configurator.
[in] | pixel_format | The pixel format. |
|
explicit |
Constructs a display configurator.
[in] | adapter | A pointer to the adapter. |
[in] | output | A pointer to the output. |
[in] | pixel_format | The pixel format. |
|
delete |
Constructs a display configurator from the given display configurator.
[in] | configurator | A reference to a display configurator to copy. |
|
defaultnoexcept |
Constructs a display configurator by moving the given display configurator.
[in] | configurator | A reference to a display configurator to move. |
|
default |
Destructs this display configurator.
HRESULT mage::rendering::DisplayConfigurator::Configure | ( | ) | const |
Configurs the display by enumerating the available display modes and options associated with the adapter output of the physical adapter with the most dedicated video memory.
|
noexcept |
Returns the display configuration of this display configurator.
|
delete |
Copies the given display configurator to this display configurator.
[in] | configurator | A reference to a display configurator to copy. |
|
delete |
Moves the given display configurator to this display configurator.
[in] | configurator | A reference to a display configurator to move. |