Rebel Fork Framework
Urho3D::ObjectRevisionTracker Class Reference

#include <Urho3D/Core/ObjectRevisionTracker.h>

Inheritance diagram for Urho3D::ObjectRevisionTracker:

Public Member Functions

unsigned GetRevision () const
 Return object revision.

Static Public Attributes

static constexpr unsigned InvalidRevision = 0

Protected Member Functions

void MarkRevisionUpdated ()
 Mark object as changed.

Private Attributes

unsigned revision_ {1}
 Object revision, used for detecting changes in animation tracks by the external user.

Detailed Description

Utility to keep track of object revisions. Revision is never zero, so it can be used as sentinel value to save space.

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