![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <aa_pass.hpp>
Public Member Functions | |
AAPass (ID3D11DeviceContext &device_context, StateManager &state_manager, ResourceManager &resource_manager) | |
AAPass (const AAPass &pass)=delete | |
AAPass (AAPass &&pass) noexcept | |
~AAPass () | |
AAPass & | operator= (const AAPass &pass)=delete |
AAPass & | operator= (AAPass &&pass) noexcept |
void | DispatchPreprocess (const U32x2 &viewport_size, AntiAliasing aa) |
void | Dispatch (const U32x2 &viewport_size, AntiAliasing aa) |
Private Attributes | |
std::reference_wrapper< ID3D11DeviceContext > | m_device_context |
std::reference_wrapper< StateManager > | m_state_manager |
std::reference_wrapper< ResourceManager > | m_resource_manager |
A class of AA passes for performing AA.
|
explicit |
Constructs a AA pass.
[in,out] | device_context | A reference to the device context. |
[in,out] | state_manager | A reference to the state manager. |
[in,out] | resource_manager | A reference to the resource manager. |
|
delete |
Constructs a AA pass from the given AA pass.
[in] | pass | A reference to the AA pass to copy. |
|
defaultnoexcept |
Constructs a AA pass by moving the given AA shading pass.
[in] | pass | A reference to the AA pass to move. |
|
default |
Destructs this AA pass.
void mage::rendering::AAPass::Dispatch | ( | const U32x2 & | viewport_size, |
AntiAliasing | aa | ||
) |
Dispatches an AA pass.
[in] | viewport_size | A reference to the viewport size. |
[in] | aa | The anti-aliasing mode. |
Exception | Failed to render the world. |
void mage::rendering::AAPass::DispatchPreprocess | ( | const U32x2 & | viewport_size, |
AntiAliasing | aa | ||
) |
Dispatches an AA preprocess.
[in] | viewport_size | A reference to the viewport size. |
[in] | aa | The anti-aliasing mode. |
Exception | Failed to render the world. |
Copies the given AA pass to this AA pass.
[in] | pass | A reference to the AA pass to copy. |
Moves the given AA pass to this AA pass.
[in] | pass | A reference to the AA pass to move. |
|
private |
A reference to the device context of this AA pass.
|
private |
A reference to the resource manager of this AA pass.
|
private |
A reference to the state manager of this AA pass.