![]() |
Rise
The Vieneo Province
|
#include <WindshieldRainRenderer.h>
Public Types | |
| using | Vertex = Rendering::WindshieldRain11::Vertex |
| using | DepthLayout = Rendering::WindshieldRain11::DepthLayout |
Public Member Functions | |
| void | Clear () |
| void | SetSimulator (bool value) |
| void | SetGlassCondition (int condition) |
| void | AddGlass (int component, const Vertex *vertices, size_t count) |
| void | AddWiper (int component, const Vertex *vertices, size_t count) |
| void | FinishGeometry () |
| void | Update (float elapsed, float rain, const RiseMath::Vector3 &acceleration, const RiseMath::Vector3 &wind, const std::vector< RiseMath::Matrix > &transforms, float density, bool wiping, float rainAir=0) |
| HRESULT | Render (Rendering::RenderDevice *device, Rendering::RenderMaterial *material, const std::vector< RiseMath::Matrix > &world, const RiseMath::Matrix &viewProjection, float opacity=1, DepthLayout layout=DepthLayout::Unified, float cockpitLight=0, ID3D11RenderTargetView *adExclusion=nullptr) |
| void | OnLostDevice () |
| size_t | PaneCount () const |
| bool | Wet () const |
| float | Wetness () const |
Static Public Member Functions | |
| static RiseMath::Matrix | ToPhysicsTransform (const RiseMath::Matrix &value) |
| static WindshieldRain::Point | ProjectAcceleration (const RiseMath::Vector3 &acceleration, const RiseMath::Matrix &inverse, const RiseMath::Vector3 &normal, const RiseMath::Vector3 &u, const RiseMath::Vector3 &v) |
| template<class Draw> | |
| static HRESULT | DrawCockpitGlass (Rendering::RenderDevice *device, Draw draw) |
Private Attributes | |
| Rendering::WindshieldRain11 | renderer |
| Microsoft::WRL::ComPtr< ID3D11Device > | nativeDevice |
Definition at line 4 of file WindshieldRainRenderer.h.
Definition at line 8 of file WindshieldRainRenderer.h.
Definition at line 7 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 16 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 17 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 13 of file WindshieldRainRenderer.h.
|
inlinestatic |
Definition at line 21 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 18 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 47 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 48 of file WindshieldRainRenderer.h.
|
inlinestatic |
| HRESULT WindshieldRainRenderer::Render | ( | Rendering::RenderDevice * | device, |
| Rendering::RenderMaterial * | material, | ||
| const std::vector< RiseMath::Matrix > & | world, | ||
| const RiseMath::Matrix & | viewProjection, | ||
| float | opacity = 1, | ||
| DepthLayout | layout = DepthLayout::Unified, | ||
| float | cockpitLight = 0, | ||
| ID3D11RenderTargetView * | adExclusion = nullptr ) |
Definition at line 8 of file WindshieldRainRenderer.cpp.
Definition at line 15 of file WindshieldRainRenderer.h.
|
inline |
Definition at line 14 of file WindshieldRainRenderer.h.
|
inlinestatic |
Definition at line 9 of file WindshieldRainRenderer.h.
| void WindshieldRainRenderer::Update | ( | float | elapsed, |
| float | rain, | ||
| const RiseMath::Vector3 & | acceleration, | ||
| const RiseMath::Vector3 & | wind, | ||
| const std::vector< RiseMath::Matrix > & | transforms, | ||
| float | density, | ||
| bool | wiping, | ||
| float | rainAir = 0 ) |
Definition at line 2 of file WindshieldRainRenderer.cpp.
|
inline |
Definition at line 49 of file WindshieldRainRenderer.h.
|
inline |
|
private |
Definition at line 53 of file WindshieldRainRenderer.h.
|
private |
Definition at line 52 of file WindshieldRainRenderer.h.