Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::CloudPass11::LoadingWorker Struct Reference
Collaboration diagram for Rendering::CloudPass11::LoadingWorker:
[legend]

Public Member Functions

bool Announce (const LoadingProgress &next)
HRESULT FinishGpu (ID3D11Device *native, ID3D11DeviceContext *context)

Public Attributes

std::atomic< bool > cancelled {false}
std::atomic< bool > done {false}
std::mutex mutex
std::condition_variable wake
LoadingProgress progress
uint64_t sequence =1
uint64_t presented =0
HRESULT result =E_PENDING
std::unique_ptr< CloudPass11 > prepared

Static Public Attributes

static std::atomic< unsigned > active {0}

Detailed Description

Definition at line 5 of file CloudLoading11.inl.

Member Function Documentation

◆ Announce()

bool Rendering::CloudPass11::LoadingWorker::Announce ( const LoadingProgress & next)
inline

Definition at line 16 of file CloudLoading11.inl.

◆ FinishGpu()

HRESULT Rendering::CloudPass11::LoadingWorker::FinishGpu ( ID3D11Device * native,
ID3D11DeviceContext * context )
inline

Definition at line 24 of file CloudLoading11.inl.

Here is the call graph for this function:

Member Data Documentation

◆ active

std::atomic<unsigned> Rendering::CloudPass11::LoadingWorker::active {0}
inlinestatic

Definition at line 14 of file CloudLoading11.inl.

◆ cancelled

std::atomic<bool> Rendering::CloudPass11::LoadingWorker::cancelled {false}

Definition at line 7 of file CloudLoading11.inl.

◆ done

std::atomic<bool> Rendering::CloudPass11::LoadingWorker::done {false}

Definition at line 7 of file CloudLoading11.inl.

◆ mutex

std::mutex Rendering::CloudPass11::LoadingWorker::mutex

Definition at line 8 of file CloudLoading11.inl.

◆ prepared

std::unique_ptr<CloudPass11> Rendering::CloudPass11::LoadingWorker::prepared

Definition at line 13 of file CloudLoading11.inl.

◆ presented

uint64_t Rendering::CloudPass11::LoadingWorker::presented =0

Definition at line 11 of file CloudLoading11.inl.

◆ progress

LoadingProgress Rendering::CloudPass11::LoadingWorker::progress

Definition at line 10 of file CloudLoading11.inl.

◆ result

HRESULT Rendering::CloudPass11::LoadingWorker::result =E_PENDING

Definition at line 12 of file CloudLoading11.inl.

◆ sequence

uint64_t Rendering::CloudPass11::LoadingWorker::sequence =1

Definition at line 11 of file CloudLoading11.inl.

◆ wake

std::condition_variable Rendering::CloudPass11::LoadingWorker::wake

Definition at line 9 of file CloudLoading11.inl.


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