@itwin/core-frontend
Version:
iTwin.js frontend components
9 lines • 430 B
TypeScript
/** @packageDocumentation
* @module WebGL
*/
import { LinePixels } from "@itwin/core-common";
/** Map a LinePixels value to an integer in [0..9] that can be used by shaders to index into the corresponding pixel pattern.
* This is used for feature overrides, including those defined by InstancedGraphicParams.
*/
export declare function lineCodeFromLinePixels(pixels: LinePixels): number;
//# sourceMappingURL=LineCode.d.ts.map