Optionaloptions: { enableWorkers?: boolean; workerConcurrency?: number }Decoder options.
OptionalenableWorkers?: booleanEnables processing raster data in web workers.
OptionalworkerConcurrency?: numberThe maximum number of workers created by the worker pool.
If undefined, the maximum number of workers will be allowed.
ReadonlydataReadonlyflipReadonlyisReadonlyisReadonlytypeDecode a Mapbox Terrain blob into a DataTexture containing the elevation data.
the data to decode
Optionaloptions: DecodeOptionsthe decoding options
Decoder for Mapbox Terrain images.