UNPKG

@figliolia/ripples

Version:

WebGL ripples based on the clever work of Pim Schreurs

11 lines (10 loc) 317 B
import type { Textures } from "./Textures"; export declare class ImageLoader { Textures: Textures; GL: WebGLRenderingContext; constructor(Textures: Textures); load(src: string, crossOrigin: string): Promise<HTMLImageElement>; private textureIze; private isDataUri; private isPowerOfTwo; }