![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
Public Member Functions | |
| Impl (NotNull< HWND > window, DisplayConfiguration display_configuration) | |
| Impl (const Impl &manager)=delete | |
| Impl (Impl &&manager) noexcept | |
| ~Impl () | |
| Impl & | operator= (const Impl &manager)=delete |
| Impl & | operator= (Impl &&manager)=delete |
| const DisplayConfiguration & | GetDisplayConfiguration () const noexcept |
| SwapChain & | GetSwapChain () noexcept |
| const SwapChain & | GetSwapChain () const noexcept |
| ResourceManager & | GetResourceManager () const noexcept |
| World & | GetWorld () const noexcept |
| void | BindPersistentState () |
| void | Update () |
| void | Render (const GameTime &time) |
Private Member Functions | |
| void | InitializeSystems () |
| void | UninitializeSystems () noexcept |
| void | SetupDevice () |
Private Attributes | |
| NotNull< HWND > | m_window |
| UniquePtr< DisplayConfiguration > | m_display_configuration |
| D3D_FEATURE_LEVEL | m_feature_level |
| ComPtr< D3D11Device > | m_device |
| ComPtr< D3D11DeviceContext > | m_device_context |
| UniquePtr< SwapChain > | m_swap_chain |
| UniquePtr< ResourceManager > | m_resource_manager |
| UniquePtr< World > | m_world |
| UniquePtr< Renderer > | m_renderer |
A class of rendering managers.
|
explicit |
Constructs a rendering manager.
| [in] | window | The main window handle. |
| [in] | display_configuration | The display configuration. |
|
delete |
Constructs a rendering manager from the given rendering manager.
| [in] | manager | A reference to a rendering manager to copy. |
|
defaultnoexcept |
Constructs a rendering manager by moving the given rendering manager.
| [in] | manager | A reference to a rendering manager to move. |
| mage::rendering::Manager::Impl::~Impl | ( | ) |
Destructs this rendering manager.
| void mage::rendering::Manager::Impl::BindPersistentState | ( | ) |
|
noexcept |
Returns the display configuration of this rendering manager.
|
noexcept |
Returns the resource manager of this rendering manager.
|
noexcept |
Returns the swap chain of this rendering manager.
|
noexcept |
Returns the swap chain of this rendering manager.
|
noexcept |
Returns the world of this rendering manager.
|
private |
Initializes the different rendering systems of this rendering manager.
| Exception | Failed to initialize at least one of the different rendering systems of this rendering manager. |
Copies the given rendering manager to this rendering manager.
| [in] | manager | A reference to a rendering manager to copy. |
Moves the given rendering manager to this rendering manager.
| [in] | manager | A reference to a rendering manager to move. |
| void mage::rendering::Manager::Impl::Render | ( | const GameTime & | time | ) |
Renders.
| [in] | time | A reference to the game time. |
| Exception | Failed to render the world of this rendering manager. |
|
private |
Sets up the D3D11 device and context of this rendering manager.
| Exception | Failed to set up the device and device context of this rendering manager. |
|
privatenoexcept |
Uninitializes the different rendering systems of this rendering manager.
| void mage::rendering::Manager::Impl::Update | ( | ) |
Updates this rendering manager.
|
private |
A pointer to the device of this rendering manager.
|
private |
A pointer to the device context of this rendering manager.
|
private |
A pointer to the display configuration of this rendering manager.
|
private |
A pointer to the feature level of this rendering manager.
A pointer to the renderer of this rendering manager.
|
private |
A pointer to the resource manager of this rendering manager.
A pointer to the swap chain of this rendering manager.
|
private |
The handle of the parent window of this rendering manager.