Zdexby TheHolyOneZ
8,798 structs
Struct

BlockAllocator

: ValueType : Object
UnityEngine.Rendering.UnifiedRayTracing.BlockAllocator, Unity.UnifiedRayTracing.Runtime 0x0020 (32 B) Unity.UnifiedRayTracing.Runtime.dll
implements IDisposable
0x00x0020

Members 5

OffsetSizeNameTypeFlags
0x04m_FreeElementCountintPrivate
0x04m_MaxElementCountintPrivate
0x08m_freeBlocksNativeList<UnityEngine.Rendering.UnifiedRayTracing.BlockAllocator.Block>Private
0x08m_usedBlocksNativeList<UnityEngine.Rendering.UnifiedRayTracing.BlockAllocator.Block>Private
0x08m_freeSlotsNativeList<System.Int32>Private

Functions 15

SignatureFlagsNativeParams
int get_freeElementsCount()Public+1 flags0x04
int get_freeBlocks()Public+1 flags0x04
int get_capacity()Public+1 flags0x04
int get_allocatedSize()Public+1 flags0x04
void Initialize(int maxElementCounts)Public0x04
int CalculateGeometricGrowthCapacity(int desiredNewCapacity, int maxAllowedNewCapacity)Private0x04
int Grow(int newDesiredCapacity, int maxAllowedCapacity)Public0x04
bool GetExpectedGrowthToFitAllocation(int elementCounts, int maxAllowedCapacity, ref int& newCapacity)Public0x04
Allocation GrowAndAllocate(int elementCounts, ref int& oldCapacity, ref int& newCapacity)Public0x0C
Allocation GrowAndAllocate(int elementCounts, int maxAllowedCapacity, ref int& oldCapacity, ref int& newCapacity)Public0x0C
void Dispose()PublicFinal+2 flags0x00
Allocation Allocate(int elementCounts)Public0x0C
int MergeBlockFrontBack(int freeBlockId)Private0x04
void FreeAllocation(ref Allocation& allocation)Public0x0C
Allocation[] SplitAllocation(ref Allocation& allocation, int count)Public0x0C

Used by 5

types with a member, parameter or interface of this type