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.
Destroy this BaseImageResource
This can be overridden to start preloading a resource or do any other prepare step.
Handle the validate event
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 texture to the GPU.
Upload to the renderer
Reference to parent texture
true is success
Set cross origin based detecting the url and the crossorigin
Element to apply crossOrigin
URL to check
Abstract, used to auto-detect resource type
Generated using TypeDoc
Base for all the image/canvas resources
PIXI