The crossOrigin value to use for images when preferCreateImageBitmap
is false
.
'anonymous'
When set to true
, loading and decoding images will happen with createImageBitmap
,
otherwise it will use new Image()
.
true
When set to true
, loading and decoding images will happen with Worker thread,
if available on the browser. This is much more performant as network requests
and decoding can be expensive on the CPU. However, not all environments support
Workers, in some cases it can be helpful to disable by setting to false
.
true
Generated using TypeDoc
Extensible preferences that can be used, for instance, when configuring loaders.
Since
7.2.0
Memberof
PIXI