AbstractThe buffer/URL of the texture file.
Optionaloptions: IBlobResourceOptionsConstructor options for BlobResource.
OptionalautoLoad?: booleanOptionalunpackAlignment?: 2 | 1 | 8 | 4The data of this resource.
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.
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
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.
Upload the texture to the GPU.
Upload to the renderer
Reference to parent texture
glTexture
StatictestUsed 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