UNPKG

modern-canvas

Version:

A JavaScript WebGL rendering engine. only the ESM.

9 lines (8 loc) 335 B
import type { ColorValue } from '../../../core'; import { Color } from '../../../core'; import { Texture2D } from './Texture2D'; export declare class ColorTexture extends Texture2D { protected static _cached: Map<string, ColorTexture>; static get(value: ColorValue): ColorTexture; constructor(value: ColorValue | Color); }