UNPKG

@itwin/core-frontend

Version:
26 lines 1.13 kB
/** @packageDocumentation * @module Tiles */ import { Map4d } from "@itwin/core-geometry"; import { FrustumPlanes } from "@itwin/core-common"; import { GraphicBranch } from "../../render/GraphicBranch"; import { RenderGraphic } from "../../render/RenderGraphic"; import { SceneContext } from "../../ViewContext"; import { TileDrawArgs, TileGraphicType, TileTreeReference } from "../../tile/internal"; export interface GraphicsCollector { addGraphic(graphic: RenderGraphic): void; } /** @internal*/ export declare class GraphicsCollectorDrawArgs extends TileDrawArgs { private _planes; private _worldToViewMap; private _collector; private constructor(); get frustumPlanes(): FrustumPlanes; get worldToViewMap(): Map4d; drawGraphicsWithType(_graphicType: TileGraphicType, graphics: GraphicBranch): void; drawGraphics(): void; static create(context: SceneContext, collector: GraphicsCollector, ref: TileTreeReference, planes: FrustumPlanes, worldToViewMap: Map4d): TileDrawArgs | undefined; get shouldCollectClassifierGraphics(): boolean; } //# sourceMappingURL=GraphicsCollector.d.ts.map