CommonLibVR
BSBitField.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  // members
9  std::uint32_t* data; // 0
10  private:
11  KEEP_FOR_RE()
12  };
13  static_assert(sizeof(BSBitFieldHeapAllocator) == 0x8);
14 
15  template <class Allocator = BSBitFieldHeapAllocator>
16  class BSBitField : public Allocator
17  {
18  public:
19  union Buffer
20  {
21  std::uint32_t local;
22  std::uint32_t* heap;
23  };
24 
25  // members
27  std::uint32_t size;
28  };
29  static_assert(sizeof(BSBitField<>) == 0x18);
30 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSBitField.h:6
std::uint32_t * data
Definition: BSBitField.h:9
Definition: BSBitField.h:17
std::uint32_t size
Definition: BSBitField.h:27
Buffer buffer
Definition: BSBitField.h:26
Definition: AbsorbEffect.h:6
Definition: BSBitField.h:20
std::uint32_t * heap
Definition: BSBitField.h:22
std::uint32_t local
Definition: BSBitField.h:21