Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::ExteriorRain11 Class Reference

#include <ExteriorRain11.h>

Collaboration diagram for Rendering::ExteriorRain11:
[legend]

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 &parameters, 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

Detailed Description

Definition at line 7 of file ExteriorRain11.h.

Member Typedef Documentation

◆ Color

using Rendering::ExteriorRain11::Color = DirectX::XMFLOAT4

Definition at line 11 of file ExteriorRain11.h.

◆ Matrix

using Rendering::ExteriorRain11::Matrix = DirectX::XMFLOAT4X4

Definition at line 12 of file ExteriorRain11.h.

◆ Parameters

◆ Vector

using Rendering::ExteriorRain11::Vector = DirectX::XMFLOAT3

Definition at line 10 of file ExteriorRain11.h.

Member Function Documentation

◆ DropCount()

unsigned Rendering::ExteriorRain11::DropCount ( ) const
inline

Definition at line 20 of file ExteriorRain11.h.

Here is the caller graph for this function:

◆ Initialize()

HRESULT Rendering::ExteriorRain11::Initialize ( ID3D11Device * device,
const std::filesystem::path & shaderDirectory = {} )

Definition at line 13 of file ExteriorRain11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Offsets()

const Color * Rendering::ExteriorRain11::Offsets ( ) const
inline

Definition at line 21 of file ExteriorRain11.h.

Here is the caller graph for this function:

◆ Ready()

bool Rendering::ExteriorRain11::Ready ( ) const
inline

Definition at line 16 of file ExteriorRain11.h.

Here is the caller graph for this function:

◆ Render()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reset()

void Rendering::ExteriorRain11::Reset ( )

Definition at line 42 of file ExteriorRain11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Update()

void Rendering::ExteriorRain11::Update ( float elapsed,
const Parameters & parameters,
const Matrix & localToWorld )

Definition at line 43 of file ExteriorRain11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ count

unsigned Rendering::ExteriorRain11::count =0
private

Definition at line 28 of file ExteriorRain11.h.

◆ indices

Microsoft::WRL::ComPtr<ID3D11Buffer> Rendering::ExteriorRain11::indices
private

Definition at line 24 of file ExteriorRain11.h.

◆ offsets

Color Rendering::ExteriorRain11::offsets[4] {}
private

Definition at line 27 of file ExteriorRain11.h.

◆ parameters

Parameters Rendering::ExteriorRain11::parameters
private

Definition at line 25 of file ExteriorRain11.h.

◆ phases

double Rendering::ExteriorRain11::phases[4][3] {}
private

Definition at line 26 of file ExteriorRain11.h.

◆ standalone

CloudPass11 Rendering::ExteriorRain11::standalone
private

Definition at line 23 of file ExteriorRain11.h.

◆ velocities

Color Rendering::ExteriorRain11::velocities[4] {}
private

Definition at line 27 of file ExteriorRain11.h.

◆ vertices

Microsoft::WRL::ComPtr<ID3D11Buffer> Rendering::ExteriorRain11::vertices
private

Definition at line 24 of file ExteriorRain11.h.


The documentation for this class was generated from the following files: