Table of Contents

Class WebTileDecodeBridge

public sealed class WebTileDecodeBridge : IWebTileDecodeBridge, IDisposable
Inheritance
object
WebTileDecodeBridge
Implements

Constructors

WebTileDecodeBridge(WebAstcEncoderQuality)

public WebTileDecodeBridge(WebAstcEncoderQuality astcQuality = WebAstcEncoderQuality.Fastest)

Parameters

astcQuality WebAstcEncoderQuality

Properties

Available

public bool Available { get; }

Property Value

bool

BlockEncodeState

public WebBlockEncodeState BlockEncodeState { get; }

Property Value

WebBlockEncodeState

GpuUploadSupported

public bool GpuUploadSupported { get; }

Property Value

bool

PendingCount

public int PendingCount { get; }

Property Value

int

Methods

BindTexture(nint, int)

public bool BindTexture(nint texturePtr, int layerCount)

Parameters

texturePtr nint
layerCount int

Returns

bool

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Enqueue(TileCoord, byte[], int, int, bool, bool, bool, bool)

public void Enqueue(TileCoord tile, byte[] bytes, int length, int expectedSize, bool instant, bool persist, bool pooled, bool isJpeg)

Parameters

tile TileCoord
bytes byte[]
length int
expectedSize int
instant bool
persist bool
pooled bool
isJpeg bool

ReleaseBitmap(int)

public void ReleaseBitmap(int bitmapId)

Parameters

bitmapId int

RequestBlockEncode(string)

public bool RequestBlockEncode(string codecId)

Parameters

codecId string

Returns

bool

TryDequeue(out Result)

public bool TryDequeue(out IWebTileDecodeBridge.Result result)

Parameters

result IWebTileDecodeBridge.Result

Returns

bool

TryDequeueBitmap(out BitmapResult)

public bool TryDequeueBitmap(out IWebTileDecodeBridge.BitmapResult result)

Parameters

result IWebTileDecodeBridge.BitmapResult

Returns

bool

UploadBitmap(int, int)

public void UploadBitmap(int bitmapId, int layerIndex)

Parameters

bitmapId int
layerIndex int