Skip to content

Commit 20cd615

Browse files
committed
Add Texture#ready and Texture#whenReady APIs
These let the user load an image file in the background in engines that support it (e.g. Oozaru) but still have a Texture object to pass around without having to wait for loading to finish.
1 parent 5f6052e commit 20cd615

File tree

3 files changed

+143
-105
lines changed

3 files changed

+143
-105
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ v6.0.0 - TBD
55
------------
66

77
* Adds `RT.Version` for getting the current API revision of the Sphere Runtime.
8+
* Adds new `Texture#ready` and `Texture#whenReady` properties, to allow a game
9+
to check if a texture is fully loaded before using it.
810

911

1012
v5.7.0 - December 15, 2021

0 commit comments

Comments
 (0)