UNPKG

@itwin/core-frontend

Version:
24 lines 1.29 kB
/** @packageDocumentation * @module Rendering */ import { Id64String } from "@itwin/core-bentley"; import { _implementationProhibited } from "../../common/internal/Symbols"; import { InstancedGraphicProps } from "../../common/render/InstancedGraphicParams"; import { CreateRenderInstancesParamsBuilderArgs, RenderInstancesParams, RenderInstancesParamsBuilder } from "../../common/render/RenderInstancesParams"; /** Intermediate representation of `RenderInstances[_batch]`. */ export interface InstancedFeaturesParams { modelId: Id64String; data: Uint32Array; count: number; } /** This exists so that [[RenderInstancesParams]] can be an opaque type that can be copied between Workers. * (`Symbol`s are dropped during structured cloning). */ export interface RenderInstancesParamsImpl extends RenderInstancesParams { [_implementationProhibited]: "renderInstancesParams"; instances: InstancedGraphicProps; features?: InstancedFeaturesParams; } export declare function createRenderInstancesParamsBuilder(args: CreateRenderInstancesParamsBuilderArgs): RenderInstancesParamsBuilder; export declare function collectRenderInstancesParamsTransferables(xfers: Set<Transferable>, inParams: RenderInstancesParams): void; //# sourceMappingURL=RenderInstancesParamsImpl.d.ts.map