AbstractOptionaloptions: ISizeOptions to for Resource constructor
Bound baseTexture, there can only be one.
ReadonlydestroyedIf resource has been destroyed.
true if resource is created by BaseTexture
useful for doing cleanup with BaseTexture destroy
and not cleaning up resources that were created
externally.
ReadonlyitemDirty IDs for each part.
ReadonlyitemsCollection of partial baseTextures that correspond to resources.
ReadonlylengthNumber of elements in array.
The url of the resource
The height of the resource.
Has been validated
The width of the resource.
AbstractaddSet a baseTexture by ID
Zero-based index of resource to set
Set a resource by ID
Zero-based index of resource to set
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroy this BaseImageResource.
Trigger a resize event
X dimension
Y dimension
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true is successHas been updated trigger event.
AbstractuploadUploads the texture or returns false if it cant for some reason. Override this.
yeah, renderer!
the texture
texture instance for this webgl context
StatictestAbstract, used to auto-detect resource type.
The source object
Optional_extension: stringThe extension of source, if set
Resource that can manage several resource (items) inside. All resources need to have the same pixel size. Parent class for CubeResource and ArrayResource
Memberof
PIXI