implements IDisposable
0x00x0020
Members 5
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x04 | m_FreeElementCount | int | Private | |
| 0x04 | m_MaxElementCount | int | Private | |
| 0x08 | m_freeBlocks | NativeList<UnityEngine.Rendering.UnifiedRayTracing.BlockAllocator.Block> | Private | |
| 0x08 | m_usedBlocks | NativeList<UnityEngine.Rendering.UnifiedRayTracing.BlockAllocator.Block> | Private | |
| 0x08 | m_freeSlots | NativeList<System.Int32> | Private |
Functions 15
| Signature | Flags | Native | Params |
|---|---|---|---|
| int get_freeElementsCount() | Public+1 flags | 0x04 | |
| int get_freeBlocks() | Public+1 flags | 0x04 | |
| int get_capacity() | Public+1 flags | 0x04 | |
| int get_allocatedSize() | Public+1 flags | 0x04 | |
| void Initialize(int maxElementCounts) | Public | 0x04 | |
| int CalculateGeometricGrowthCapacity(int desiredNewCapacity, int maxAllowedNewCapacity) | Private | 0x04 | |
| int Grow(int newDesiredCapacity, int maxAllowedCapacity) | Public | 0x04 | |
| bool GetExpectedGrowthToFitAllocation(int elementCounts, int maxAllowedCapacity, ref int& newCapacity) | Public | 0x04 | |
| Allocation GrowAndAllocate(int elementCounts, ref int& oldCapacity, ref int& newCapacity) | Public | 0x0C | |
| Allocation GrowAndAllocate(int elementCounts, int maxAllowedCapacity, ref int& oldCapacity, ref int& newCapacity) | Public | 0x0C | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| Allocation Allocate(int elementCounts) | Public | 0x0C | |
| int MergeBlockFrontBack(int freeBlockId) | Private | 0x04 | |
| void FreeAllocation(ref Allocation& allocation) | Public | 0x0C | |
| Allocation[] SplitAllocation(ref Allocation& allocation, int count) | Public | 0x0C |