# BitMaskCountOnBits
Grammar — Count of toggled Bits in bitMask|BitMask
Flags —Native
|Function
Counts all the ones in the bit mask.
# Arguments
bitmask
— Bit Mask
Returns — int
native int BitMaskCountOnBits(bitmask mask);
# Related
Category: BitMask / Core Functions
- BitMaskSetIndex —
void
— BitMaskSetIndex - MakeEmptyBitMask —
bitmask
— BitMaskMakeDefaultMask - BitMaskIsEqual —
bool
— BitMaskIsEqual - BitMaskTrueIndex —
bool
— BitMaskTrueIndex - BitMaskFalseIndex —
bool
— BitMaskFalseIndex - BitMaskReset —
void
— BitMaskReset - BitMaskCountOnBits —
int
— BitMaskCountOnBits - BitMaskAddBitMask —
void
— BitMaskAddBitMask - BitMaskAndBitMask —
void
— BitMaskAndBitMask - BitMaskOrBitMask —
void
— BitMaskOrBitMask - BitMaskXorBitMask —
void
— BitMaskXorBitMask - BitMaskInvert —
void
— BitMaskInvert - BitMaskLeftShift —
void
— BitMaskLeftShift - BitMaskRightShift —
void
— BitMaskRightShift
# Examples
— None found —