Table of Contents

Struct GPUBorderExtractor.ExtractionResult

Namespace
Map.Rendering.Border
Assembly
MapAssembly.dll

Result of GPU border extraction. Contains border pixels grouped by province pair, plus junction data.

public struct GPUBorderExtractor.ExtractionResult

Fields

BorderPixelsByPair

Border pixels grouped by province pair (provinceA, provinceB) -> list of pixel positions

public Dictionary<(ushort, ushort), List<Vector2>> BorderPixelsByPair

Field Value

Dictionary<(ushort, ushort), List<Vector2>>

ErrorMessage

public string ErrorMessage

Field Value

string

IsSuccess

public bool IsSuccess

Field Value

bool

JunctionPixels

Junction pixels where 3+ provinces meet: position -> province count

public Dictionary<Vector2, int> JunctionPixels

Field Value

Dictionary<Vector2, int>