Table of Contents

Class TileFormatResolver

public static class TileFormatResolver
Inheritance
object
TileFormatResolver

Methods

Resolve(TileTextureFormat, IReadOnlyList<string>, IReadOnlyList<IRuntimeTileBlockCodec>, bool, bool, Func<GraphicsFormat, FormatUsage, bool>, bool?, bool)

public static TileFormatResolver.Result Resolve(TileTextureFormat requested, IReadOnlyList<string> preference, IReadOnlyList<IRuntimeTileBlockCodec> extraCodecs, bool allowDecodeOffload, bool mips, Func<GraphicsFormat, FormatUsage, bool> probe = null, bool? rtToTextureCopySupported = null, bool webWorkerBlockEncode = false)

Parameters

requested TileTextureFormat
preference IReadOnlyList<string>
extraCodecs IReadOnlyList<IRuntimeTileBlockCodec>
allowDecodeOffload bool
mips bool
probe Func<GraphicsFormat, FormatUsage, bool>
rtToTextureCopySupported bool?
webWorkerBlockEncode bool

Returns

TileFormatResolver.Result