UNPKG

@itwin/core-frontend

Version:
24 lines 1.33 kB
/** @packageDocumentation * @module Tiles */ import { ImdlModel as Imdl } from "../../common/imdl/ImdlModel"; import type { RenderGraphic } from "../../render/RenderGraphic"; import type { RenderSystem } from "../../render/RenderSystem"; import type { IModelConnection } from "../../IModelConnection"; import { GraphicDescription } from "../../common/render/GraphicDescriptionBuilder"; import { GraphicDescriptionContext } from "../../common/render/GraphicDescriptionContext"; import { GraphicTemplate } from "../../render/GraphicTemplate"; import { LayerTileData } from "../render/webgl/MapLayerParams"; /** Options provided to [[decodeImdlContent]]. */ export interface ImdlDecodeOptions { document: Imdl.Document; system: RenderSystem; iModel: IModelConnection; isCanceled?: () => boolean; tileData?: LayerTileData; } export declare function decodeImdlGraphics(options: ImdlDecodeOptions): Promise<RenderGraphic | undefined>; export declare function createGraphicTemplateFromDescription(descr: GraphicDescription, context: GraphicDescriptionContext, system: RenderSystem): GraphicTemplate; export declare function createGraphicFromDescription(descr: GraphicDescription, context: GraphicDescriptionContext, system: RenderSystem): RenderGraphic | undefined; //# sourceMappingURL=ImdlGraphicsCreator.d.ts.map