Table of Contents

Class WireBytesTileCodec

Disk-format tag for compressed network bytes (PNG/JPEG): declares that an image decode must run before the payload is pixel data.

public sealed class WireBytesTileCodec : ITileCodec
Inheritance
object
WireBytesTileCodec
Implements

Properties

Format

The TileCacheBlob.Format tag this codec recognizes.

public TileCacheBlob.Format Format { get; }

Property Value

TileCacheBlob.Format

RequiresDecode

True when the payload is still compressed (PNG/JPEG) and needs an image decode; false when it is already GPU-ready blocks.

public bool RequiresDecode { get; }

Property Value

bool

Methods

TryBuildMips(byte[], int, int, int, int, byte[][])

Always returns false: wire bytes go through the image decode pipeline, not this method.

public bool TryBuildMips(byte[] payload, int offset, int length, int tileSizePx, int requiredLevels, byte[][] mips)

Parameters

payload byte[]

Ignored.

offset int

Ignored.

length int

Ignored.

tileSizePx int

Ignored.

requiredLevels int

Ignored.

mips byte[][]

Ignored.

Returns

bool

False. Never throws.