API Documentation for: 0.6.0
Show:

BinaryLoader Class

Defined in: BinaryLoader:41
Module: PreloadJS

A loader for binary files. This is useful for loading web audio, or content that requires an ArrayBuffer.

Constructor

BinaryLoader

(
  • loadItem
)

Defined in BinaryLoader:41

Parameters:

Item Index

Methods

Properties

Methods

canLoadItem

(
  • item
)
Boolean static

Defined in canLoadItem:56

Determines if the loader can load a specific item. This loader can only load items that are of type BINARY

Parameters:

  • item LoadItem | Object

    The LoadItem that a LoadQueue is trying to load.

Returns:

Boolean:

Whether the loader can load the item.

Properties

_updateXHR

Unknown private

Defined in _updateXHR:69

Before the item loads, set the response type to "arraybuffer"

Sub-properties: