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

#include <CloudTemporal11.h>

Collaboration diagram for Rendering::CloudTemporal11:
[legend]

Classes

struct  Frame
struct  Target

Public Member Functions

HRESULT Initialize (ID3D11Device *native, const std::filesystem::path &shaders)
void ResetHistory ()
void ReleaseTargets ()
void Reset ()
HRESULT BeginFrame (const Frame &frame, unsigned fullWidth, unsigned fullHeight, unsigned sampleWidth, unsigned sampleHeight)
DirectX::XMFLOAT4 Jitter () const
bool HasHistory () const
ID3D11ShaderResourceView * Image () const
ID3D11ShaderResourceView * Distance () const
HRESULT Resolve (ID3D11DeviceContext *context, ID3D11ShaderResourceView *current, ID3D11ShaderResourceView *currentDistance)

Static Public Member Functions

static bool Compatible (const Frame &previous, const Frame &current)

Private Member Functions

HRESULT Create (Target &target, unsigned w, unsigned h, DXGI_FORMAT format)

Static Private Member Functions

static void Unbind (ID3D11DeviceContext *context)

Private Attributes

Microsoft::WRL::ComPtr< ID3D11Device > device
Microsoft::WRL::ComPtr< ID3D11SamplerState > linear
Microsoft::WRL::ComPtr< ID3D11SamplerState > point
Program11 resolve
Parameters11 values
Target color [2]
Target distance [2]
Frame previous {}
Frame pending {}
DirectX::XMFLOAT4 jitter {}
unsigned width =0
unsigned height =0
unsigned phase =0
unsigned last =0
bool valid =false
bool written =false

Friends

class CloudPass11

Detailed Description

Definition at line 13 of file CloudTemporal11.h.

Member Function Documentation

◆ BeginFrame()

HRESULT Rendering::CloudTemporal11::BeginFrame ( const Frame & frame,
unsigned fullWidth,
unsigned fullHeight,
unsigned sampleWidth,
unsigned sampleHeight )
inline

Definition at line 87 of file CloudTemporal11.h.

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

◆ Compatible()

bool Rendering::CloudTemporal11::Compatible ( const Frame & previous,
const Frame & current )
inlinestatic

Definition at line 30 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ Create()

HRESULT Rendering::CloudTemporal11::Create ( Target & target,
unsigned w,
unsigned h,
DXGI_FORMAT format )
inlineprivate

Definition at line 154 of file CloudTemporal11.h.

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

◆ Distance()

ID3D11ShaderResourceView * Rendering::CloudTemporal11::Distance ( ) const
inline

Definition at line 118 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ HasHistory()

bool Rendering::CloudTemporal11::HasHistory ( ) const
inline

Definition at line 116 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ Image()

ID3D11ShaderResourceView * Rendering::CloudTemporal11::Image ( ) const
inline

Definition at line 117 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ Initialize()

HRESULT Rendering::CloudTemporal11::Initialize ( ID3D11Device * native,
const std::filesystem::path & shaders )
inline

Definition at line 68 of file CloudTemporal11.h.

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

◆ Jitter()

DirectX::XMFLOAT4 Rendering::CloudTemporal11::Jitter ( ) const
inline

Definition at line 115 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ ReleaseTargets()

void Rendering::CloudTemporal11::ReleaseTargets ( )
inline

Definition at line 85 of file CloudTemporal11.h.

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

◆ Reset()

void Rendering::CloudTemporal11::Reset ( )
inline

Definition at line 86 of file CloudTemporal11.h.

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

◆ ResetHistory()

void Rendering::CloudTemporal11::ResetHistory ( )
inline

Definition at line 84 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ Resolve()

HRESULT Rendering::CloudTemporal11::Resolve ( ID3D11DeviceContext * context,
ID3D11ShaderResourceView * current,
ID3D11ShaderResourceView * currentDistance )
inline

Definition at line 119 of file CloudTemporal11.h.

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

◆ Unbind()

void Rendering::CloudTemporal11::Unbind ( ID3D11DeviceContext * context)
inlinestaticprivate

Definition at line 163 of file CloudTemporal11.h.

Here is the caller graph for this function:

◆ CloudPass11

friend class CloudPass11
friend

Definition at line 15 of file CloudTemporal11.h.

Member Data Documentation

◆ color

Target Rendering::CloudTemporal11::color[2]
private

Definition at line 171 of file CloudTemporal11.h.

◆ device

Microsoft::WRL::ComPtr<ID3D11Device> Rendering::CloudTemporal11::device
private

Definition at line 168 of file CloudTemporal11.h.

◆ distance

Target Rendering::CloudTemporal11::distance[2]
private

Definition at line 171 of file CloudTemporal11.h.

◆ height

unsigned Rendering::CloudTemporal11::height =0
private

Definition at line 173 of file CloudTemporal11.h.

◆ jitter

DirectX::XMFLOAT4 Rendering::CloudTemporal11::jitter {}
private

Definition at line 172 of file CloudTemporal11.h.

◆ last

unsigned Rendering::CloudTemporal11::last =0
private

Definition at line 173 of file CloudTemporal11.h.

◆ linear

Microsoft::WRL::ComPtr<ID3D11SamplerState> Rendering::CloudTemporal11::linear
private

Definition at line 169 of file CloudTemporal11.h.

◆ pending

Frame Rendering::CloudTemporal11::pending {}
private

Definition at line 171 of file CloudTemporal11.h.

◆ phase

unsigned Rendering::CloudTemporal11::phase =0
private

Definition at line 173 of file CloudTemporal11.h.

◆ point

Microsoft::WRL::ComPtr<ID3D11SamplerState> Rendering::CloudTemporal11::point
private

Definition at line 169 of file CloudTemporal11.h.

◆ previous

Frame Rendering::CloudTemporal11::previous {}
private

Definition at line 171 of file CloudTemporal11.h.

◆ resolve

Program11 Rendering::CloudTemporal11::resolve
private

Definition at line 170 of file CloudTemporal11.h.

◆ valid

bool Rendering::CloudTemporal11::valid =false
private

Definition at line 174 of file CloudTemporal11.h.

◆ values

Parameters11 Rendering::CloudTemporal11::values
private

Definition at line 170 of file CloudTemporal11.h.

◆ width

unsigned Rendering::CloudTemporal11::width =0
private

Definition at line 173 of file CloudTemporal11.h.

◆ written

bool Rendering::CloudTemporal11::written =false
private

Definition at line 174 of file CloudTemporal11.h.


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