![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <rendering_manager.hpp>
Classes | |
class | Impl |
Public Member Functions | |
Manager (NotNull< HWND > window, DisplayConfiguration configuration) | |
Manager (const Manager &manager)=delete | |
Manager (Manager &&manager) noexcept | |
~Manager () | |
Manager & | operator= (const Manager &manager)=delete |
Manager & | operator= (Manager &&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 Attributes | |
UniquePtr< Impl > | m_impl |
A class of rendering managers.
|
explicit |
Constructs a rendering manager.
[in] | window | The main window handle. |
[in,out] | 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. |
|
default |
Destructs this rendering manager.
void mage::rendering::Manager::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.
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::Render | ( | const GameTime & | time | ) |
Renders.
[in] | time | A reference to the game time. |
Exception | Failed to render the world of this rendering manager. |
void mage::rendering::Manager::Update | ( | ) |
Updates this rendering manager.