UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

11 lines (10 loc) 337 B
/** * Parser for text-based resources (css, html, shader, plain text). Fetches the URL as text and returns * the string. Shared by the handlers whose only difference is the resource type used in error messages. * * @ignore */ export class TextParser { canParse(): boolean; load(url: any, callback: any, asset: any): void; }