MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / ImBitArray

Method ImBitArray

include/imgui/imgui_internal.h:653–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651{
652 ImU32 Data[(BITCOUNT + 31) >> 5];
653 ImBitArray() { ClearAllBits(); }
654 void ClearAllBits() { memset(Data, 0, sizeof(Data)); }
655 void SetAllBits() { memset(Data, 255, sizeof(Data)); }
656 bool TestBit(int n) const { n += OFFSET; IM_ASSERT(n >= 0 && n < BITCOUNT); return IM_BITARRAY_TESTBIT(Data, n); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected