|
2 | 2 |
|
3 | 3 | ## Version 3.20.0 - Fitoria - in dev |
4 | 4 |
|
| 5 | +### Video Game Object |
| 6 | + |
| 7 | +* `WebGLRenderer.videoToTexture` is a new method that will create or update a WebGL Texture from the given Video Element. |
| 8 | +* `TextureSource.isVideo` is a new boolean property that is set when the Texture Source is backed by an HTML Video Element. |
| 9 | +* `Cache.video` is a new global cache that store loaded Video content. |
| 10 | +* `Device.Video.h264Video` has been renamed to `Device.Video.h264` to keep it in-line with the Audio Device names. |
| 11 | +* `Device.Video.hlsVideo` has been renamed to `Device.Video.hls` to keep it in-line with the Audio Device names. |
| 12 | +* `Device.Video.mp4Video` has been renamed to `Device.Video.mp4` to keep it in-line with the Audio Device names. |
| 13 | +* `Device.Video.oggVideo` has been renamed to `Device.Video.ogg` to keep it in-line with the Audio Device names. |
| 14 | +* `Device.Video.vp9Video` has been renamed to `Device.Video.vp9` to keep it in-line with the Audio Device names. |
| 15 | +* `Device.Video.webmVideo` has been renamed to `Device.Video.webm` to keep it in-line with the Audio Device names. |
| 16 | + |
5 | 17 | ### Spine Plugin |
6 | 18 |
|
7 | 19 | * The Spine runtimes have been updated to 3.8. Please note that Spine runtimes are _not_ backwards compatible. Animations exported with Spine 3.7 (or earlier) will need re-exporting with 3.8 in order to work with the new runtimes. |
@@ -84,7 +96,7 @@ In combination these updates fix issues #4732 and #4672. My thanks to @BenjaminD |
84 | 96 | * The `BasePlugin.boot` method has been removed and moved to `ScenePlugin.boot` as it's a Scene-level method only (thanks @samme) |
85 | 97 | * The `BasePlugin.scene` and `BasePlugin.systems` properties have been removed and are defined in `ScenePlugin`, as they are Scene-level properties only (thanks @samme) |
86 | 98 | * The `Tween.getValue` method has been removed. It was a legacy function from Phaser 2 and always only returned the first TweenData from the data array, ignoring any subsequent properties or targets, making it redundant. Fix #4717 (thanks @chepe263) |
87 | | -* `TextureSource.isVideo` is a new boolean property that is set when the Texture Source is backed by an HTML Video Element. |
| 99 | +* `WebGLRenderer.createTexture2D` has a new optional parameter `forceSize`, which will force the gl texture creation to use the dimensions passed to the method, instead of extracting them from the pixels object, if provided. |
88 | 100 |
|
89 | 101 | ### Bug Fixes |
90 | 102 |
|
|
0 commit comments