UNPKG

@itwin/core-frontend

Version:
40 lines 1.56 kB
/** @packageDocumentation * @module WebGL */ import { BatchState } from "./BatchState"; import { Batch } from "./Graphic"; import { UniformHandle } from "./UniformHandle"; import { Target } from "./Target"; import { FeatureMode } from "./TechniqueFlags"; /** Maintains uniform variable state associated with the Batch currently being drawn by a Target. * @internal */ export declare class BatchUniforms { readonly state: BatchState; private readonly _target; private _featureMode; syncKey: number; private _overrides?; private _sensors?; private _contours?; private _batchId; private _scratchBytes; private _scratchUint32; constructor(target: Target, batchState: BatchState); setCurrentBatch(batch: Batch | undefined): void; resetBatchState(): void; get featureMode(): FeatureMode; bindNumThematicSensors(uniform: UniformHandle): void; bindThematicSensors(uniform: UniformHandle): void; get wantContourLines(): boolean; bindContourLUT(uniform: UniformHandle): void; bindContourLUTWidth(uniform: UniformHandle): void; bindLUT(uniform: UniformHandle): void; bindLUTParams(uniform: UniformHandle): void; bindUniformSymbologyFlags(uniform: UniformHandle): void; bindBatchId(uniform: UniformHandle): void; bindUniformColorOverride(uniform: UniformHandle): void; bindUniformTransparencyOverride(uniform: UniformHandle): void; bindUniformNonLocatable(uniform: UniformHandle, ignoreNonLocatable: boolean): void; } //# sourceMappingURL=BatchUniforms.d.ts.map