Table of Contents

Struct TileDecodeWorker.Result

public readonly struct TileDecodeWorker.Result
Inherited Members

Constructors

Result(TileCoord, byte[], int, bool, bool, bool, bool, FailReason, byte[], byte[], int, byte[], int)

public Result(TileCoord tile, byte[] sourceBytes, int sourceLength, bool pooled, bool instant, bool persist, bool ok, TilePngDecoder.FailReason reason, byte[] rgba, byte[] packed565, int width, byte[] blockPayload = null, int blockLength = 0)

Parameters

tile TileCoord
sourceBytes byte[]
sourceLength int
pooled bool
instant bool
persist bool
ok bool
reason TilePngDecoder.FailReason
rgba byte[]
packed565 byte[]
width int
blockPayload byte[]
blockLength int

Fields

BlockLength

public readonly int BlockLength

Field Value

int

BlockPayload

public readonly byte[] BlockPayload

Field Value

byte[]

Instant

public readonly bool Instant

Field Value

bool

Ok

public readonly bool Ok

Field Value

bool

Packed565

public readonly byte[] Packed565

Field Value

byte[]

Persist

public readonly bool Persist

Field Value

bool

Pooled

public readonly bool Pooled

Field Value

bool

Reason

public readonly TilePngDecoder.FailReason Reason

Field Value

TilePngDecoder.FailReason

Rgba

public readonly byte[] Rgba

Field Value

byte[]

SourceBytes

public readonly byte[] SourceBytes

Field Value

byte[]

SourceLength

public readonly int SourceLength

Field Value

int

Tile

public readonly TileCoord Tile

Field Value

TileCoord

Width

public readonly int Width

Field Value

int