Skip to content

v3.0.0-beta10

Pre-release
Pre-release
Compare
Choose a tag to compare
@wouterlucas wouterlucas released this 08 Aug 20:48
· 89 commits to main since this release

Warning! Breaking changes w.r.t. Text Renderer

Due to the extensive refactor of the text renderer the following aspects have changed:

  • Changes of how fonts are loaded, see instructions/examples for new loadFont API
  • Removal of previously used Text Renderer / Font Classes and TS definitions
  • Removal of contain property in favor of maxWidth and maxHeight properties

Warning changes in behaviour

Previously texture that couldn't be uploaded due to doNotExceedCriticalThreshold: true would be re-added in the queue, resulting in "stuck" textures.

This change will put textures to failed if they can't be uploaded due to doNotExceedCriticalThreshold: true. This will allow the engine/application to handle the failure and re-attempt to upload the texture (or apply fallback logic in the app).

The setting doNotExceedCriticalThreshold should only be used when the memory is extremely tight, otherwise setting it to false and a lower threshold to have a little headroom will mimick the same behaviour as Lightning 2.

What's Changed

Full Changelog: v3.0.0-beta9...v3.0.0-beta10