Struct UnsafePtrList<T>.ParallelWriter
Namespace: Unity.Collections.LowLevel.Unsafe
Syntax
public struct ParallelWriter
Fields
ListData
Declaration
public UnsafeList<IntPtr>*ListData
Field Value
Type | Description |
---|---|
UnsafeList<IntPtr>* |
Ptr
Declaration
public readonly T**Ptr
Field Value
Type | Description |
---|---|
T** |
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(T**, Int32)
Adds elements from a buffer to this list.
Declaration
public void AddRangeNoResize(T**ptr, int length)
Parameters
Type | Name | Description |
---|---|---|
T** | ptr | A pointer to the buffer. |
Int32 | length | The number of elements to add to the list. |
Remarks
If the list has reached its current capacity, internal array won't be resized, and exception will be thrown.
AddRangeNoResize(UnsafePtrList<T>)
Adds elements from a list to this list.
Declaration
public void AddRangeNoResize(UnsafePtrList<T> list)
Parameters
Type | Name | Description |
---|---|---|
UnsafePtrList<T> | list | Other container to copy elements from. |
Remarks
If the list has reached its current capacity, internal array won't be resized, and exception will be thrown.