|
@@ -17,10 +17,10 @@
|
|
|
</p>
|
|
|
|
|
|
<p>
|
|
|
- Note that [page:Texture.flipY .flipY] and [page:Texture.premultiplyAlpha .premultiplyAlpha] properties of [page:Texture]
|
|
|
- with [link:https://developer.mozilla.org/de/docs/Web/API/ImageBitmap ImageBitmap] are ignored.
|
|
|
- You need to set the equivalent options on [link:https://developer.mozilla.org/de/docs/Web/API/ImageBitmap ImageBitmap] creation via [page:ImageBitmapLoader.setOptions] instead.
|
|
|
- Refer to [link:https://www.khronos.org/registry/webgl/specs/latest/1.0/#6.10 WebGL specification] for the detail.
|
|
|
+ Note that [page:Texture.flipY] and [page:Texture.premultiplyAlpha] with [link:https://developer.mozilla.org/de/docs/Web/API/ImageBitmap ImageBitmap] are ignored.
|
|
|
+ [link:https://developer.mozilla.org/de/docs/Web/API/ImageBitmap ImageBitmap] needs these configuration on bitmap creation
|
|
|
+ unlike regular images need them on uploading to GPU. You need to set the equivalent options via [page:ImageBitmapLoader.setOptions]
|
|
|
+ instead. Refer to [link:https://www.khronos.org/registry/webgl/specs/latest/1.0/#6.10 WebGL specification] for the detail.
|
|
|
</p>
|
|
|
|
|
|
<h2>Example</h2>
|