Readonly
destroyedIf resource has been destroyed.
false
true
if resource is created by BaseTexture
useful for doing cleanup with BaseTexture destroy
and not cleaning up resources that were created
externally.
Readonly
sourceThe source element.
The url of the resource
The height of the resource.
Has been validated
The width of the resource.
Bind to a parent BaseTexture
Parent texture
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true
is successUnbind to a parent BaseTexture
Parent texture
Upload the texture to the GPU.
Upload to the renderer
Reference to parent texture
Optional
source: ImageSource(optional)
Static
crossStatic
testGenerated using TypeDoc
Base for all the image/canvas resources.
Memberof
PIXI