![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <output_manager.hpp>
Public Member Functions | |
OutputManager (ID3D11Device &device, DisplayConfiguration &display_configuration, SwapChain &swap_chain) | |
OutputManager (const OutputManager &manager)=delete | |
OutputManager (OutputManager &&manager) noexcept | |
~OutputManager () | |
OutputManager & | operator= (const OutputManager &manager)=delete |
OutputManager & | operator= (OutputManager &&manager) noexcept |
void | BindBegin (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginViewport (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginGBuffer (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndGBuffer (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginDeferred (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndDeferred (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginForward (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndForward (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginResolve (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndResolve (ID3D11DeviceContext &device_context) const noexcept |
void | BindBeginPostProcessing (ID3D11DeviceContext &device_context) const noexcept |
void | BindPingPong (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndPostProcessing (ID3D11DeviceContext &device_context) const noexcept |
void | BindEndViewport (ID3D11DeviceContext &device_context) const noexcept |
void | BindGUI (ID3D11DeviceContext &device_context) const noexcept |
void | BindEnd (ID3D11DeviceContext &device_context) const noexcept |
Private Member Functions | |
ID3D11ShaderResourceView * | GetSRV (SRVIndex index) const noexcept |
NotNull< ID3D11ShaderResourceView **> | ReleaseAndGetAddressOfSRV (SRVIndex index) noexcept |
ID3D11RenderTargetView * | GetRTV (RTVIndex index) const noexcept |
NotNull< ID3D11RenderTargetView **> | ReleaseAndGetAddressOfRTV (RTVIndex index) noexcept |
ID3D11UnorderedAccessView * | GetUAV (UAVIndex index) const noexcept |
NotNull< ID3D11UnorderedAccessView **> | ReleaseAndGetAddressOfUAV (UAVIndex index) noexcept |
void | SetupBuffers () |
void | SetupBuffer (const U32x3 &resolution, DXGI_FORMAT format, ID3D11ShaderResourceView **srv, ID3D11RenderTargetView **rtv, ID3D11UnorderedAccessView **uav) |
void | SetupDepthBuffer (const U32x3 &resolution) |
Private Attributes | |
std::reference_wrapper< DisplayConfiguration > | m_display_configuration |
std::reference_wrapper< ID3D11Device > | m_device |
std::reference_wrapper< SwapChain > | m_swap_chain |
ComPtr< ID3D11ShaderResourceView > | m_srvs [static_cast< std::size_t >(SRVIndex::Count)] |
ComPtr< ID3D11RenderTargetView > | m_rtvs [static_cast< std::size_t >(RTVIndex::Count)] |
ComPtr< ID3D11UnorderedAccessView > | m_uavs [static_cast< std::size_t >(UAVIndex::Count)] |
ComPtr< ID3D11DepthStencilView > | m_dsv |
bool | m_hdr0_to_hdr1 |
bool | m_msaa |
bool | m_ssaa |
A class of output managers.
|
strongprivate |
|
strongprivate |
|
strongprivate |
|
explicit |
Constructs a output manager.
[in] | device | A reference to the device. |
[in] | display_configuration | A reference to the display configuration. |
[in] | swap_chain | A reference to the swap chain. |
Exception | Failed to setup the rendering outputs of this output manager. |
|
delete |
Constructs a output manager from the given output manager.
[in] | manager | A reference to the output manager to copy. |
|
defaultnoexcept |
Constructs a output manager by moving the given output manager.
[in] | manager | A reference to the output manager to move. |
|
default |
Destructs this output manager.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
delete |
Copies the given output manager to this output manager.
[in] | manager | A reference to the output manager to copy. |
|
defaultnoexcept |
Moves the given output manager to this output manager.
[in] | manager | A reference to the output manager to move. |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
mutableprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |