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.
Clean up anything, this happens when destroying is ready.
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
Has been updated trigger event
Uploads the texture or returns false if it cant for some reason. Override this.
yeah, renderer!
the texture
texture instance for this webgl context
true is success
Abstract, used to auto-detect resource type
Generated using TypeDoc
Base resource class for textures that manages validation and uploading, depending on its type.
Uploading of a base texture to the GPU is required.
PIXI