Struct Extensions_Collections.FillNativeListJob<TItem>
Fills every cell in a collection with provided value.
Implements
IJobParallelFor
Inherited Members
Namespace: Fwt.Core
Assembly: fwt.core.dll
Syntax
public struct Extensions_Collections.FillNativeListJob<TItem> : IJobParallelFor where TItem : unmanaged
Type Parameters
| Name | Description |
|---|---|
| TItem | Type of item in a collection |
Fields
List
Collection to fill
Declaration
[WriteOnly]
public NativeList<TItem> List
Field Value
| Type | Description |
|---|---|
| NativeList<TItem> |
Value
Value to put in every cell
Declaration
public TItem Value
Field Value
| Type | Description |
|---|---|
| TItem |
Methods
Execute(int)
Performs work against a specific iteration index.
Declaration
public void Execute(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The index of the Parallel for loop at which to perform work. |
Implements
Unity.Jobs.IJobParallelFor