Abstract
Optional
options: ISizeOptions to for Resource constructor
Bound baseTexture, there can only be one.
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
itemDirty IDs for each part.
Readonly
itemsCollection of partial baseTextures that correspond to resources.
Readonly
lengthNumber of elements in array.
The url of the resource
The height of the resource.
Has been validated
The width of the resource.
Abstract
addSet a baseTexture by ID
Zero-based index of resource to set
Set a resource by ID
Zero-based index of resource to set
Set the parent base texture.
Load all the resources simultaneously
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true
is successUnset the parent base texture.
Abstract
uploadUploads the texture or returns false if it cant for some reason. Override this.
yeah, renderer!
the texture
texture instance for this webgl context
Static
testGenerated using TypeDoc
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