image source or URL
The height of the resource.
Has been validated
The width of the resource.
Bind to a parent BaseTexture
Parent texture
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroys this texture
returns a promise when image will be loaded and processed
Called when we need to convert image into BitmapImage. Can be called multiple times, real promise is cached inside.
cached promise to fill that bitmap
Trigger a resize event
X dimension
Y dimension
Set the style, optional to override
true
is success
Unbind to a parent BaseTexture
Parent texture
Checks if source width/height was changed, resize can cause extra baseTexture update. Triggers one update in any case.
Upload the image resource to GPU.
Renderer to upload to
BaseTexture for this resource
GLTexture to use
true is success
Set cross origin based detecting the url and the crossorigin
Element to apply crossOrigin
URL to check
Used to auto-detect the type of resource.
The source object
true
if source is string or HTMLImageElement
Generated using TypeDoc
Resource type for HTMLImageElement.
PIXI