Enum TileTextureFormat
The GPU residency format a TileSource asks its tiles to be uploaded as.
public enum TileTextureFormat
Fields
RGB565 = 116-bit RGB, no alpha, 2 bytes/pixel (half of RGBA32). Opt-in: see TextureFormat for the quantization/banding trade-off and the per-device capability fallback.
RGBA32 = 0Uncompressed 32-bit RGBA. The default; every existing TileSource gets this unless it names RGB565 explicitly. Guaranteed supported on every device/graphics API this project targets.
Remarks
Closed by design: a registry or third-party extension point comes only after one non-default format has cleared the platform matrix end to end, not before. Do not add one here.
Both members are wired end to end: TileBatchRenderer resolves
the requested format against device capability
(SystemInfo.IsFormatSupported) before allocating its array and
staging texture, falling back to RGBA32 loudly on a
device/API that cannot sample RGB565; TileStreamer
and TileDecodeWorker honour the array's resolved format on the
upload path, including packing to RGB565 on the decode worker thread
rather than the main thread. See TextureFormat
for what RGB565 costs.