MCPcopy Create free account
hub / github.com/Raais/ImStudio / ImBitArray

Method ImBitArray

src/third-party/imgui/imgui_internal.h:547–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545{
546 ImU32 Storage[(BITCOUNT + 31) >> 5];
547 ImBitArray() { ClearAllBits(); }
548 void ClearAllBits() { memset(Storage, 0, sizeof(Storage)); }
549 void SetAllBits() { memset(Storage, 255, sizeof(Storage)); }
550 bool TestBit(int n) const { IM_ASSERT(n + OFFSET < BITCOUNT); return ImBitArrayTestBit(Storage, n + OFFSET); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected