| 159 | FrameAllocator* Allocator; |
| 160 | |
| 161 | inline void* alloc(std::size_t size) |
| 162 | { |
| 163 | se_assert(size <= 0xFFC0); |
| 164 | return Allocator->Allocate((uint16_t)size); |
| 165 | } |
| 166 | |
| 167 | template <class T, class ...Args> |
| 168 | T* allocArray(std::size_t n, Args... args) |