Source buffer
Options
Constructor options for BufferResource.
OptionalunpackAlignment?: 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.
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
Buffer resource with data of typed array.
Memberof
PIXI