TextureLoader

Methods

(inner) load(url, onLoad, onProgress, onError) → {THREE.Texture}

Source:

Load image texture

Example
PANOLENS.TextureLoader.load( IMAGE_URL )
Parameters:
Name Type Description
url string

An image url

onLoad function

On load callback

onProgress function

In progress callback

onError function

On error callback

Returns:
  • Image texture
Type
THREE.Texture