Constructor NativeList
NativeList(AllocatorHandle)
Initializes and returns a NativeList with a capacity of one.
Declaration
public NativeList(AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
AllocatorManager.AllocatorHandle | allocator | The allocator to use. |
NativeList(int, AllocatorHandle)
Initializes and returns a NativeList.
Declaration
public NativeList(int initialCapacity, AllocatorManager.AllocatorHandle allocator)
Parameters
Type | Name | Description |
---|---|---|
int | initialCapacity | The initial capacity of the list. |
AllocatorManager.AllocatorHandle | allocator | The allocator to use. |