Struct Extensions_Collections.FillNativeArrayJob<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.FillNativeArrayJob<TItem> : IJobParallelFor where TItem : unmanaged
Type Parameters
| Name | Description |
|---|---|
| TItem | Type of item in a collection |
Fields
Array
Collection to fill
Declaration
[WriteOnly]
public NativeArray<TItem> Array
Field Value
| Type | Description |
|---|---|
| NativeArray<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