Struct MergeDataLayerDirtyGridsJob4
Job that merges dirty grids from 4 sources into a target grid.
If any of the source/target grids is dirty, the target grid is marked as dirty.
Implements
IJobParallelFor
Assembly: fwt.core.dll
Syntax
[BurstCompile]
public struct MergeDataLayerDirtyGridsJob4 : IJobParallelFor
Fields
SourceDirtyChunks1
Declaration
[ReadOnly]
public NativeParallelHashSet<int> SourceDirtyChunks1
Field Value
| Type |
Description |
| NativeParallelHashSet<int> |
|
SourceDirtyChunks2
Declaration
[ReadOnly]
public NativeParallelHashSet<int> SourceDirtyChunks2
Field Value
| Type |
Description |
| NativeParallelHashSet<int> |
|
SourceDirtyChunks3
Declaration
[ReadOnly]
public NativeParallelHashSet<int> SourceDirtyChunks3
Field Value
| Type |
Description |
| NativeParallelHashSet<int> |
|
SourceDirtyChunks4
Declaration
[ReadOnly]
public NativeParallelHashSet<int> SourceDirtyChunks4
Field Value
| Type |
Description |
| NativeParallelHashSet<int> |
|
SourceDirtyGrid1
Declaration
[ReadOnly]
public NativeArray<bool> SourceDirtyGrid1
Field Value
| Type |
Description |
| NativeArray<bool> |
|
SourceDirtyGrid2
Declaration
[ReadOnly]
public NativeArray<bool> SourceDirtyGrid2
Field Value
| Type |
Description |
| NativeArray<bool> |
|
SourceDirtyGrid3
Declaration
[ReadOnly]
public NativeArray<bool> SourceDirtyGrid3
Field Value
| Type |
Description |
| NativeArray<bool> |
|
SourceDirtyGrid4
Declaration
[ReadOnly]
public NativeArray<bool> SourceDirtyGrid4
Field Value
| Type |
Description |
| NativeArray<bool> |
|
TargetDirtyChunks
Declaration
public NativeParallelHashSet<int>.ParallelWriter TargetDirtyChunks
Field Value
TargetDirtyEdgesGrid
Declaration
public NativeArray<bool4> TargetDirtyEdgesGrid
Field Value
| Type |
Description |
| NativeArray<bool4> |
|
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
Extension Methods