Abstract
The buffer/URL of the texture file.
Optional
options: IBlobResourceOptionsConstructor options for BlobResource.
Optional
autoLoad?: booleanOptional
unpackAlignment?: 1 | 2 | 4 | 8Protected
_Internal height of the resource.
Protected
_Internal width of the resource.
Protected
bufferThe viewable buffer on the data.
The data of this resource.
Readonly
destroyedIf 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.
Protected
loadedProtected
originThe URL of the texture file.
The url of the resource
The alignment of the rows in the data.
The height of the resource.
Has been validated
The width of the resource.
Call when destroying resource, unbind any BaseTexture object before calling this method, as reference counts are maintained internally.
Destroy and don't use after this.
Loads the blob
Protected
onTrigger 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.
Upload the texture to the GPU.
Upload to the renderer
Reference to parent texture
glTexture
Static
testUsed to auto-detect the type of resource.
The source object
true
if buffer source
Resource that fetches texture data over the network and stores it in a buffer.
Memberof
PIXI