Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::DirtyBits Struct Reference

Dirty attribute bits structure for network replication. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Scene/ReplicationState.h>

Public Member Functions

 DirtyBits ()=default
 Construct empty.
 
 DirtyBits (const DirtyBits &bits)
 Copy-construct.
 
void Set (unsigned index)
 Set a bit.
 
void Clear (unsigned index)
 Clear a bit.
 
void ClearAll ()
 Clear all bits.
 
bool IsSet (unsigned index) const
 Return if bit is set.
 
unsigned Count () const
 Return number of set bits.
 

Public Attributes

unsigned char data_ [MAX_NETWORK_ATTRIBUTES/8] {}
 Bit data.
 
unsigned char count_ {}
 Number of set bits.
 

Detailed Description

Dirty attribute bits structure for network replication.


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