• Get a single texture or sprite sheet from the cache.

    Parameters

    • src: string

      The texture path to load. This may be a standard texture path or a "virtual texture" beginning with the "#" character that is retrieved from canvas.sceneTextures.

    Returns null | Texture<Resource> | Spritesheet<ISpritesheetData>

    A texture, a sprite sheet or null if not found in cache.