UNPKG

gl-tiled

Version:

A Tiled editor renderer for WebGL.

4 lines (3 loc) 265 B
import { IAssetCache } from '../IAssetCache'; export declare type TErrorEventCallback<T> = (error: ErrorEvent | null, arg: T) => void; export declare function loadImage(url: string, cache?: IAssetCache, cb?: TErrorEventCallback<TexImageSource>): TexImageSource;