![]() |
MAGE
v0.171.0
Matthias Advanced Game Engine
|
#include <sky_pass.hpp>
Public Member Functions | |
SkyPass (ID3D11DeviceContext &device_context, StateManager &state_manager, ResourceManager &resource_manager) | |
SkyPass (const SkyPass &pass)=delete | |
SkyPass (SkyPass &&pass) noexcept | |
~SkyPass () | |
SkyPass & | operator= (const SkyPass &pass)=delete |
SkyPass & | operator= (SkyPass &&pass) noexcept |
void | Render (ID3D11ShaderResourceView *sky) const noexcept |
Private Member Functions | |
void | BindFixedState () const noexcept |
Private Attributes | |
std::reference_wrapper< ID3D11DeviceContext > | m_device_context |
std::reference_wrapper< StateManager > | m_state_manager |
VertexShaderPtr | m_vs |
PixelShaderPtr | m_ps |
A class of sky passes for rendering sky domes to screen.
|
explicit |
Constructs a sky 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 sky pass from the given sky pass.
[in] | pass | A reference to the sky pass to copy. |
|
defaultnoexcept |
Constructs a sky pass by moving the given sky pass.
[in] | pass | A reference to the sky pass to move. |
|
default |
Destructs this sky pass.
|
privatenoexcept |
Binds the fixed state of this sky pass.
Copies the given sky pass to this sky pass.
[in] | pass | A reference to the sky pass to copy. |
Moves the given sky pass to this sky pass.
[in] | pass | A reference to the sky pass to move. |
|
noexcept |
Renders the given world.
[in] | sky | A pointer to the SRV of the sky. |
|
private |
A reference to the device context of this sky pass.
|
private |
A pointer to the pixel shader of this sky pass.
|
private |
A reference to the state manager of this sky pass.
|
private |
A pointer to the vertex shader of this sky pass.