U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::DirtyBits Struct Reference

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

#include </var/dev/u3d/stable/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: