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

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

#include <Dry/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: