Changelog
1.56.1 - 2019-04-02
Resource.fetchImage
now takes a preferImageBitmap
option to use createImageBitmap
when supported to move image decode off the main thread. This option defaults to false
.Resource.fetchImage
behavior is now identical to 1.55 and earlier.
Resource.fetchImage
back to return an Image
by default, instead of an ImageBitmap
when supported. Note that an ImageBitmap
cannot be flipped during texture upload. Instead, set flipY : true
during fetch to flip it.flipY
option in Resource.fetchImage
to false. This only has an effect when ImageBitmap is used.