Class: BlobResource

PIXI.resources.BlobResource

Resource that fetches texture data over the network and stores it in a buffer.

new PIXI.resources.BlobResource (url, autoLoad)

Name Type Attributes Description
url string

the URL of the texture file

autoLoad boolean <optional>

whether to fetch the data immediately; you can fetch it later via BlobResource#load

Extends

  • PIXI.resources.Resource

Members

buffer ViewableBuffer

The viewable buffer on the data

origin string

The URL of the texture file

Methods

load () Promise

Loads the blob

Returns:
Type Description
Promise