Zdexby TheHolyOneZ
8,798 structs
Struct

BuddyAllocator

: ValueType : Object
UnityEngine.Rendering.Universal.BuddyAllocator, Unity.RenderPipelines.Universal.Runtime 0x0028 (40 B) Unity.RenderPipelines.Universal.Runtime.dll
implements IDisposable
0x00x0028

Members 5

OffsetSizeNameTypeFlags
—m_DataVoid*Private
0x00000x08padding / unreflected
0x08m_ActiveFreeMaskCountsValueTuple<System.Int32Private
0x08m_FreeMasksStorageValueTuple<System.Int32Private
0x08m_FreeMaskIndicesStorageValueTuple<System.Int32Private
0x04m_AllocatorAllocatorPrivate
0x00240x04unreflected bytes to end of BuddyAllocator

Functions 21

SignatureFlagsNativeParams
ref Header get_header()Private+1 flags0x10
NativeArray<System.Int32> get_freeMaskCounts()Private+1 flags0x10
NativeArray<System.UInt64> get_freeMasksStorage()Private+1 flags0x10
NativeArray<System.UInt64> FreeMasks(int level)Private0x10
NativeArray<System.Int32> get_freeMaskIndicesStorage()Private+1 flags0x10
NativeArray<System.Int32> FreeMaskIndices(int level)Private0x10
int get_levelCount()Public+1 flags0x04
void .ctor(int levelCount, int branchingOrder, const Allocator& allocator)Public+1 flags0x04
bool TryAllocate(int requestedLevel, ref BuddyAllocation& allocation)Public0x08
void Free(const BuddyAllocation& allocation)Public0x08
void Dispose()PublicFinal+2 flags0x00
NativeArray<T> GetNativeArray(int offset, int length)Private0x10
int LevelOffset(int level, int branchingOrder)PrivateStatic0x04
int LevelLength(int level, int branchingOrder)PrivateStatic0x04
int LevelOffset64(int level, int branchingOrder)PrivateStatic0x04
int LevelLength64(int level, int branchingOrder)PrivateStatic0x04
ValueTuple<System.Int32 AllocateRange(int length, ref int& dataSize)PrivateStatic0x08
int AlignForward(int offset, int alignment)PrivateStatic0x04
Void* PtrAdd(const Void*& ptr, int bytes)PrivateStatic0x04
int Pow2(int n)PrivateStatic0x04
int Pow2N(int x, int n)PrivateStatic0x04

Used by 1

types with a member, parameter or interface of this type