UNPKG

@itwin/core-frontend

Version:
42 lines 1.69 kB
/** @packageDocumentation * @module WebGL */ import { Point3d } from "@itwin/core-geometry"; import { FillFlags } from "@itwin/core-common"; import { MeshParams } from "../../../common/internal/render/MeshParams"; import { SurfaceType } from "../../../common/internal/render/SurfaceParams"; import { RenderMemory } from "../../../render/RenderMemory"; import { WebGLDisposable } from "./Disposable"; import { MaterialInfo } from "./Material"; import { Texture } from "./Texture"; import { VertexLUT } from "./VertexLUT"; /** @internal */ export declare class MeshData implements WebGLDisposable { readonly edgeWidth: number; readonly hasFeatures: boolean; readonly uniformFeatureId?: number; readonly texture?: Texture; readonly normalMap?: Texture; readonly constantLodVParams?: Float32Array; readonly constantLodFParams?: Float32Array; readonly textureUsesConstantLod?: boolean; readonly normalMapUsesConstantLod?: boolean; readonly materialInfo?: MaterialInfo; readonly type: SurfaceType; readonly fillFlags: FillFlags; readonly edgeLineCode: number; readonly isPlanar: boolean; readonly hasBakedLighting: boolean; readonly lut: VertexLUT; readonly viewIndependentOrigin?: Point3d; private readonly _textureAlwaysDisplayed; private constructor(); static create(params: MeshParams, viOrigin: Point3d | undefined): MeshData | undefined; get isDisposed(): boolean; [Symbol.dispose](): void; get isGlyph(): boolean; get isTextureAlwaysDisplayed(): boolean; private get _ownsTexture(); collectStatistics(stats: RenderMemory.Statistics): void; } //# sourceMappingURL=MeshData.d.ts.map