Interface IResourcePlugin<R, RO>
interface IResourcePlugin<R, RO> { new IResourcePlugin(source: any, options?: RO): R; test(source: unknown, extension: string): boolean;} Constructors
constructor
- new IResourcePlugin(source: any, options?: RO): R
Parameters
- source: any
Optional
options: RO
Returns R
Methods
test
- test(source: unknown, extension: string): boolean
Parameters
- source: unknown
- extension: string
Returns boolean
Shape of supported resource plugins
Memberof
PIXI