ImageBitmap or URL to use.
Optional
options: IImageBitmapResourceOptionsOptions to use.
Readonly
alphaControls texture alphaMode field
Copies from options
Default is null
, copies option from baseTexture
Load image using cross origin.
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.
Readonly
sourceThe source element.
The url of the resource
URL of the image source.
The height of the resource.
Has been validated
The width of the resource.
Bind to a parent BaseTexture
Parent texture
Set the style, optional to override
yeah, renderer!
the texture
texture instance for this webgl context
true
is successUnbind to a parent BaseTexture
Parent texture
Upload the image bitmap resource to GPU.
Renderer to upload to
BaseTexture for this resource
GLTexture to use
true is success
Static
crossSet cross origin based detecting the url and the crossorigin
Element to apply crossOrigin
URL to check
Optional
crossorigin: string | booleanCross origin value to use
Static
test
Resource type for ImageBitmap.
Memberof
PIXI