UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

10 lines (9 loc) 392 B
import type { GlPrecision } from '../const'; interface EnsurePrecisionOptions { requestedVertexPrecision: GlPrecision; requestedFragmentPrecision: GlPrecision; maxSupportedVertexPrecision: GlPrecision; maxSupportedFragmentPrecision: GlPrecision; } export declare function ensurePrecision(src: string, options: EnsurePrecisionOptions, isFragment?: boolean): string; export {};