Struct MergeDataLayerDirtyGridsJob1
Job that merges dirty grids from 1 source into a target grid. If the source or target grid is dirty, the target grid is marked as dirty.
Implements
IJobParallelFor
Inherited Members
Namespace: Fwt.Core.DataLayers
Assembly: fwt.core.dll
Syntax
[BurstCompile]
public struct MergeDataLayerDirtyGridsJob1 : IJobParallelFor
Fields
SourceDirtyChunks1
Declaration
[ReadOnly]
public NativeParallelHashSet<int> SourceDirtyChunks1
Field Value
| Type | Description |
|---|---|
| NativeParallelHashSet<int> |
SourceDirtyGrid1
Declaration
[ReadOnly]
public NativeArray<bool> SourceDirtyGrid1
Field Value
| Type | Description |
|---|---|
| NativeArray<bool> |
TargetDirtyChunks
Declaration
public NativeParallelHashSet<int>.ParallelWriter TargetDirtyChunks
Field Value
| Type | Description |
|---|---|
| NativeParallelHashSet<int>.ParallelWriter |
TargetDirtyGrid
Declaration
public NativeArray<bool> TargetDirtyGrid
Field Value
| Type | Description |
|---|---|
| NativeArray<bool> |
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