Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IResourceProvider

Interface fo resource providers which map from an asset's uri (file name) to the actual url.

Hierarchy

  • IResourceProvider

Implemented by

Index

Methods

Methods

requestURL

  • requestURL(uri: string, identifier?: string): Promise<string>
  • Called during the loading process. For each asset, the actual url is being requested by calling this function.

    Parameters

    • uri: string

      The idenfier of the asset which usually is it's file name.

    • Optional identifier: string

    Returns Promise<string>

Generated using TypeDoc