![]() |
Rise
The Vieneo Province
|
#include <ExteriorRain11.h>
Public Types | |
| using | Vector = DirectX::XMFLOAT3 |
| using | Color = DirectX::XMFLOAT4 |
| using | Matrix = DirectX::XMFLOAT4X4 |
| using | Parameters = ExteriorRain::BasicParameters<Vector,Color> |
Public Member Functions | |
| HRESULT | Initialize (ID3D11Device *device, const std::filesystem::path &shaderDirectory={}) |
| void | Reset () |
| bool | Ready () const |
| void | Update (float elapsed, const Parameters ¶meters, const Matrix &localToWorld) |
| HRESULT | Render (ID3D11DeviceContext *context, ID3D11RenderTargetView *scene, const SceneDepth11 &depth, const D3D11_VIEWPORT &viewport, const Matrix &view, const Matrix &projection, CloudRenderer11 *clouds=nullptr) |
| unsigned | DropCount () const |
| const Color * | Offsets () const |
Private Attributes | |
| CloudPass11 | standalone |
| Microsoft::WRL::ComPtr< ID3D11Buffer > | vertices |
| Microsoft::WRL::ComPtr< ID3D11Buffer > | indices |
| Parameters | parameters |
| double | phases [4][3] {} |
| Color | offsets [4] {} |
| Color | velocities [4] {} |
| unsigned | count =0 |
Definition at line 7 of file ExteriorRain11.h.
| using Rendering::ExteriorRain11::Color = DirectX::XMFLOAT4 |
Definition at line 11 of file ExteriorRain11.h.
| using Rendering::ExteriorRain11::Matrix = DirectX::XMFLOAT4X4 |
Definition at line 12 of file ExteriorRain11.h.
Definition at line 13 of file ExteriorRain11.h.
| using Rendering::ExteriorRain11::Vector = DirectX::XMFLOAT3 |
Definition at line 10 of file ExteriorRain11.h.
|
inline |
| HRESULT Rendering::ExteriorRain11::Initialize | ( | ID3D11Device * | device, |
| const std::filesystem::path & | shaderDirectory = {} ) |
Definition at line 13 of file ExteriorRain11.cpp.
|
inline |
|
inline |
| HRESULT Rendering::ExteriorRain11::Render | ( | ID3D11DeviceContext * | context, |
| ID3D11RenderTargetView * | scene, | ||
| const SceneDepth11 & | depth, | ||
| const D3D11_VIEWPORT & | viewport, | ||
| const Matrix & | view, | ||
| const Matrix & | projection, | ||
| CloudRenderer11 * | clouds = nullptr ) |
Definition at line 74 of file ExteriorRain11.cpp.
| void Rendering::ExteriorRain11::Reset | ( | ) |
Definition at line 42 of file ExteriorRain11.cpp.
| void Rendering::ExteriorRain11::Update | ( | float | elapsed, |
| const Parameters & | parameters, | ||
| const Matrix & | localToWorld ) |
Definition at line 43 of file ExteriorRain11.cpp.
|
private |
Definition at line 28 of file ExteriorRain11.h.
|
private |
Definition at line 24 of file ExteriorRain11.h.
|
private |
Definition at line 27 of file ExteriorRain11.h.
|
private |
Definition at line 25 of file ExteriorRain11.h.
|
private |
Definition at line 26 of file ExteriorRain11.h.
|
private |
Definition at line 23 of file ExteriorRain11.h.
|
private |
Definition at line 27 of file ExteriorRain11.h.
|
private |
Definition at line 24 of file ExteriorRain11.h.