Struct UnsafeList<T>.ParallelWriter
Namespace: Unity.Collections.LowLevel.Unsafe
Syntax
public struct ParallelWriter
Fields
Writer
Declaration
public UnsafeList.ParallelWriter Writer
Field Value
Type | Description |
---|---|
UnsafeList.ParallelWriter |
Methods
AddNoResize(T)
Adds an element to the list.
Declaration
public void AddNoResize(T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | The value to be added at the end of the list. |
Remarks
If the list has reached its current capacity, internal array won't be resized, and exception will be thrown.
AddRangeNoResize(Void*, Int32)
Declaration
public void AddRangeNoResize(void *ptr, int length)
Parameters
Type | Name | Description |
---|---|---|
Void* | ptr | |
Int32 | length |
AddRangeNoResize(UnsafeList<T>)
Declaration
public void AddRangeNoResize(UnsafeList<T> list)
Parameters
Type | Name | Description |
---|---|---|
UnsafeList<T> | list | Other container to copy elements from. |