PIXI.IResourceMetadata
interface IResourceMetadata
Metadata for loader resource. It is very messy way to pass options for loader middlewares
Can be extended in GlobalMixins.IResourceMetadata
Summary
Properties from IResourceMetadata
PIXI.IResourceMetadata |
|
HTMLImageElement | HTMLAudioElement | HTMLVideoElement |
The element to use for loading, instead of creating one. |
string | string[] |
|
boolean |
|
Public Properties
imageMetadata: PIXI.IResourceMetadata
Used by BitmapFonts, Spritesheet and CompressedTextures as the options to used for metadata when loading the child image.
loadElement: HTMLImageElement | HTMLAudioElement | HTMLVideoElement
The element to use for loading, instead of creating one.
mimeType: string | string[]
The mime type to use for the source element of a video/audio elment. If the urls are an array, you can pass this as an array as well where each index is the mime type to use for the corresponding url index.
skipSource: boolean
Skips adding source(s) to the load element. This
is useful if you want to pass in a loadElement
that you already added load sources to.