Struct AllocatorManager.Range
Pointer for the beginning of a block of memory, number of items in it, which allocator it belongs to, and which block this is.
Namespace: Unity.Collections
Syntax
public struct Range : IDisposable
Fields
Allocator
The allocator
Declaration
public AllocatorManager.AllocatorHandle Allocator
Field Value
Type | Description |
---|---|
AllocatorManager.AllocatorHandle |
Items
Number of items
Declaration
public int Items
Field Value
Type | Description |
---|---|
Int32 |
Pointer
Pointer to memory
Declaration
public IntPtr Pointer
Field Value
Type | Description |
---|---|
IntPtr |
Methods
Dispose()
Dispose the block corresponding to this range
Declaration
public void Dispose()