Helper class to track pipeline state changes caused by derived class.
More...
#include <Urho3D/Graphics/PipelineStateTracker.h>
|
|
virtual | ~PipelineStateTracker () |
| | Destruct.
|
| |
|
unsigned | GetPipelineStateHash () const |
| | Return (partial) pipeline state hash. Save to call from multiple threads as long as the object is not changing.
|
| |
|
void | MarkPipelineStateHashDirty () |
| | Mark pipeline state hash as dirty.
|
| |
|
|
using | DependantVector = ea::vector< ea::pair< PipelineStateTracker *, unsigned > > |
| | Vector of subscribers with reference counters.
|
| |
|
| virtual unsigned | RecalculatePipelineStateHash () const =0 |
| | Recalculate hash (must not be non zero). Shall be save to call from multiple threads as long as the object is not changing.
|
| |
|
DependantVector::iterator | FindSubscriberIter (PipelineStateTracker *subscriber) |
| | Find subscriber iterator by pointer.
|
| |
|
|
std::atomic_uint32_t | pipelineStateHash_ {0} |
| | Cached hash.
|
| |
|
DependantVector | subscribers_ |
| | Other pipeline state trackers depending on this tracker.
|
| |
|
|
class | PipelineStateSubscription |
| |
Helper class to track pipeline state changes caused by derived class.
◆ RecalculatePipelineStateHash()
| virtual unsigned Urho3D::PipelineStateTracker::RecalculatePipelineStateHash |
( |
| ) |
const |
|
privatepure virtual |
The documentation for this class was generated from the following files:
- Urho3D/Graphics/PipelineStateTracker.h
- Urho3D/Graphics/PipelineStateTracker.cpp