Internal width of the resource.
Bound baseTexture, there can only be one.
If 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.
Dirty IDs for each part.
Number of elements in array.
In case BaseTextures are supplied, whether to use same resource or bind baseTexture itself.
The url of the resource
Number of texture sides to store for CubeResources.
The height of the resource.
Has been validated
The width of the resource.
Set a resource by ID
Zero-based index of resource to set
Add binding.
parent base texture
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroy this BaseImageResource.
Used from ArrayResource and CubeResource constructors.
Can be resources, image elements, canvas, etc. , length should be same as constructor length
Detect options for resources
Load all the resources simultaneously
Trigger a resize event
X dimension
Y dimension
Unset the parent base texture.
Has been updated trigger event.
Upload the resource
true is success
Used to auto-detect the type of resource.
The source object
true
if source is an array of 6 elements
Generated using TypeDoc
Internal height of the resource.