MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / ImBitArray

Method ImBitArray

imgui_tiny_app/imgui/imgui_internal.h:658–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

656{
657 ImU32 Data[(BITCOUNT + 31) >> 5];
658 ImBitArray() { ClearAllBits(); }
659 void ClearAllBits() { memset(Data, 0, sizeof(Data)); }
660 void SetAllBits() { memset(Data, 255, sizeof(Data)); }
661 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