IViewerConfig

Core.IViewerConfig exported from @manycore/aholo-viewer.

Core Interface
interface IViewerConfig {
pixelRatio?: number;
pipeline?: IPipelineConfig;
}

Properties

pixelRatio?: number

pixel ratio used for rendering

default the renderer will use physical pixel in rendering. if devicePixelRatio is large on some device, will cause performance issue, could set it to 1 / devicePixelRatio

pipeline?: IPipelineConfig

render pipeline config