14 const D3D11_VIEWPORT& viewport,
const DirectX::XMFLOAT4X4& view,
const DirectX::XMFLOAT4X4& projection,
17 Microsoft::WRL::ComPtr<ID3D11Device>
device;
18 Microsoft::WRL::ComPtr<ID3DDeviceContextState>
state;
19 Microsoft::WRL::ComPtr<ID3D11RasterizerState>
raster;
20 Microsoft::WRL::ComPtr<ID3D11DepthStencilState>
depthState;
21 Microsoft::WRL::ComPtr<ID3D11BlendState>
blend;
23 Microsoft::WRL::ComPtr<ID3D11ShaderResourceView>
flow;
Microsoft::WRL::ComPtr< ID3D11Device > device
Microsoft::WRL::ComPtr< ID3D11Buffer > vertices
HRESULT Render(ID3D11DeviceContext *context, ID3D11RenderTargetView *scene, const SceneDepth11 &depth, const D3D11_VIEWPORT &viewport, const DirectX::XMFLOAT4X4 &view, const DirectX::XMFLOAT4X4 &projection, const ReentryEnvelope::Mesh &mesh, float strength, float time, float transmission, float visibilityKm)
Microsoft::WRL::ComPtr< ID3D11SamplerState > flowSampler
Microsoft::WRL::ComPtr< ID3DDeviceContextState > state
Microsoft::WRL::ComPtr< ID3D11RasterizerState > raster
Microsoft::WRL::ComPtr< ID3D11DepthStencilState > depthState
Microsoft::WRL::ComPtr< ID3D11ShaderResourceView > flow
Microsoft::WRL::ComPtr< ID3D11Buffer > indices
Microsoft::WRL::ComPtr< ID3D11BlendState > blend
HRESULT Initialize(ID3D11Device *device, const std::filesystem::path &directory={})