CommonLibSSE (powerof3)
hkSmallArray.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  template <class T>
7  {
8  enum class CapacityAndFlags
9  {
10  kCapacityMask = 0x3FFF,
11  kFlagMask = 0xC000,
12  kNoDealloc = 0x8000,
13  kLocked = 0x4000,
14  kForceSigned = static_cast<std::underlying_type_t<CapacityAndFlags>>(-1)
15  };
16 
17  T* data; // 00
18  std::uint16_t size; // 08
19  REX::EnumSet<CapacityAndFlags, std::uint16_t> capacityAndFlags; // 0A
20  std::uint32_t pad0C; // 0C
21  };
22  static_assert(sizeof(hkSmallArray<void*>) == 0x10);
23 }
Definition: hkSmallArray.h:7
Definition: AbsorbEffect.h:6