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

Method ImBitArray

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

Source from the content-addressed store, hash-verified

645{
646 ImU32 Data[(BITCOUNT + 31) >> 5];
647 ImBitArray() { ClearAllBits(); }
648 void ClearAllBits() { memset(Data, 0, sizeof(Data)); }
649 void SetAllBits() { memset(Data, 255, sizeof(Data)); }
650 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