UNPKG

@giro3d/giro3d

Version:

A JS/WebGL framework for 3D geospatial data visualization

30 lines (28 loc) 901 B
import type { DimensionFilter } from './filter'; export type CommonOptions = { /** * If true, colors are compressed to 8-bit (instead of 16-bit). * @defaultValue true */ compressColorsTo8Bit?: boolean; /** * Enable web workers to perform CPU intensive tasks. * @defaultValue true */ enableWorkers?: boolean; /** * The maximum number of workers created by the worker pool. If `undefined`, the maximum number of workers will be allowed. * @defaultValue undefined */ workerConcurrency?: number; /** * If specified, will keep every Nth point. For example, a decimation value of 10 will keep * one point out of ten, and discard the 9 other points. Useful to reduce memory usage. * @defaultValue 1 */ decimate?: number; /** * The filters to use. */ filters?: Readonly<DimensionFilter[]>; };