| 38 | } |
| 39 | |
| 40 | void * IndexStorage::GetRaw(uint32_t offsetInElements) |
| 41 | { |
| 42 | if (IsSupported32bit()) |
| 43 | return &m_storage[offsetInElements]; |
| 44 | |
| 45 | return reinterpret_cast<uint16_t *>(m_storage.data()) + offsetInElements; |
| 46 | } |
| 47 | |
| 48 | void const * IndexStorage::GetRawConst() const |
| 49 | { |