/** * Copyright (c) 2019-2022 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { ValueCell } from '../../mol-util/value-cell.js'; import { Vec2, Vec3, Vec4 } from '../../mol-math/linear-algebra.js'; import { TextureImage } from '../../mol-gl/renderable/util.js'; import { Color } from '../../mol-util/color/index.js'; import { Texture } from '../../mol-gl/webgl/texture.js'; export type OverpaintType = 'instance' | 'groupInstance' | 'volumeInstance'; export type OverpaintData = { tOverpaint: ValueCell>; uOverpaintTexDim: ValueCell; dOverpaint: ValueCell; tOverpaintGrid: ValueCell; uOverpaintGridDim: ValueCell; uOverpaintGridTransform: ValueCell; dOverpaintType: ValueCell; uOverpaintStrength: ValueCell; }; export declare function applyOverpaintColor(array: Uint8Array, start: number, end: number, color: Color): boolean; export declare function clearOverpaint(array: Uint8Array, start: number, end: number): boolean; export declare function createOverpaint(count: number, type: OverpaintType, overpaintData?: OverpaintData): OverpaintData; export declare function createEmptyOverpaint(overpaintData?: OverpaintData): OverpaintData;