Optional
source: ArrayFixed<string | Resource, 6>Collection of URLs or resources to use as the sides of the cube.
Optional
options: ICubeResourceOptionsImageResource options
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.
Collection of partial baseTextures that correspond to resources.
Readonly
lengthNumber of elements in array.
The url of the resource
Static
SIDESNumber of texture sides to store for CubeResources.
The height of the resource.
Has been validated
The width of the resource.
Set a baseTexture by ID
Zero-based index of resource to set
Optional
linkBaseTexture: booleanSet a resource by ID
Zero-based index of resource to set
Add binding.
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.
Upload the resource
true is success
Static
testUsed to auto-detect the type of resource.
The source object
true
if source is an array of 6 elements
Generated using TypeDoc
Resource for a CubeTexture which contains six resources.
Memberof
PIXI